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
|
|
|
|
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
|
*
|
|
|
|
|
* <EFBFBD> 2015 Ellpeck
|
|
|
|
|
*/
|
|
|
|
|
|
2015-03-07 12:51:28 +01:00
|
|
|
|
package ellpeck.actuallyadditions.tile;
|
2015-02-20 22:45:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
|
|
public class TileEntityGiantChest extends TileEntityInventoryBase{
|
|
|
|
|
|
|
|
|
|
public TileEntityGiantChest(){
|
2015-04-19 01:50:02 +02:00
|
|
|
|
super(9*13, "giantChest");
|
2015-02-20 22:45:33 +01:00
|
|
|
|
}
|
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
|
@Override
|
|
|
|
|
public boolean canUpdate(){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2015-10-03 10:19:40 +02:00
|
|
|
|
public boolean canInsertItem(int slot, ItemStack stack, int side){
|
|
|
|
|
return this.isItemValidForSlot(slot, stack);
|
2015-03-07 02:23:31 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2015-10-03 10:19:40 +02:00
|
|
|
|
public boolean isItemValidForSlot(int i, ItemStack stack){
|
|
|
|
|
return true;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean canExtractItem(int slot, ItemStack stack, int side){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2015-02-20 22:45:33 +01:00
|
|
|
|
}
|