Package net.minecraft.data.server.recipe
Class ShapelessRecipeJsonBuilder
java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder
net.minecraft.data.server.recipe.ShapelessRecipeJsonBuilder
- All Implemented Interfaces:
CraftingRecipeJsonBuilder
public class ShapelessRecipeJsonBuilder
extends RecipeJsonBuilder
implements CraftingRecipeJsonBuilder
- Mappings:
Namespace Name official lw
intermediary net/minecraft/class_2450
named net/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class net.minecraft.data.server.recipe.RecipeJsonBuilder
RecipeJsonBuilder.CraftingRecipeJsonProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<String,
AdvancementCriterion<?>> private final RecipeCategory
private final int
private @Nullable String
private final List<Ingredient>
private final Item
Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
ROOT
-
Constructor Summary
ConstructorDescriptionShapelessRecipeJsonBuilder
(RecipeCategory category, ItemConvertible output, int count) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapelessRecipeJsonBuilder
create
(RecipeCategory category, ItemConvertible output) static ShapelessRecipeJsonBuilder
create
(RecipeCategory category, ItemConvertible output, int count) criterion
(String string, AdvancementCriterion<?> advancementCriterion) input
(ItemConvertible itemProvider) input
(ItemConvertible itemProvider, int size) input
(Ingredient ingredient) input
(Ingredient ingredient, int size) void
offerTo
(RecipeExporter 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
Llw;b:Lls;
intermediary field_40646
Lnet/minecraft/class_2450;field_40646:Lnet/minecraft/class_7800;
named category
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
-
output
- Mappings:
Namespace Name Mixin selector official c
Llw;c:Lcja;
intermediary field_11396
Lnet/minecraft/class_2450;field_11396:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official d
Llw;d:I
intermediary field_11395
Lnet/minecraft/class_2450;field_11395:I
named count
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;count:I
-
inputs
- Mappings:
Namespace Name Mixin selector official e
Llw;e:Ljava/util/List;
intermediary field_11394
Lnet/minecraft/class_2450;field_11394:Ljava/util/List;
named inputs
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;inputs:Ljava/util/List;
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector official f
Llw;f:Ljava/util/Map;
intermediary field_11393
Lnet/minecraft/class_2450;field_11393:Ljava/util/Map;
named advancementBuilder
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;advancementBuilder:Ljava/util/Map;
-
group
- Mappings:
Namespace Name Mixin selector official g
Llw;g:Ljava/lang/String;
intermediary field_11398
Lnet/minecraft/class_2450;field_11398:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;group:Ljava/lang/String;
-
-
Constructor Details
-
ShapelessRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official <init>
Llw;<init>(Lls;Lcpu;I)V
intermediary <init>
Lnet/minecraft/class_2450;<init>(Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)V
named <init>
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Lls;Lcpu;)Llw;
intermediary method_10447
Lnet/minecraft/class_2450;method_10447(Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;create(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
create
public static ShapelessRecipeJsonBuilder create(RecipeCategory category, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector official a
Llw;a(Lls;Lcpu;I)Llw;
intermediary method_10448
Lnet/minecraft/class_2450;method_10448(Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;create(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Laqh;)Llw;
intermediary method_10446
Lnet/minecraft/class_2450;method_10446(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official b
Llw;b(Lcpu;)Llw;
intermediary method_10454
Lnet/minecraft/class_2450;method_10454(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Lcpu;I)Llw;
intermediary method_10449
Lnet/minecraft/class_2450;method_10449(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Lcmg;)Llw;
intermediary method_10451
Lnet/minecraft/class_2450;method_10451(Lnet/minecraft/class_1856;)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
input
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Lcmg;I)Llw;
intermediary method_10453
Lnet/minecraft/class_2450;method_10453(Lnet/minecraft/class_1856;I)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;input(Lnet/minecraft/recipe/Ingredient;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
criterion
public ShapelessRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion) - Specified by:
criterion
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Llw;b(Ljava/lang/String;Lam;)Llw;
intermediary method_10442
Lnet/minecraft/class_2450;method_10442(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_2450;
named criterion
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Llw;b(Ljava/lang/String;)Llw;
intermediary method_10452
Lnet/minecraft/class_2450;method_10452(Ljava/lang/String;)Lnet/minecraft/class_2450;
named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;
-
getOutputItem
- Specified by:
getOutputItem
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official a
Llr;a()Lcja;
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
Llr;a(Llt;Laew;)V
intermediary method_17972
Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Laew;)V
intermediary method_10445
Lnet/minecraft/class_2450;method_10445(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V
-