public class VillagerInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> extends java.lang.Object implements IInventory_v1_7<I,S>
| Constructor and Description |
|---|
VillagerInventory_v1_7(ARecipeRegistry<I,S> recipeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
VillagerRecipe<I,S> |
getCurrentRecipe() |
int |
getCurrentRecipeIndex() |
ARecipeRegistry<I,S> |
getRecipeRegistry() |
int |
getSize() |
S |
getStack(int slotId) |
S[] |
getStacks() |
void |
onUpdate() |
void |
setCurrentRecipeIndex(int currentRecipeIndex) |
void |
setStack(int slotId,
S stack) |
S |
split(int slotId,
int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmaxStackCountpublic VillagerInventory_v1_7(ARecipeRegistry<I,S> recipeRegistry)
public ARecipeRegistry<I,S> getRecipeRegistry()
public S[] getStacks()
public int getCurrentRecipeIndex()
public void setCurrentRecipeIndex(int currentRecipeIndex)
public VillagerRecipe<I,S> getCurrentRecipe()
public S split(int slotId, int count)
public int getSize()
public S getStack(int slotId)
public void setStack(int slotId,
S stack)