Package net.minecraft
Class class_8423
java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
net.minecraft.class_8423
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingInventory>
- Mappings:
Namespace Name official cmz
intermediary net/minecraft/class_8423
named net/minecraft/class_8423
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncraft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) Crafts this recipe.boolean
fits
(int width, int height) Returns whether this recipe will fit into the given grid size.Returns the serializer associated with this recipe.boolean
matches
(CraftingInventory craftingInventory, World world) Returns whether this recipe matches the contents inside theinventory
in the givenworld
.method_50809
(CraftingInventory craftingInventory) private static <T extends NbtElement>
ItemStackmethod_50812
(Item item, T t) private static @Nullable AbstractNbtNumber
method_50813
(ItemStack itemStack) private static ItemStack
method_50814
(String string) static ItemStack
method_50815
(List<ItemStack> list) private static ItemStack
method_50816
(List<ItemStack> list, int int2) private static <T> T
method_50817
(List<ItemStack> list, Function<ItemStack, T> function) private static int
method_50818
(List<ItemStack> list, Predicate<ItemStack> predicate, boolean bool) private static @Nullable NbtElement
method_50819
(NbtElement nbtElement, NbtElement nbtElement2) private static ItemStack
method_50820
(byte[] byte2) private static ItemStack
method_50822
(List<ItemStack> list) private static ItemStack
method_50823
(List<ItemStack> list, int int2) private static ItemStack
method_50825
(List<ItemStack> list) private static @org.jetbrains.annotations.Nullable byte[]
method_50827
(List<ItemStack> list) private static ItemStack
method_50829
(List<ItemStack> list) Methods inherited from class net.minecraft.recipe.SpecialCraftingRecipe
getCategory, getId, getOutput, isIgnoredInRecipeBook
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.recipe.CraftingRecipe
getType
Methods inherited from interface net.minecraft.recipe.Recipe
createIcon, getGroup, getIngredients, getRemainder, isEmpty, method_50831, method_50832, showNotification
-
Constructor Details
-
class_8423
- Mappings:
Namespace Name Mixin selector official <init>
Lcmq;<init>(Lacy;Lcmo;)V
intermediary <init>
Lnet/minecraft/class_1852;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_7710;)V
named <init>
Lnet/minecraft/recipe/SpecialCraftingRecipe;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/book/CraftingRecipeCategory;)V
-
-
Method Details
-
method_50809
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Lcfi;)Ljava/util/List;
intermediary method_50809
Lnet/minecraft/class_8423;method_50809(Lnet/minecraft/class_1715;)Ljava/util/List;
named method_50809
Lnet/minecraft/class_8423;method_50809(Lnet/minecraft/inventory/CraftingInventory;)Ljava/util/List;
-
matches
Description copied from interface:Recipe
Returns whether this recipe matches the contents inside theinventory
in the givenworld
.The
world
currently is only used by the map cloning recipe to prevent duplication of explorer maps.- Parameters:
craftingInventory
- the input inventoryworld
- the input world- Returns:
- whether this recipe matches the contents inside the
inventory
in the givenworld
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Lcfi;Lcql;)Z
intermediary method_50810
Lnet/minecraft/class_8423;method_50810(Lnet/minecraft/class_1715;Lnet/minecraft/class_1937;)Z
named matches
Lnet/minecraft/class_8423;matches(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)Z
-
craft
public ItemStack craft(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) Description copied from interface:Recipe
Crafts this recipe.This method does not perform side effects on the
inventory
.This method should return a new item stack on each call.
- Parameters:
craftingInventory
- the input inventory- Returns:
- the resulting item stack
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Lcfi;Lhr;)Lcjr;
intermediary method_50811
Lnet/minecraft/class_8423;method_50811(Lnet/minecraft/class_1715;Lnet/minecraft/class_5455;)Lnet/minecraft/class_1799;
named craft
Lnet/minecraft/class_8423;craft(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/item/ItemStack;
-
method_50818
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Ljava/util/List;Ljava/util/function/Predicate;Z)I
intermediary method_50818
Lnet/minecraft/class_8423;method_50818(Ljava/util/List;Ljava/util/function/Predicate;Z)I
named method_50818
Lnet/minecraft/class_8423;method_50818(Ljava/util/List;Ljava/util/function/Predicate;Z)I
-
method_50817
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;
intermediary method_50817
Lnet/minecraft/class_8423;method_50817(Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;
named method_50817
Lnet/minecraft/class_8423;method_50817(Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;
-
method_50812
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Lcjm;Lrk;)Lcjr;
intermediary method_50812
Lnet/minecraft/class_8423;method_50812(Lnet/minecraft/class_1792;Lnet/minecraft/class_2520;)Lnet/minecraft/class_1799;
named method_50812
Lnet/minecraft/class_8423;method_50812(Lnet/minecraft/item/Item;Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/item/ItemStack;
-
method_50814
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Ljava/lang/String;)Lcjr;
intermediary method_50814
Lnet/minecraft/class_8423;method_50814(Ljava/lang/String;)Lnet/minecraft/class_1799;
named method_50814
Lnet/minecraft/class_8423;method_50814(Ljava/lang/String;)Lnet/minecraft/item/ItemStack;
-
method_50815
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Ljava/util/List;)Lcjr;
intermediary method_50815
Lnet/minecraft/class_8423;method_50815(Ljava/util/List;)Lnet/minecraft/class_1799;
named method_50815
Lnet/minecraft/class_8423;method_50815(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50816
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Ljava/util/List;I)Lcjr;
intermediary method_50816
Lnet/minecraft/class_8423;method_50816(Ljava/util/List;I)Lnet/minecraft/class_1799;
named method_50816
Lnet/minecraft/class_8423;method_50816(Ljava/util/List;I)Lnet/minecraft/item/ItemStack;
-
method_50823
- Mappings:
Namespace Name Mixin selector official b
Lcmz;b(Ljava/util/List;I)Lcjr;
intermediary method_50823
Lnet/minecraft/class_8423;method_50823(Ljava/util/List;I)Lnet/minecraft/class_1799;
named method_50823
Lnet/minecraft/class_8423;method_50823(Ljava/util/List;I)Lnet/minecraft/item/ItemStack;
-
method_50822
- Mappings:
Namespace Name Mixin selector official b
Lcmz;b(Ljava/util/List;)Lcjr;
intermediary method_50822
Lnet/minecraft/class_8423;method_50822(Ljava/util/List;)Lnet/minecraft/class_1799;
named method_50822
Lnet/minecraft/class_8423;method_50822(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50825
- Mappings:
Namespace Name Mixin selector official c
Lcmz;c(Ljava/util/List;)Lcjr;
intermediary method_50825
Lnet/minecraft/class_8423;method_50825(Ljava/util/List;)Lnet/minecraft/class_1799;
named method_50825
Lnet/minecraft/class_8423;method_50825(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50820
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a([B)Lcjr;
intermediary method_50820
Lnet/minecraft/class_8423;method_50820([B)Lnet/minecraft/class_1799;
named method_50820
Lnet/minecraft/class_8423;method_50820([B)Lnet/minecraft/item/ItemStack;
-
method_50813
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Lcjr;)Lre;
intermediary method_50813
Lnet/minecraft/class_8423;method_50813(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2514;
named method_50813
Lnet/minecraft/class_8423;method_50813(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/nbt/AbstractNbtNumber;
-
method_50827
@Nullable private static @org.jetbrains.annotations.Nullable byte[] method_50827(List<ItemStack> list) - Mappings:
Namespace Name Mixin selector official d
Lcmz;d(Ljava/util/List;)[B
intermediary method_50827
Lnet/minecraft/class_8423;method_50827(Ljava/util/List;)[B
named method_50827
Lnet/minecraft/class_8423;method_50827(Ljava/util/List;)[B
-
method_50829
- Mappings:
Namespace Name Mixin selector official e
Lcmz;e(Ljava/util/List;)Lcjr;
intermediary method_50829
Lnet/minecraft/class_8423;method_50829(Ljava/util/List;)Lnet/minecraft/class_1799;
named method_50829
Lnet/minecraft/class_8423;method_50829(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50819
@Nullable private static @Nullable NbtElement method_50819(NbtElement nbtElement, NbtElement nbtElement2) - Mappings:
Namespace Name Mixin selector official a
Lcmz;a(Lrk;Lrk;)Lrk;
intermediary method_50819
Lnet/minecraft/class_8423;method_50819(Lnet/minecraft/class_2520;Lnet/minecraft/class_2520;)Lnet/minecraft/class_2520;
named method_50819
Lnet/minecraft/class_8423;method_50819(Lnet/minecraft/nbt/NbtElement;Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/nbt/NbtElement;
-
fits
public 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.
- 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
Lcna;a(II)Z
intermediary method_8113
Lnet/minecraft/class_1860;method_8113(II)Z
named fits
Lnet/minecraft/recipe/Recipe;fits(II)Z
-
getSerializer
Returns the serializer associated with this recipe.- Returns:
- the serializer associated with this recipe
- Mappings:
Namespace Name Mixin selector official aj_
Lcna;aj_()Lcnc;
intermediary method_8119
Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;
named getSerializer
Lnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-