GUI Rendering and various fixes

This commit is contained in:
Sebastian Hartte
2020-06-07 03:29:57 +02:00
parent 97f04922b9
commit 46b1d1ffdc
72 changed files with 650 additions and 552 deletions
@@ -50,7 +50,7 @@ public class SlotPatternTerm extends SlotCraftingTerm
this.groupNum = groupNumber;
}
public AppEngPacket getRequest( final boolean shift ) throws IOException
public AppEngPacket getRequest( final boolean shift )
{
return new PacketPatternSlot( this
.getPattern(), Api.INSTANCE.storage().getStorageChannel( IItemStorageChannel.class ).createStack( this.getStack() ), shift );
@@ -27,9 +27,9 @@ import net.minecraftforge.items.IItemHandler;
public class SlotPlayerInv extends AppEngSlot
{
public SlotPlayerInv( final IItemHandler par1iInventory, final int par2, final int par3, final int par4 )
public SlotPlayerInv( final IItemHandler par1iInventory, final int idx, final int x, final int y )
{
super( par1iInventory, par2, par3, par4 );
super( par1iInventory, idx, x, y );
this.setPlayerSide( true );
}