for (int i = 0; i < 2; i++)
{
for (int j = 0; j < 4; j++)
{
addSlotToContainer(new SlotFake(inventoryTileEntity, j + i * 4, 53 + j * 18, i * 18 + 21)
{
public boolean isItemValid(ItemStack itemstack)
{
return tileentity.isItemValidForSlot(0, itemstack);
}