reformatted all src files (#141)

This commit is contained in:
YoungOnion
2022-09-17 05:08:02 -06:00
committed by GitHub
parent 3328bfcda2
commit 9011273229
1056 changed files with 88127 additions and 110597 deletions
@@ -22,33 +22,27 @@ package appeng.container.slot;
import net.minecraftforge.items.IItemHandler;
public class SlotFakeBlacklist extends SlotFakeTypeOnly
{
public class SlotFakeBlacklist extends SlotFakeTypeOnly {
public SlotFakeBlacklist( final IItemHandler inv, final int idx, final int x, final int y )
{
super( inv, idx, x, y );
}
public SlotFakeBlacklist(final IItemHandler inv, final int idx, final int x, final int y) {
super(inv, idx, x, y);
}
@Override
public float getOpacityOfIcon()
{
return 0.8f;
}
@Override
public float getOpacityOfIcon() {
return 0.8f;
}
@Override
public boolean renderIconWithItem()
{
return true;
}
@Override
public boolean renderIconWithItem() {
return true;
}
@Override
public int getIcon()
{
if( this.getHasStack() )
{
return this.getStack().getCount() > 0 ? 16 + 14 : 14;
}
return -1;
}
@Override
public int getIcon() {
if (this.getHasStack()) {
return this.getStack().getCount() > 0 ? 16 + 14 : 14;
}
return -1;
}
}