Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,19 +18,16 @@
package appeng.container.slot;
import net.minecraft.inventory.IInventory;
public class SlotFakeBlacklist extends SlotFakeTypeOnly
{
public SlotFakeBlacklist(IInventory inv, int idx, int x, int y) {
super( inv, idx, x, y );
}
@Override
public boolean renderIconWithItem()
public SlotFakeBlacklist( IInventory inv, int idx, int x, int y )
{
return true;
super( inv, idx, x, y );
}
@Override
@@ -39,14 +36,19 @@ public class SlotFakeBlacklist extends SlotFakeTypeOnly
return 0.8f;
}
@Override
public boolean renderIconWithItem()
{
return true;
}
@Override
public int getIcon()
{
if ( this.getHasStack() )
if( this.getHasStack() )
{
return this.getStack().stackSize > 0 ? 16 + 14 : 14;
}
return -1;
}
}