Package net.minecraft.data.server.recipe
Class ShapedRecipeJsonBuilder
java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder
net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder
- All Implemented Interfaces:
CraftingRecipeJsonBuilder
- Mappings:
Namespace Name official mb
intermediary net/minecraft/class_2447
named net/minecraft/data/server/recipe/ShapedRecipeJsonBuilder
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Nested classes/interfaces inherited from class net.minecraft.data.server.recipe.RecipeJsonBuilder
RecipeJsonBuilder.CraftingRecipeJsonProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement.Builder
private final RecipeCategory
private final int
private boolean
private final Map<Character,
Ingredient> private final Item
Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
ROOT
-
Constructor Summary
ConstructorDescriptionShapedRecipeJsonBuilder
(RecipeCategory recipeCategory, ItemConvertible output, int count) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapedRecipeJsonBuilder
create
(RecipeCategory category, ItemConvertible output) static ShapedRecipeJsonBuilder
create
(RecipeCategory category, ItemConvertible output, int count) criterion
(String string, CriterionConditions criterionConditions) input
(Character c, ItemConvertible itemProvider) input
(Character c, Ingredient ingredient) method_49380
(boolean bool) void
offerTo
(Consumer<RecipeJsonProvider> exporter, Identifier recipeId) private void
validate
(Identifier recipeId) Methods inherited from class net.minecraft.data.server.recipe.RecipeJsonBuilder
getCraftingCategory
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
-
category
- Mappings:
Namespace Name Mixin selector official b
Lmb;b:Llz;
intermediary field_40645
Lnet/minecraft/class_2447;field_40645:Lnet/minecraft/class_7800;
named category
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
-
output
- Mappings:
Namespace Name Mixin selector official c
Lmb;c:Lcfq;
intermediary field_11380
Lnet/minecraft/class_2447;field_11380:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official d
Lmb;d:I
intermediary field_11378
Lnet/minecraft/class_2447;field_11378:I
named count
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;count:I
-
pattern
- Mappings:
Namespace Name Mixin selector official e
Lmb;e:Ljava/util/List;
intermediary field_11377
Lnet/minecraft/class_2447;field_11377:Ljava/util/List;
named pattern
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;pattern:Ljava/util/List;
-
inputs
- Mappings:
Namespace Name Mixin selector official f
Lmb;f:Ljava/util/Map;
intermediary field_11376
Lnet/minecraft/class_2447;field_11376:Ljava/util/Map;
named inputs
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;inputs:Ljava/util/Map;
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector official g
Lmb;g:Lae$a;
intermediary field_11379
Lnet/minecraft/class_2447;field_11379:Lnet/minecraft/class_161$class_162;
named advancementBuilder
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
-
group
- Mappings:
Namespace Name Mixin selector official h
Lmb;h:Ljava/lang/String;
intermediary field_11381
Lnet/minecraft/class_2447;field_11381:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;group:Ljava/lang/String;
-
field_42956
private boolean field_42956- Mappings:
Namespace Name Mixin selector official i
Lmb;i:Z
intermediary field_42956
Lnet/minecraft/class_2447;field_42956:Z
named field_42956
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;field_42956:Z
-
-
Constructor Details
-
ShapedRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official <init>
Lmb;<init>(Llz;Lcmh;I)V
intermediary <init>
Lnet/minecraft/class_2447;<init>(Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)V
named <init>
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Llz;Lcmh;)Lmb;
intermediary method_10437
Lnet/minecraft/class_2447;method_10437(Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;)Lnet/minecraft/class_2447;
named create
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;create(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
create
public static ShapedRecipeJsonBuilder create(RecipeCategory category, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector official a
Lmb;a(Llz;Lcmh;I)Lmb;
intermediary method_10436
Lnet/minecraft/class_2447;method_10436(Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2447;
named create
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;create(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Ljava/lang/Character;Lanv;)Lmb;
intermediary method_10433
Lnet/minecraft/class_2447;method_10433(Ljava/lang/Character;Lnet/minecraft/class_6862;)Lnet/minecraft/class_2447;
named input
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;input(Ljava/lang/Character;Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Ljava/lang/Character;Lcmh;)Lmb;
intermediary method_10434
Lnet/minecraft/class_2447;method_10434(Ljava/lang/Character;Lnet/minecraft/class_1935;)Lnet/minecraft/class_2447;
named input
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;input(Ljava/lang/Character;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Ljava/lang/Character;Lciu;)Lmb;
intermediary method_10428
Lnet/minecraft/class_2447;method_10428(Ljava/lang/Character;Lnet/minecraft/class_1856;)Lnet/minecraft/class_2447;
named input
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;input(Ljava/lang/Character;Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
pattern
- Mappings:
Namespace Name Mixin selector official b
Lmb;b(Ljava/lang/String;)Lmb;
intermediary method_10439
Lnet/minecraft/class_2447;method_10439(Ljava/lang/String;)Lnet/minecraft/class_2447;
named pattern
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;pattern(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
criterion
- Specified by:
criterion
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Lmb;b(Ljava/lang/String;Lam;)Lmb;
intermediary method_10429
Lnet/minecraft/class_2447;method_10429(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_2447;
named criterion
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official c
Lmb;c(Ljava/lang/String;)Lmb;
intermediary method_10435
Lnet/minecraft/class_2447;method_10435(Ljava/lang/String;)Lnet/minecraft/class_2447;
named group
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
method_49380
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Z)Lmb;
intermediary method_49380
Lnet/minecraft/class_2447;method_49380(Z)Lnet/minecraft/class_2447;
named method_49380
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;method_49380(Z)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;
-
getOutputItem
- Specified by:
getOutputItem
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official a
Lly;a()Lcfq;
intermediary method_36441
Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
named getOutputItem
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getOutputItem()Lnet/minecraft/item/Item;
-
offerTo
- Specified by:
offerTo
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official a
Lly;a(Ljava/util/function/Consumer;Ladd;)V
intermediary method_17972
Lnet/minecraft/class_5797;method_17972(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Ladd;)V
intermediary method_10432
Lnet/minecraft/class_2447;method_10432(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V
-