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

38 lines
992 B
Java
Raw Normal View History

2015-08-29 14:33:25 +02:00
/*
* 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
2016-01-03 16:05:51 +01:00
* http://ellpeck.de/actaddlicense/
2015-08-29 14:33:25 +02:00
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2016-01-03 16:05:51 +01:00
* © 2016 Ellpeck
2015-08-29 14:33:25 +02:00
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.tile;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
public class TileEntityGiantChest extends TileEntityInventoryBase{
public TileEntityGiantChest(){
2015-04-19 01:50:02 +02:00
super(9*13, "giantChest");
}
@Override
public boolean canInsertItem(int slot, ItemStack stack, EnumFacing side){
2015-10-03 10:19:40 +02:00
return this.isItemValidForSlot(slot, stack);
}
@Override
2015-10-03 10:19:40 +02:00
public boolean isItemValidForSlot(int i, ItemStack stack){
return true;
}
@Override
public boolean canExtractItem(int slot, ItemStack stack, EnumFacing side){
return true;
}
}