ActuallyAdditions/src/main/java/ellpeck/actuallyadditions/tile/TileEntityGiantChest.java
2015-10-03 10:19:41 +02:00

42 lines
1 KiB
Java

/*
* This file ("TileEntityGiantChest.java") is part of the Actually Additions Mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2015 Ellpeck
*/
package ellpeck.actuallyadditions.tile;
import net.minecraft.item.ItemStack;
public class TileEntityGiantChest extends TileEntityInventoryBase{
public TileEntityGiantChest(){
super(9*13, "giantChest");
}
@Override
public boolean canUpdate(){
return false;
}
@Override
public boolean canInsertItem(int slot, ItemStack stack, int side){
return this.isItemValidForSlot(slot, stack);
}
@Override
public boolean isItemValidForSlot(int i, ItemStack stack){
return true;
}
@Override
public boolean canExtractItem(int slot, ItemStack stack, int side){
return true;
}
}