mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-26 14:41:42 +02:00
b00e214217
Go suck a dick now.
40 lines
1 KiB
Java
40 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://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2016 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.mod.tile;
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.util.EnumFacing;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
public class TileEntityGiantChest extends TileEntityInventoryBase{
|
|
|
|
public TileEntityGiantChest(){
|
|
super(9*13, "giantChest");
|
|
}
|
|
|
|
@Override
|
|
public boolean canInsertItem(int slot, @Nonnull ItemStack stack, @Nonnull EnumFacing side){
|
|
return this.isItemValidForSlot(slot, stack);
|
|
}
|
|
|
|
@Override
|
|
public boolean isItemValidForSlot(int i, @Nonnull ItemStack stack){
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean canExtractItem(int slot, @Nonnull ItemStack stack, @Nonnull EnumFacing side){
|
|
return true;
|
|
}
|
|
}
|