public interface IRecipeTransferRegistration
IModPlugin.registerRecipeTransferHandlers(mezz.jei.api.registration.IRecipeTransferRegistration)
.Modifier and Type | Method and Description |
---|---|
<C extends net.minecraft.inventory.container.Container> |
addRecipeTransferHandler(java.lang.Class<C> containerClass,
net.minecraft.util.ResourceLocation recipeCategoryUid,
int recipeSlotStart,
int recipeSlotCount,
int inventorySlotStart,
int inventorySlotCount)
Basic method for adding a recipe transfer handler.
|
void |
addRecipeTransferHandler(IRecipeTransferHandler<?> recipeTransferHandler,
net.minecraft.util.ResourceLocation recipeCategoryUid)
Complete control over recipe transfer.
|
<C extends net.minecraft.inventory.container.Container> |
addRecipeTransferHandler(IRecipeTransferInfo<C> recipeTransferInfo)
Advanced method for adding a recipe transfer handler.
|
void |
addUniversalRecipeTransferHandler(IRecipeTransferHandler<?> recipeTransferHandler)
Add a universal handler that can handle any category of recipe.
|
IJeiHelpers |
getJeiHelpers() |
IRecipeTransferHandlerHelper |
getTransferHelper() |
IJeiHelpers getJeiHelpers()
IRecipeTransferHandlerHelper getTransferHelper()
<C extends net.minecraft.inventory.container.Container> void addRecipeTransferHandler(java.lang.Class<C> containerClass, net.minecraft.util.ResourceLocation 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 inventory<C extends net.minecraft.inventory.container.Container> void addRecipeTransferHandler(IRecipeTransferInfo<C> recipeTransferInfo)
void addRecipeTransferHandler(IRecipeTransferHandler<?> recipeTransferHandler, net.minecraft.util.ResourceLocation recipeCategoryUid)
void addUniversalRecipeTransferHandler(IRecipeTransferHandler<?> recipeTransferHandler)