public interface IRecipeTransferHandlerHelper
| Modifier and Type | Method and Description |
|---|---|
IRecipeTransferError |
createInternalError()
Create an error with type INTERNAL.
|
IRecipeTransferError |
createUserErrorForSlots(java.lang.String tooltipMessage,
java.util.Collection<java.lang.Integer> missingItemSlots)
Create an error with type USER_FACING that shows a tooltip and highlights missing item slots.
|
IRecipeTransferError |
createUserErrorWithTooltip(java.lang.String tooltipMessage)
Create an error with type USER_FACING that shows a tooltip.
|
IRecipeTransferError createInternalError()
IRecipeTransferError createUserErrorWithTooltip(@Nonnull java.lang.String tooltipMessage)
tooltipMessage - the message to show on the tooltip for the recipe transfer button.IRecipeTransferError createUserErrorForSlots(@Nonnull java.lang.String tooltipMessage, @Nonnull java.util.Collection<java.lang.Integer> missingItemSlots)
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 itemStackGroup.getGuiIngredients()