ActuallyAdditions/src/main/java/ellpeck/actuallyadditions/tile/TileEntityGiantChest.java

32 lines
665 B
Java
Raw Normal View History

2015-03-07 12:51:28 +01:00
package ellpeck.actuallyadditions.tile;
import net.minecraft.item.ItemStack;
public class TileEntityGiantChest extends TileEntityInventoryBase{
public TileEntityGiantChest(){
2015-04-19 01:50:02 +02:00
super(9*13, "giantChest");
}
@Override
public boolean canUpdate(){
return false;
}
@Override
public boolean isItemValidForSlot(int i, ItemStack stack){
return true;
}
@Override
public boolean canInsertItem(int slot, ItemStack stack, int side){
return this.isItemValidForSlot(slot, stack);
}
@Override
public boolean canExtractItem(int slot, ItemStack stack, int side){
return true;
}
}