Package net.minecraft.data.server.recipe
Class ShapelessRecipeJsonBuilder
java.lang.Object
net.minecraft.data.server.recipe.ShapelessRecipeJsonBuilder
- All Implemented Interfaces:
CraftingRecipeJsonBuilder
- Mappings:
Namespace Name named net/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder
intermediary net/minecraft/class_2450
official pe
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<String, AdvancementCriterion<?>> private final RecipeCategory
private final List
<Ingredient> private final ItemStack
private final RegistryEntryLookup
<Item> Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
ROOT
-
Constructor Summary
ModifierConstructorDescriptionprivate
ShapelessRecipeJsonBuilder
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemStack output) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapelessRecipeJsonBuilder
create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) static ShapelessRecipeJsonBuilder
create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) static ShapelessRecipeJsonBuilder
create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemStack output) criterion
(String string, AdvancementCriterion<?> advancementCriterion) input
(ItemConvertible item) input
(ItemConvertible item, int amount) input
(Ingredient ingredient) input
(Ingredient ingredient, int amount) void
offerTo
(RecipeExporter exporter, RegistryKey<Recipe<?>> recipeKey) private void
validate
(RegistryKey<Recipe<?>> recipeKey) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
offerTo, offerTo
-
Field Details
-
registryLookup
- Mappings:
Namespace Name Mixin selector named registryLookup
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;registryLookup:Lnet/minecraft/registry/RegistryEntryLookup;
intermediary field_53732
Lnet/minecraft/class_2450;field_53732:Lnet/minecraft/class_7871;
official b
Lpe;b:Ljr;
-
category
- Mappings:
Namespace Name Mixin selector named category
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
intermediary field_40646
Lnet/minecraft/class_2450;field_40646:Lnet/minecraft/class_7800;
official c
Lpe;c:Lpa;
-
output
- Mappings:
Namespace Name Mixin selector named output
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;output:Lnet/minecraft/item/ItemStack;
intermediary field_11396
Lnet/minecraft/class_2450;field_11396:Lnet/minecraft/class_1799;
official d
Lpe;d:Lcxo;
-
inputs
- Mappings:
Namespace Name Mixin selector named inputs
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;inputs:Ljava/util/List;
intermediary field_11394
Lnet/minecraft/class_2450;field_11394:Ljava/util/List;
official e
Lpe;e:Ljava/util/List;
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector named advancementBuilder
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;advancementBuilder:Ljava/util/Map;
intermediary field_11393
Lnet/minecraft/class_2450;field_11393:Ljava/util/Map;
official f
Lpe;f:Ljava/util/Map;
-
group
- Mappings:
Namespace Name Mixin selector named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;group:Ljava/lang/String;
intermediary field_11398
Lnet/minecraft/class_2450;field_11398:Ljava/lang/String;
official g
Lpe;g:Ljava/lang/String;
-
-
Constructor Details
-
ShapelessRecipeJsonBuilder
private ShapelessRecipeJsonBuilder(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemStack output) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;<init>(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemStack;)V
intermediary <init>
Lnet/minecraft/class_2450;<init>(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1799;)V
official <init>
Lpe;<init>(Ljr;Lpa;Lcxo;)V
-
-
Method Details
-
create
public static ShapelessRecipeJsonBuilder create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemStack output) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;create(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10447
Lnet/minecraft/class_2450;method_10447(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1799;)Lnet/minecraft/class_2450;
official a
Lpe;a(Ljr;Lpa;Lcxo;)Lpe;
-
create
public static ShapelessRecipeJsonBuilder create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;create(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_62770
Lnet/minecraft/class_2450;method_62770(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
official a
Lpe;a(Ljr;Lpa;Ldhg;)Lpe;
-
create
public static ShapelessRecipeJsonBuilder create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;create(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10448
Lnet/minecraft/class_2450;method_10448(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
official a
Lpe;a(Ljr;Lpa;Ldhg;I)Lpe;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10446
Lnet/minecraft/class_2450;method_10446(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2450;
official a
Lpe;a(Layk;)Lpe;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10454
Lnet/minecraft/class_2450;method_10454(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
official b
Lpe;b(Ldhg;)Lpe;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10449
Lnet/minecraft/class_2450;method_10449(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
official a
Lpe;a(Ldhg;I)Lpe;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10451
Lnet/minecraft/class_2450;method_10451(Lnet/minecraft/class_1856;)Lnet/minecraft/class_2450;
official a
Lpe;a(Ldbz;)Lpe;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/recipe/Ingredient;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10453
Lnet/minecraft/class_2450;method_10453(Lnet/minecraft/class_1856;I)Lnet/minecraft/class_2450;
official a
Lpe;a(Ldbz;I)Lpe;
-
criterion
public ShapelessRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion) - Specified by:
criterion
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector named criterion
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10442
Lnet/minecraft/class_2450;method_10442(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_2450;
official b
Lpe;b(Ljava/lang/String;Lap;)Lpe;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
intermediary method_10452
Lnet/minecraft/class_2450;method_10452(Ljava/lang/String;)Lnet/minecraft/class_2450;
official b
Lpe;b(Ljava/lang/String;)Lpe;
-
getOutputItem
- Specified by:
getOutputItem
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector named getOutputItem
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getOutputItem()Lnet/minecraft/item/Item;
intermediary method_36441
Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
official a
Loz;a()Lcxk;
-
offerTo
- Specified by:
offerTo
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/registry/RegistryKey;)V
intermediary method_17972
Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_5321;)V
official a
Loz;a(Lpb;Laly;)V
-
validate
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;validate(Lnet/minecraft/registry/RegistryKey;)V
intermediary method_10445
Lnet/minecraft/class_2450;method_10445(Lnet/minecraft/class_5321;)V
official a
Lpe;a(Laly;)V
-