Fix item stack rendering and consolidate it for fluids+items.

This commit is contained in:
Sebastian Hartte
2020-06-14 14:19:15 +02:00
parent f5a56682dd
commit 048c2d0b46
3 changed files with 31 additions and 51 deletions
@@ -718,17 +718,11 @@ public abstract class AEBaseGui<T extends AEBaseContainer> extends ContainerScre
try
{
// FIXME Probably not required this.zLevel = 100.0F;
this.itemRenderer.zLevel = 100.0F;
if( !this.isPowered() )
{
fill( s.xPos, s.yPos, 16 + s.xPos, 16 + s.yPos, 0x66111111 );
}
// FIXME Probably not required this.zLevel = 0.0F;
this.itemRenderer.zLevel = 0.0F;
// Annoying but easier than trying to splice into render item
super.drawSlot( new Size1Slot( (SlotME) s ) );