Package net.minecraft.data.server.recipe
Class ShapedRecipeJsonBuilder
java.lang.Object
net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder
- All Implemented Interfaces:
CraftingRecipeJsonBuilder
- Mappings:
Namespace Name named net/minecraft/data/server/recipe/ShapedRecipeJsonBuilder
intermediary net/minecraft/class_2447
official pd
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeCategory
private final int
private final Map
<String, AdvancementCriterion<?>> private final Map
<Character, Ingredient> private final Item
private final RegistryEntryLookup
<Item> private boolean
Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
ROOT
-
Constructor Summary
ModifierConstructorDescriptionprivate
ShapedRecipeJsonBuilder
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapedRecipeJsonBuilder
create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) static ShapedRecipeJsonBuilder
create
(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) criterion
(String string, AdvancementCriterion<?> advancementCriterion) input
(Character c, ItemConvertible item) input
(Character c, Ingredient ingredient) void
offerTo
(RecipeExporter exporter, RegistryKey<Recipe<?>> recipeKey) showNotification
(boolean showNotification) private RawShapedRecipe
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/ShapedRecipeJsonBuilder;registryLookup:Lnet/minecraft/registry/RegistryEntryLookup;
intermediary field_53731
Lnet/minecraft/class_2447;field_53731:Lnet/minecraft/class_7871;
official b
Lpd;b:Ljr;
-
category
- Mappings:
Namespace Name Mixin selector named category
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
intermediary field_40645
Lnet/minecraft/class_2447;field_40645:Lnet/minecraft/class_7800;
official c
Lpd;c:Lpa;
-
output
- Mappings:
Namespace Name Mixin selector named output
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
intermediary field_11380
Lnet/minecraft/class_2447;field_11380:Lnet/minecraft/class_1792;
official d
Lpd;d:Lcxk;
-
count
private final int count- Mappings:
Namespace Name Mixin selector named count
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;count:I
intermediary field_11378
Lnet/minecraft/class_2447;field_11378:I
official e
Lpd;e:I
-
pattern
- Mappings:
Namespace Name Mixin selector named pattern
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;pattern:Ljava/util/List;
intermediary field_11377
Lnet/minecraft/class_2447;field_11377:Ljava/util/List;
official f
Lpd;f:Ljava/util/List;
-
inputs
- Mappings:
Namespace Name Mixin selector named inputs
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;inputs:Ljava/util/Map;
intermediary field_11376
Lnet/minecraft/class_2447;field_11376:Ljava/util/Map;
official g
Lpd;g:Ljava/util/Map;
-
criteria
- Mappings:
Namespace Name Mixin selector named criteria
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;criteria:Ljava/util/Map;
intermediary field_46149
Lnet/minecraft/class_2447;field_46149:Ljava/util/Map;
official h
Lpd;h:Ljava/util/Map;
-
group
- Mappings:
Namespace Name Mixin selector named group
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;group:Ljava/lang/String;
intermediary field_11381
Lnet/minecraft/class_2447;field_11381:Ljava/lang/String;
official i
Lpd;i:Ljava/lang/String;
-
showNotification
private boolean showNotification- Mappings:
Namespace Name Mixin selector named showNotification
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;showNotification:Z
intermediary field_42956
Lnet/minecraft/class_2447;field_42956:Z
official j
Lpd;j:Z
-
-
Constructor Details
-
ShapedRecipeJsonBuilder
private ShapedRecipeJsonBuilder(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;<init>(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)V
intermediary <init>
Lnet/minecraft/class_2447;<init>(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)V
official <init>
Lpd;<init>(Ljr;Lpa;Ldhg;I)V
-
-
Method Details
-
create
public static ShapedRecipeJsonBuilder create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;create(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10437
Lnet/minecraft/class_2447;method_10437(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;)Lnet/minecraft/class_2447;
official a
Lpd;a(Ljr;Lpa;Ldhg;)Lpd;
-
create
public static ShapedRecipeJsonBuilder create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;create(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10436
Lnet/minecraft/class_2447;method_10436(Lnet/minecraft/class_7871;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2447;
official a
Lpd;a(Ljr;Lpa;Ldhg;I)Lpd;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;input(Ljava/lang/Character;Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10433
Lnet/minecraft/class_2447;method_10433(Ljava/lang/Character;Lnet/minecraft/class_6862;)Lnet/minecraft/class_2447;
official a
Lpd;a(Ljava/lang/Character;Layk;)Lpd;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;input(Ljava/lang/Character;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10434
Lnet/minecraft/class_2447;method_10434(Ljava/lang/Character;Lnet/minecraft/class_1935;)Lnet/minecraft/class_2447;
official a
Lpd;a(Ljava/lang/Character;Ldhg;)Lpd;
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;input(Ljava/lang/Character;Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10428
Lnet/minecraft/class_2447;method_10428(Ljava/lang/Character;Lnet/minecraft/class_1856;)Lnet/minecraft/class_2447;
official a
Lpd;a(Ljava/lang/Character;Ldbz;)Lpd;
-
pattern
- Mappings:
Namespace Name Mixin selector named pattern
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;pattern(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10439
Lnet/minecraft/class_2447;method_10439(Ljava/lang/String;)Lnet/minecraft/class_2447;
official b
Lpd;b(Ljava/lang/String;)Lpd;
-
criterion
public ShapedRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion) - Specified by:
criterion
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector named criterion
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10429
Lnet/minecraft/class_2447;method_10429(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_2447;
official b
Lpd;b(Ljava/lang/String;Lap;)Lpd;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector named group
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_10435
Lnet/minecraft/class_2447;method_10435(Ljava/lang/String;)Lnet/minecraft/class_2447;
official c
Lpd;c(Ljava/lang/String;)Lpd;
-
showNotification
- Mappings:
Namespace Name Mixin selector named showNotification
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;showNotification(Z)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
intermediary method_49380
Lnet/minecraft/class_2447;method_49380(Z)Lnet/minecraft/class_2447;
official a
Lpd;a(Z)Lpd;
-
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/ShapedRecipeJsonBuilder;validate(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/recipe/RawShapedRecipe;
intermediary method_10432
Lnet/minecraft/class_2447;method_10432(Lnet/minecraft/class_5321;)Lnet/minecraft/class_8957;
official a
Lpd;a(Laly;)Ldcs;
-