This commit is contained in:
PrototypeTrousers
2022-07-20 22:24:55 -03:00
parent 346f5aeaac
commit 9fdf0345b3
3 changed files with 19 additions and 2 deletions
@@ -20,6 +20,7 @@ package appeng.container.implementations;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -50,7 +51,7 @@ public class ContainerNetworkTool extends AEBaseContainer
for( int x = 0; x < 3; x++ )
{
this.addSlotToContainer( ( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, te
.getInventory(), y * 3 + x, 80 - 18 + x * 18, 37 - 18 + y * 18, this.getInventoryPlayer() ) ) );
.getInventory(), y * 3 + x, 80 - 18 + x * 18, 37 - 18 + y * 18, this.getInventoryPlayer() ) ) );
}
}
@@ -97,6 +98,13 @@ public class ContainerNetworkTool extends AEBaseContainer
super.detectAndSendChanges();
}
@Override
public void onSlotChange( Slot s )
{
super.detectAndSendChanges();
}
public boolean isFacadeMode()
{
return this.facadeMode;