pick 97420a31d The big reformat of 2020
This commit is contained in:
@@ -18,37 +18,29 @@
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user