public interface IRecipeTransferError
IRecipeTransferHandlerHelper
or you can implement your own.
These errors are returned from IRecipeTransferHandler.transferRecipe(Container, IRecipeLayout, PlayerEntity, boolean, boolean)
.Modifier and Type | Interface and Description |
---|---|
static class |
IRecipeTransferError.Type |
Modifier and Type | Method and Description |
---|---|
IRecipeTransferError.Type |
getType() |
void |
showError(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
IRecipeLayout recipeLayout,
int recipeX,
int recipeY)
Called on
IRecipeTransferError.Type.USER_FACING errors. |
IRecipeTransferError.Type getType()
void showError(com.mojang.blaze3d.matrix.MatrixStack matrixStack, int mouseX, int mouseY, IRecipeLayout recipeLayout, int recipeX, int recipeY)
IRecipeTransferError.Type.USER_FACING
errors.