public class PositionedStack
extends java.lang.Object
ItemStack with position.
Mainly used in the recipe handlers.| Modifier and Type | Field and Description |
|---|---|
ItemStack |
item |
ItemStack[] |
items |
int |
relx |
int |
rely |
| Constructor and Description |
|---|
PositionedStack(java.lang.Object object,
int x,
int y) |
PositionedStack(java.lang.Object object,
int x,
int y,
boolean genPerms) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Item ingred) |
boolean |
contains(ItemStack ingredient) |
PositionedStack |
copy() |
void |
generatePermutations() |
void |
setMaxSize(int i) |
void |
setPermutationToRender(int index) |
public int relx
public int rely
public ItemStack[] items
public ItemStack item
public PositionedStack(java.lang.Object object,
int x,
int y,
boolean genPerms)
public PositionedStack(java.lang.Object object,
int x,
int y)
public void generatePermutations()
public void setMaxSize(int i)
public PositionedStack copy()
public void setPermutationToRender(int index)
public boolean contains(ItemStack ingredient)
public boolean contains(Item ingred)