Highly incomplete code. First work on porting to 1.12. Still need to rework a LOT of things.

This commit is contained in:
Gunther De Wachter
2017-07-06 01:57:19 +02:00
parent d67f97cd16
commit fbcf8c4705
127 changed files with 850 additions and 425 deletions
@@ -293,20 +293,20 @@ public class TileInscriber extends AENetworkPowerTile implements IGridTickable,
// :P
}
}
@Override
public boolean canInsertItem( final int slotIndex, final ItemStack insertingItem, final EnumFacing side )
{
if( !this.isItemValidForSlot( slotIndex, insertingItem ) )
{
return false;
}
if( !getStackInSlot( slotIndex ).isEmpty() )
{
return false;
}
return true;
}
//
// @Override
// public boolean canInsertItem( final int slotIndex, final ItemStack insertingItem, final EnumFacing side )
// {
// if( !this.isItemValidForSlot( slotIndex, insertingItem ) )
// {
// return false;
// }
// if( !getStackInSlot( slotIndex ).isEmpty() )
// {
// return false;
// }
// return true;
// }
@Override
public boolean canExtractItem( final int slotIndex, final ItemStack extractedItem, final EnumFacing side )
@@ -30,7 +30,7 @@ public class CableBusTESR extends TileEntitySpecialRenderer<AEBaseTile>
{
@Override
public void renderTileEntityAt( AEBaseTile te, double x, double y, double z, float partialTicks, int destroyStage )
public void render( AEBaseTile te, double x, double y, double z, float partialTicks, int destroyStage, float p_render_10_ )
{
if( !( te instanceof TileCableBusTESR ) )