Package net.minecraft
Interface class_8059
- All Known Implementing Classes:
class_8060
,class_8062
,SmithingRecipe
- Mappings:
Namespace Name official cih
intermediary net/minecraft/class_8059
named net/minecraft/class_8059
-
Method Summary
Modifier and TypeMethodDescriptiondefault ItemStack
Returns an item rendered on the top left of theinvalid @linkplain
output preview
default boolean
fits
(int width, int height) Returns whether this recipe will fit into the given grid size.default RecipeType<?>
getType()
Returns the type of this recipe.boolean
method_48453
(ItemStack itemStack) boolean
method_48454
(ItemStack itemStack) boolean
testAddition
(ItemStack itemStack) Methods inherited from interface net.minecraft.recipe.Recipe
craft, getGroup, getId, getIngredients, getOutput, getRemainder, getSerializer, isEmpty, isIgnoredInRecipeBook, matches
-
Method Details
-
getType
Returns the type of this recipe.The
type
in the recipe JSON format is the serializer instead.- Specified by:
getType
in interfaceRecipe<Inventory>
- Returns:
- the type of this recipe
- Mappings:
Namespace Name Mixin selector official f
Lchu;f()Lchx;
intermediary method_17716
Lnet/minecraft/class_1860;method_17716()Lnet/minecraft/class_3956;
named getType
Lnet/minecraft/recipe/Recipe;getType()Lnet/minecraft/recipe/RecipeType;
-
fits
default boolean fits(int width, int height) Returns whether this recipe will fit into the given grid size.This is currently only used by recipe book.
- Specified by:
fits
in interfaceRecipe<Inventory>
- Parameters:
width
- the width of the input inventoryheight
- the height of the input inventory- Returns:
- whether this recipe will fit into the given grid size
- Mappings:
Namespace Name Mixin selector official a
Lchu;a(II)Z
intermediary method_8113
Lnet/minecraft/class_1860;method_8113(II)Z
named fits
Lnet/minecraft/recipe/Recipe;fits(II)Z
-
createIcon
Returns an item rendered on the top left of theinvalid @linkplain
output preview
- Specified by:
createIcon
in interfaceRecipe<Inventory>
- Returns:
- an item rendered on the top left of the
invalid @linkplain
output preview
- Mappings:
Namespace Name Mixin selector official h
Lchu;h()Lcer;
intermediary method_17447
Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;
named createIcon
Lnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;
-
method_48453
- Mappings:
Namespace Name Mixin selector official a
Lcih;a(Lcer;)Z
intermediary method_48453
Lnet/minecraft/class_8059;method_48453(Lnet/minecraft/class_1799;)Z
named method_48453
Lnet/minecraft/class_8059;method_48453(Lnet/minecraft/item/ItemStack;)Z
-
method_48454
- Mappings:
Namespace Name Mixin selector official b
Lcih;b(Lcer;)Z
intermediary method_48454
Lnet/minecraft/class_8059;method_48454(Lnet/minecraft/class_1799;)Z
named method_48454
Lnet/minecraft/class_8059;method_48454(Lnet/minecraft/item/ItemStack;)Z
-
testAddition
- Mappings:
Namespace Name Mixin selector official c
Lcih;c(Lcer;)Z
intermediary method_30029
Lnet/minecraft/class_8059;method_30029(Lnet/minecraft/class_1799;)Z
named testAddition
Lnet/minecraft/class_8059;testAddition(Lnet/minecraft/item/ItemStack;)Z
-