Interface IShapedRecipe<T extends RecipeInput>
- All Superinterfaces:
Recipe<T>
- All Known Implementing Classes:
MapExtendingRecipe
,ShapedRecipe
Used to mark a recipe that shape matters so that the recipe
book and auto crafting picks the correct shape.
Note: These methods can't be named 'getHeight' or 'getWidth' due to obfusication issues.
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC
-
Method Summary
Methods inherited from interface net.minecraft.world.item.crafting.Recipe
assemble, canCraftInDimensions, getGroup, getIngredients, getRemainingItems, getResultItem, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial, matches, showNotification
-
Method Details
-
getWidth
int getWidth() -
getHeight
int getHeight()
-