Interface RecipeWebRenderingContext.RecipeBoxBuilder
- Enclosing interface:
RecipeWebRenderingContext
public static interface RecipeWebRenderingContext.RecipeBoxBuilder
-
Method Details
-
craftingIngredientGrid
RecipeWebRenderingContext.RecipeBoxBuilder craftingIngredientGrid()Creates a standard ingredient grid using the same logic used for Vanilla crafting recipes. The exported recipe is expected to have aningredientlist. If theshapelessfield is set totrue, then no width is required, but if it is missing orfalse, the width of the recipe grid must have been encoded inwidth. -
shapelessSlots
-
arrow
-
resultSlot
RecipeWebRenderingContext.RecipeBoxBuilder resultSlot()Adds a result slot with the current recipes result. -
slot
-
rawHtml
Appends raw HTML. -
build
void build()
-