public interface IRecipeTransferHandlerHelper
IRecipeTransferHandler.
Get an instance from IRecipeTransferRegistration.getTransferHelper().| Modifier and Type | Method and Description |
|---|---|
IRecipeTransferError |
createInternalError()
Create an error with
IRecipeTransferError.Type.INTERNAL. |
IRecipeTransferError |
createUserErrorForSlots(net.minecraft.util.text.ITextComponent tooltipMessage,
java.util.Collection<java.lang.Integer> missingItemSlots)
Create an error with type
IRecipeTransferError.Type.USER_FACING that shows a tooltip and highlights missing item slots. |
IRecipeTransferError |
createUserErrorForSlots(java.lang.String tooltipMessage,
java.util.Collection<java.lang.Integer> missingItemSlots)
Deprecated.
Since JEI 7.6.4, use
createUserErrorForSlots(ITextComponent, Collection) instead. |
IRecipeTransferError |
createUserErrorWithTooltip(net.minecraft.util.text.ITextComponent tooltipMessage)
Create an error with type
IRecipeTransferError.Type.USER_FACING that shows a tooltip. |
IRecipeTransferError |
createUserErrorWithTooltip(java.lang.String tooltipMessage)
Deprecated.
Since JEI 7.6.4, use
createUserErrorWithTooltip(ITextComponent) instead. |
IRecipeTransferError createInternalError()
IRecipeTransferError.Type.INTERNAL.
It is recommended that you also log a message to the console.@Deprecated IRecipeTransferError createUserErrorWithTooltip(java.lang.String tooltipMessage)
createUserErrorWithTooltip(ITextComponent) instead.IRecipeTransferError.Type.USER_FACING that shows a tooltip.tooltipMessage - the message to show on the tooltip for the recipe transfer button.IRecipeTransferError createUserErrorWithTooltip(net.minecraft.util.text.ITextComponent tooltipMessage)
IRecipeTransferError.Type.USER_FACING that shows a tooltip.tooltipMessage - the message to show on the tooltip for the recipe transfer button.@Deprecated IRecipeTransferError createUserErrorForSlots(java.lang.String tooltipMessage, java.util.Collection<java.lang.Integer> missingItemSlots)
createUserErrorForSlots(ITextComponent, Collection) instead.IRecipeTransferError.Type.USER_FACING that shows a tooltip and highlights missing item slots.tooltipMessage - the message to show on the tooltip for the recipe transfer button.missingItemSlots - the slot indexes for items that are missing. Must not be empty.
Slots are indexed according to IGuiIngredientGroup.getGuiIngredients().IRecipeTransferError createUserErrorForSlots(net.minecraft.util.text.ITextComponent tooltipMessage, java.util.Collection<java.lang.Integer> missingItemSlots)
IRecipeTransferError.Type.USER_FACING that shows a tooltip and highlights missing item slots.tooltipMessage - the message to show on the tooltip for the recipe transfer button.missingItemSlots - the slot indexes for items that are missing. Must not be empty.
Slots are indexed according to IGuiIngredientGroup.getGuiIngredients().