public class BasicRecipeTransferInfo extends java.lang.Object implements IRecipeTransferInfo
| Constructor and Description |
|---|
BasicRecipeTransferInfo(java.lang.Class<? extends net.minecraft.inventory.Container> containerClass,
java.lang.String recipeCategoryUid,
int recipeSlotStart,
int recipeSlotCount,
int inventorySlotStart,
int inventorySlotCount) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainerClass()
Return the container class that this recipe transfer helper supports
|
java.util.List<net.minecraft.inventory.Slot> |
getInventorySlots(net.minecraft.inventory.Container container)
Return a list of slots that the transfer can use to get items for crafting, or place leftover items.
|
java.lang.String |
getRecipeCategoryUid()
Return the recipe category that this container can handle.
|
java.util.List<net.minecraft.inventory.Slot> |
getRecipeSlots(net.minecraft.inventory.Container container)
Return a list of slots for the recipe area.
|
public BasicRecipeTransferInfo(java.lang.Class<? extends net.minecraft.inventory.Container> containerClass,
java.lang.String recipeCategoryUid,
int recipeSlotStart,
int recipeSlotCount,
int inventorySlotStart,
int inventorySlotCount)
public java.lang.Class<? extends net.minecraft.inventory.Container> getContainerClass()
IRecipeTransferInfogetContainerClass in interface IRecipeTransferInfopublic java.lang.String getRecipeCategoryUid()
IRecipeTransferInfogetRecipeCategoryUid in interface IRecipeTransferInfopublic java.util.List<net.minecraft.inventory.Slot> getRecipeSlots(net.minecraft.inventory.Container container)
IRecipeTransferInfogetRecipeSlots in interface IRecipeTransferInfopublic java.util.List<net.minecraft.inventory.Slot> getInventorySlots(net.minecraft.inventory.Container container)
IRecipeTransferInfogetInventorySlots in interface IRecipeTransferInfo