added stuff

- storage proxy block: reads an another inventory into system
- right clicking to push 1 item works
- when take() returns 0, don't give any item stack to the player
- tweaked energy usage
This commit is contained in:
Raoul Van den Berge
2015-12-15 21:58:21 +01:00
parent 62cca754a3
commit b47dc933c8
18 changed files with 326 additions and 121 deletions

View File

@@ -0,0 +1,17 @@
package storagecraft.block;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import storagecraft.tile.TileStorageProxy;
public class BlockStorageProxy extends BlockSC implements ITileEntityProvider {
public BlockStorageProxy() {
super("storageProxy");
}
@Override
public TileEntity createNewTileEntity(World world, int meta) {
return new TileStorageProxy();
}
}