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 cmzintermediary net/minecraft/class_8423named net/minecraft/class_8423
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncraft(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) Crafts this recipe.booleanfits(int width, int height) Returns whether this recipe will fit into the given grid size.Returns the serializer associated with this recipe.booleanmatches(CraftingInventory craftingInventory, World world) Returns whether this recipe matches the contents inside theinventoryin the givenworld.method_50809(CraftingInventory craftingInventory) private static <T extends NbtElement>
ItemStackmethod_50812(Item item, T t) private static @Nullable AbstractNbtNumbermethod_50813(ItemStack itemStack) private static ItemStackmethod_50814(String string) static ItemStackmethod_50815(List<ItemStack> list) private static ItemStackmethod_50816(List<ItemStack> list, int int2) private static <T> Tmethod_50817(List<ItemStack> list, Function<ItemStack, T> function) private static intmethod_50818(List<ItemStack> list, Predicate<ItemStack> predicate, boolean bool) private static @Nullable NbtElementmethod_50819(NbtElement nbtElement, NbtElement nbtElement2) private static ItemStackmethod_50820(byte[] byte2) private static ItemStackmethod_50822(List<ItemStack> list) private static ItemStackmethod_50823(List<ItemStack> list, int int2) private static ItemStackmethod_50825(List<ItemStack> list) private static @org.jetbrains.annotations.Nullable byte[]method_50827(List<ItemStack> list) private static ItemStackmethod_50829(List<ItemStack> list) Methods inherited from class net.minecraft.recipe.SpecialCraftingRecipe
getCategory, getId, getOutput, isIgnoredInRecipeBookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.CraftingRecipe
getTypeMethods 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;)Vintermediary <init>Lnet/minecraft/class_1852;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_7710;)Vnamed <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 aLcmz;a(Lcfi;)Ljava/util/List;intermediary method_50809Lnet/minecraft/class_8423;method_50809(Lnet/minecraft/class_1715;)Ljava/util/List;named method_50809Lnet/minecraft/class_8423;method_50809(Lnet/minecraft/inventory/CraftingInventory;)Ljava/util/List;
-
matches
Description copied from interface:RecipeReturns whether this recipe matches the contents inside theinventoryin the givenworld.The
worldcurrently 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
inventoryin the givenworld - Mappings:
Namespace Name Mixin selector official aLcmz;a(Lcfi;Lcql;)Zintermediary method_50810Lnet/minecraft/class_8423;method_50810(Lnet/minecraft/class_1715;Lnet/minecraft/class_1937;)Znamed matchesLnet/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:RecipeCrafts 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 aLcmz;a(Lcfi;Lhr;)Lcjr;intermediary method_50811Lnet/minecraft/class_8423;method_50811(Lnet/minecraft/class_1715;Lnet/minecraft/class_5455;)Lnet/minecraft/class_1799;named craftLnet/minecraft/class_8423;craft(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/item/ItemStack;
-
method_50818
- Mappings:
Namespace Name Mixin selector official aLcmz;a(Ljava/util/List;Ljava/util/function/Predicate;Z)Iintermediary method_50818Lnet/minecraft/class_8423;method_50818(Ljava/util/List;Ljava/util/function/Predicate;Z)Inamed method_50818Lnet/minecraft/class_8423;method_50818(Ljava/util/List;Ljava/util/function/Predicate;Z)I
-
method_50817
- Mappings:
Namespace Name Mixin selector official aLcmz;a(Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;intermediary method_50817Lnet/minecraft/class_8423;method_50817(Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;named method_50817Lnet/minecraft/class_8423;method_50817(Ljava/util/List;Ljava/util/function/Function;)Ljava/lang/Object;
-
method_50812
- Mappings:
Namespace Name Mixin selector official aLcmz;a(Lcjm;Lrk;)Lcjr;intermediary method_50812Lnet/minecraft/class_8423;method_50812(Lnet/minecraft/class_1792;Lnet/minecraft/class_2520;)Lnet/minecraft/class_1799;named method_50812Lnet/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 aLcmz;a(Ljava/lang/String;)Lcjr;intermediary method_50814Lnet/minecraft/class_8423;method_50814(Ljava/lang/String;)Lnet/minecraft/class_1799;named method_50814Lnet/minecraft/class_8423;method_50814(Ljava/lang/String;)Lnet/minecraft/item/ItemStack;
-
method_50815
- Mappings:
Namespace Name Mixin selector official aLcmz;a(Ljava/util/List;)Lcjr;intermediary method_50815Lnet/minecraft/class_8423;method_50815(Ljava/util/List;)Lnet/minecraft/class_1799;named method_50815Lnet/minecraft/class_8423;method_50815(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50816
- Mappings:
Namespace Name Mixin selector official aLcmz;a(Ljava/util/List;I)Lcjr;intermediary method_50816Lnet/minecraft/class_8423;method_50816(Ljava/util/List;I)Lnet/minecraft/class_1799;named method_50816Lnet/minecraft/class_8423;method_50816(Ljava/util/List;I)Lnet/minecraft/item/ItemStack;
-
method_50823
- Mappings:
Namespace Name Mixin selector official bLcmz;b(Ljava/util/List;I)Lcjr;intermediary method_50823Lnet/minecraft/class_8423;method_50823(Ljava/util/List;I)Lnet/minecraft/class_1799;named method_50823Lnet/minecraft/class_8423;method_50823(Ljava/util/List;I)Lnet/minecraft/item/ItemStack;
-
method_50822
- Mappings:
Namespace Name Mixin selector official bLcmz;b(Ljava/util/List;)Lcjr;intermediary method_50822Lnet/minecraft/class_8423;method_50822(Ljava/util/List;)Lnet/minecraft/class_1799;named method_50822Lnet/minecraft/class_8423;method_50822(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50825
- Mappings:
Namespace Name Mixin selector official cLcmz;c(Ljava/util/List;)Lcjr;intermediary method_50825Lnet/minecraft/class_8423;method_50825(Ljava/util/List;)Lnet/minecraft/class_1799;named method_50825Lnet/minecraft/class_8423;method_50825(Ljava/util/List;)Lnet/minecraft/item/ItemStack;
-
method_50820
- Mappings:
Namespace Name Mixin selector official aLcmz;a([B)Lcjr;intermediary method_50820Lnet/minecraft/class_8423;method_50820([B)Lnet/minecraft/class_1799;named method_50820Lnet/minecraft/class_8423;method_50820([B)Lnet/minecraft/item/ItemStack;
-
method_50813
- Mappings:
Namespace Name Mixin selector official aLcmz;a(Lcjr;)Lre;intermediary method_50813Lnet/minecraft/class_8423;method_50813(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2514;named method_50813Lnet/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 dLcmz;d(Ljava/util/List;)[Bintermediary method_50827Lnet/minecraft/class_8423;method_50827(Ljava/util/List;)[Bnamed method_50827Lnet/minecraft/class_8423;method_50827(Ljava/util/List;)[B
-
method_50829
- Mappings:
Namespace Name Mixin selector official eLcmz;e(Ljava/util/List;)Lcjr;intermediary method_50829Lnet/minecraft/class_8423;method_50829(Ljava/util/List;)Lnet/minecraft/class_1799;named method_50829Lnet/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 aLcmz;a(Lrk;Lrk;)Lrk;intermediary method_50819Lnet/minecraft/class_8423;method_50819(Lnet/minecraft/class_2520;Lnet/minecraft/class_2520;)Lnet/minecraft/class_2520;named method_50819Lnet/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 aLcna;a(II)Zintermediary method_8113Lnet/minecraft/class_1860;method_8113(II)Znamed fitsLnet/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_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-