public class CraftingContainerInfoWrapper<T extends net.minecraft.inventory.container.RecipeBookContainer<?>> extends java.lang.Object implements ContainerInfo<T>
| Constructor and Description |
|---|
CraftingContainerInfoWrapper(java.lang.Class<T> containerClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCraftingSlots(T container) |
static <R extends net.minecraft.inventory.container.RecipeBookContainer<?>> |
create(java.lang.Class<R> containerClass) |
java.lang.Class<? extends net.minecraft.inventory.container.Container> |
getContainerClass() |
int |
getCraftingHeight(T container) |
int |
getCraftingResultSlotIndex(T container) |
int |
getCraftingWidth(T container) |
void |
populateRecipeFinder(T container,
RecipeFinder var1) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDumpHandler, getGridCleanHandler, getGridStacks, getInventoryStacks, getRecipeFinderPopulator, getStack, markDirtypublic CraftingContainerInfoWrapper(java.lang.Class<T> containerClass)
public static <R extends net.minecraft.inventory.container.RecipeBookContainer<?>> ContainerInfo<R> create(java.lang.Class<R> containerClass)
public java.lang.Class<? extends net.minecraft.inventory.container.Container> getContainerClass()
getContainerClass in interface ContainerInfo<T extends net.minecraft.inventory.container.RecipeBookContainer<?>>public int getCraftingResultSlotIndex(T container)
getCraftingResultSlotIndex in interface ContainerInfo<T extends net.minecraft.inventory.container.RecipeBookContainer<?>>public int getCraftingWidth(T container)
getCraftingWidth in interface ContainerInfo<T extends net.minecraft.inventory.container.RecipeBookContainer<?>>public int getCraftingHeight(T container)
getCraftingHeight in interface ContainerInfo<T extends net.minecraft.inventory.container.RecipeBookContainer<?>>public void clearCraftingSlots(T container)
clearCraftingSlots in interface ContainerInfo<T extends net.minecraft.inventory.container.RecipeBookContainer<?>>public void populateRecipeFinder(T container, RecipeFinder var1)
populateRecipeFinder in interface ContainerInfo<T extends net.minecraft.inventory.container.RecipeBookContainer<?>>