pick 97420a31d The big reformat of 2020

This commit is contained in:
yueh
2020-06-16 21:41:28 +02:00
parent 5304b3febe
commit 5225ea426b
2252 changed files with 95466 additions and 118582 deletions
@@ -18,50 +18,41 @@
package appeng.client.me;
import net.minecraft.item.ItemStack;
import appeng.api.storage.data.IAEItemStack;
public class InternalSlotME {
public class InternalSlotME
{
private final int offset;
private final int xPos;
private final int yPos;
private final ItemRepo repo;
private final int offset;
private final int xPos;
private final int yPos;
private final ItemRepo repo;
public InternalSlotME(final ItemRepo def, final int offset, final int displayX, final int displayY) {
this.repo = def;
this.offset = offset;
this.xPos = displayX;
this.yPos = displayY;
}
public InternalSlotME( final ItemRepo def, final int offset, final int displayX, final int displayY )
{
this.repo = def;
this.offset = offset;
this.xPos = displayX;
this.yPos = displayY;
}
ItemStack getStack() {
return this.getAEStack() == null ? ItemStack.EMPTY : this.getAEStack().asItemStackRepresentation();
}
ItemStack getStack()
{
return this.getAEStack() == null ? ItemStack.EMPTY : this.getAEStack().asItemStackRepresentation();
}
IAEItemStack getAEStack() {
return this.repo.getReferenceItem(this.offset);
}
IAEItemStack getAEStack()
{
return this.repo.getReferenceItem( this.offset );
}
boolean hasPower() {
return this.repo.hasPower();
}
boolean hasPower()
{
return this.repo.hasPower();
}
int getxPosition() {
return this.xPos;
}
int getxPosition()
{
return this.xPos;
}
int getyPosition()
{
return this.yPos;
}
int getyPosition() {
return this.yPos;
}
}