Compare commits
6 Commits
73b8be0930
...
1.3.1
Author | SHA1 | Date | |
---|---|---|---|
b6bb6565a8 | |||
8cebb278b8 | |||
f17519a547 | |||
8be2f2dc31 | |||
091efb900a | |||
824c84e329 |
53
README.md
53
README.md
@ -1,38 +1,43 @@
|
||||
# Survival Fabric
|
||||
|
||||
|
||||
# 
|
||||
|
||||
This mod is FAR FROM FINISHED, and initially just created for our private Survival Server.
|
||||
As a challenge I'm trying to make it as user-friendly as possible. (It ain't there yet tho ;) )
|
||||
## Current feature-set
|
||||
|
||||
### Features
|
||||
- Custom join message
|
||||
- Custom quit message
|
||||
- Custom chat message
|
||||
- Tab list dimension indicator
|
||||
- Custom join message
|
||||

|
||||
- Custom quit message
|
||||

|
||||
- Custom chat message
|
||||

|
||||
- Tab list dimension indicator
|
||||

|
||||

|
||||

|
||||

|
||||
- Config
|
||||
- Configurable messages
|
||||
- Feature toggle
|
||||
- Version "control"
|
||||
- Shared Ender Chest
|
||||
- Shared EC Access control (via config)
|
||||
- Vein miner
|
||||

|
||||
|
||||
|
||||
### Commands
|
||||
- /spectator | Essentially server-side free-cam, you get put in spectator and are able to fly around, once you use the command again you get put back to where you were.
|
||||
|
||||
## Currently working on v1.3.0
|
||||
|
||||
### Features
|
||||
- [x] Config
|
||||
- [x] Configurable messages
|
||||
- [x] Feature toggle
|
||||
- [x] Version "control"
|
||||
- [x] Shared Ender Chest
|
||||
- [x] Shared EC Access control (via config)
|
||||
- [x] Vein miner
|
||||
- [ ] Telekinesis
|
||||
|
||||
### Commands
|
||||
|
||||
- [x] /slimechunk (/sc) | See if you're currently in a slimechunk
|
||||
- /slimechunk (/sc) | See if you're currently in a slimechunk
|
||||
|
||||
### Misc
|
||||
- [x] Updated icon
|
||||
- Updated icon
|
||||
|
||||
## Features to come
|
||||
|
||||
For now there are no more feautures!
|
||||
Be sure to give your idea by [opening an issue](https://git.hak.wtf/hkuijlman/SurvivalFabric/issues/new) wit the label Feature Request
|
||||
- Telekinesis
|
||||
|
||||
Other than that no more features!
|
||||
Be sure to give your idea by [opening an issue](https://git.hak.wtf/hkuijlman/SurvivalFabric/issues/new) with the label Feature Request
|
@ -4,14 +4,14 @@ org.gradle.parallel=true
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.21.4
|
||||
yarn_mappings=1.21.4+build.8
|
||||
minecraft_version=1.21.5
|
||||
yarn_mappings=1.21.5+build.1
|
||||
loader_version=0.16.10
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.3.0
|
||||
mod_version=1.3.1
|
||||
maven_group=wtf.hak.survivalfabric
|
||||
archives_base_name=survivalfabric
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.119.0+1.21.4
|
||||
fabric_version=0.119.5+1.21.5
|
@ -5,9 +5,7 @@ import net.fabricmc.api.ModInitializer;
|
||||
import net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback;
|
||||
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents;
|
||||
import net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import wtf.hak.survivalfabric.commands.ReloadConfigCommand;
|
||||
|
@ -1,12 +1,11 @@
|
||||
package wtf.hak.survivalfabric.sharedenderchest;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.inventory.Inventories;
|
||||
import net.minecraft.inventory.Inventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.collection.DefaultedList;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
public class SharedInventory implements Inventory {
|
||||
|
||||
private final DefaultedList<ItemStack> stacks;
|
||||
@ -19,28 +18,6 @@ public class SharedInventory implements Inventory {
|
||||
this.stacks = dl;
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
public void onClose(PlayerEntity player) {
|
||||
Inventory.super.onClose(player);
|
||||
EnderChestBlockEntity blockEntity = enderChests.remove(player);
|
||||
if (blockEntity != null)
|
||||
blockEntity.onClose(player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onOpen(PlayerEntity player) {
|
||||
Inventory.super.onOpen(player);
|
||||
EnderChestBlockEntity blockEntity = enderChests.get(player);
|
||||
if (blockEntity != null)
|
||||
blockEntity.onOpen(player);
|
||||
}
|
||||
|
||||
public void setBlockEntity(PlayerEntity player, EnderChestBlockEntity be) {
|
||||
enderChests.put(player, be);
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
public DefaultedList<ItemStack> getList(DefaultedList<ItemStack> dl) {
|
||||
dl = stacks;
|
||||
@ -54,7 +31,7 @@ public class SharedInventory implements Inventory {
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
Iterator<ItemStack> var1 = this.stacks.iterator();
|
||||
var var1 = this.stacks.iterator();
|
||||
|
||||
ItemStack itemStack_1;
|
||||
do {
|
||||
@ -62,7 +39,7 @@ public class SharedInventory implements Inventory {
|
||||
return true;
|
||||
}
|
||||
|
||||
itemStack_1 = (ItemStack)var1.next();
|
||||
itemStack_1 = var1.next();
|
||||
} while(itemStack_1.isEmpty());
|
||||
|
||||
return false;
|
||||
@ -76,10 +53,6 @@ public class SharedInventory implements Inventory {
|
||||
@Override
|
||||
public ItemStack removeStack(int int_1, int int_2) {
|
||||
ItemStack itemStack_1 = Inventories.splitStack(this.stacks, int_1, int_2);
|
||||
if (!itemStack_1.isEmpty()) {
|
||||
//this.container.onContentChanged(this);
|
||||
}
|
||||
|
||||
return itemStack_1;
|
||||
}
|
||||
|
||||
@ -91,7 +64,6 @@ public class SharedInventory implements Inventory {
|
||||
@Override
|
||||
public void setStack(int i, ItemStack itemStack) {
|
||||
this.stacks.set(i, itemStack);
|
||||
//this.container.onContentChanged(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user