Applied-Energistics-2-tiler.../client/me/InternalSlotME.java
2013-12-27 16:59:59 -06:00

31 lines
586 B
Java

package appeng.client.me;
import net.minecraft.item.ItemStack;
import appeng.api.storage.data.IAEItemStack;
public class InternalSlotME
{
private final ItemRepo repo;
public int offset;
public int xPos;
public int yPos;
public InternalSlotME(ItemRepo def, int offset, int displayX, int displayY) {
this.repo = def;
this.offset = offset;
this.xPos = displayX;
this.yPos = displayY;
}
public ItemStack getStack()
{
return repo.getItem( offset );
}
public IAEItemStack getAEStack()
{
return repo.getRefrenceItem( offset );
}
}