public interface IRecipeTransferRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipeTransferHandler(java.lang.Class<? extends net.minecraft.inventory.Container> containerClass,
java.lang.String recipeCategoryUid,
int recipeSlotStart,
int recipeSlotCount,
int inventorySlotStart,
int inventorySlotCount)
Basic method for adding a recipe transfer handler.
|
void |
addRecipeTransferHandler(IRecipeTransferHandler recipeTransferHandler)
Complete control over recipe transfer.
|
void |
addRecipeTransferHandler(IRecipeTransferInfo recipeTransferInfo)
Advanced method for adding a recipe transfer handler.
|
void addRecipeTransferHandler(@Nonnull
java.lang.Class<? extends net.minecraft.inventory.Container> containerClass,
@Nonnull
java.lang.String recipeCategoryUid,
int recipeSlotStart,
int recipeSlotCount,
int inventorySlotStart,
int inventorySlotCount)
containerClass - the class of the container that this recipe transfer handler is forrecipeCategoryUid - the recipe categories that this container can userecipeSlotStart - the first slot for recipe inputsrecipeSlotCount - the number of slots for recipe inputsinventorySlotStart - the first slot of the available inventory (usually player inventory)inventorySlotCount - the number of slots of the available inventoryvoid addRecipeTransferHandler(@Nonnull
IRecipeTransferInfo recipeTransferInfo)
void addRecipeTransferHandler(@Nonnull
IRecipeTransferHandler recipeTransferHandler)