Package net.minecraft.data.server.recipe
Class ShapelessRecipeJsonFactory
java.lang.Object
net.minecraft.data.server.recipe.ShapelessRecipeJsonFactory
- All Implemented Interfaces:
CraftingRecipeJsonFactory
public class ShapelessRecipeJsonFactory extends Object implements CraftingRecipeJsonFactory
- Mappings:
Namespace Name official jq
intermediary net/minecraft/class_2450
named net/minecraft/data/server/recipe/ShapelessRecipeJsonFactory
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider
-
Field Summary
Fields Modifier and Type Field Description private Advancement.Task
builder
private String
group
private List<Ingredient>
inputs
private static Logger
LOGGER
private Item
output
private int
outputCount
-
Constructor Summary
Constructors Constructor Description ShapelessRecipeJsonFactory(ItemConvertible itemProvider, int outputCount)
-
Method Summary
Modifier and Type Method Description static ShapelessRecipeJsonFactory
create(ItemConvertible output)
static ShapelessRecipeJsonFactory
create(ItemConvertible output, int outputCount)
ShapelessRecipeJsonFactory
criterion(String string, CriterionConditions criterionConditions)
ShapelessRecipeJsonFactory
group(String string)
ShapelessRecipeJsonFactory
input(ItemConvertible itemProvider)
ShapelessRecipeJsonFactory
input(ItemConvertible itemProvider, int size)
ShapelessRecipeJsonFactory
input(Ingredient ingredient)
ShapelessRecipeJsonFactory
input(Ingredient ingredient, int size)
ShapelessRecipeJsonFactory
input(Tag<Item> tag)
void
offerTo(Consumer<RecipeJsonProvider> exporter)
void
offerTo(Consumer<RecipeJsonProvider> exporter, String recipeIdStr)
void
offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
private void
validate(Identifier recipeId)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ljq;a:Lorg/apache/logging/log4j/Logger;
intermediary field_11397
Lnet/minecraft/class_2450;field_11397:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;LOGGER:Lorg/apache/logging/log4j/Logger;
-
output
- Mappings:
Namespace Name Mixin selector official b
Ljq;b:Lbnr;
intermediary field_11396
Lnet/minecraft/class_2450;field_11396:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;output:Lnet/minecraft/item/Item;
-
outputCount
private final int outputCount- Mappings:
Namespace Name Mixin selector official c
Ljq;c:I
intermediary field_11395
Lnet/minecraft/class_2450;field_11395:I
named outputCount
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;outputCount:I
-
inputs
- Mappings:
Namespace Name Mixin selector official d
Ljq;d:Ljava/util/List;
intermediary field_11394
Lnet/minecraft/class_2450;field_11394:Ljava/util/List;
named inputs
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;inputs:Ljava/util/List;
-
builder
- Mappings:
Namespace Name Mixin selector official e
Ljq;e:Ly$a;
intermediary field_11393
Lnet/minecraft/class_2450;field_11393:Lnet/minecraft/class_161$class_162;
named builder
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
-
group
- Mappings:
Namespace Name Mixin selector official f
Ljq;f:Ljava/lang/String;
intermediary field_11398
Lnet/minecraft/class_2450;field_11398:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;group:Ljava/lang/String;
-
-
Constructor Details
-
ShapelessRecipeJsonFactory
- Mappings:
Namespace Name Mixin selector official <init>
Ljq;<init>(Lbtu;I)V
intermediary <init>
Lnet/minecraft/class_2450;<init>(Lnet/minecraft/class_1935;I)V
named <init>
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;<init>(Lnet/minecraft/item/ItemConvertible;I)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lbtu;)Ljq;
intermediary method_10447
Lnet/minecraft/class_2450;method_10447(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;create(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
create
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lbtu;I)Ljq;
intermediary method_10448
Lnet/minecraft/class_2450;method_10448(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
named create
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;create(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
input
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lafc;)Ljq;
intermediary method_10446
Lnet/minecraft/class_2450;method_10446(Lnet/minecraft/class_3494;)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/tag/Tag;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
input
- Mappings:
Namespace Name Mixin selector official b
Ljq;b(Lbtu;)Ljq;
intermediary method_10454
Lnet/minecraft/class_2450;method_10454(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
input
- Mappings:
Namespace Name Mixin selector official b
Ljq;b(Lbtu;I)Ljq;
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/ShapelessRecipeJsonFactory;input(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
input
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lbqk;)Ljq;
intermediary method_10451
Lnet/minecraft/class_2450;method_10451(Lnet/minecraft/class_1856;)Lnet/minecraft/class_2450;
named input
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
input
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lbqk;I)Ljq;
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/ShapelessRecipeJsonFactory;input(Lnet/minecraft/recipe/Ingredient;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
criterion
public ShapelessRecipeJsonFactory criterion(String string, CriterionConditions criterionConditions)- Specified by:
criterion
in interfaceCraftingRecipeJsonFactory
- Mappings:
Namespace Name Mixin selector official b
Ljq;b(Ljava/lang/String;Lag;)Ljq;
intermediary method_10442
Lnet/minecraft/class_2450;method_10442(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_2450;
named criterion
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonFactory
- Mappings:
Namespace Name Mixin selector official b
Ljq;b(Ljava/lang/String;)Ljq;
intermediary method_10452
Lnet/minecraft/class_2450;method_10452(Ljava/lang/String;)Lnet/minecraft/class_2450;
named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
-
offerTo
- Specified by:
offerTo
in interfaceCraftingRecipeJsonFactory
- Mappings:
Namespace Name Mixin selector official a
Ljn;a(Ljava/util/function/Consumer;)V
intermediary method_10431
Lnet/minecraft/class_5797;method_10431(Ljava/util/function/Consumer;)V
named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
intermediary method_10450
Lnet/minecraft/class_2450;method_10450(Ljava/util/function/Consumer;Ljava/lang/String;)V
named offerTo
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Ljava/util/function/Consumer;Lwb;)V
intermediary method_10443
Lnet/minecraft/class_2450;method_10443(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lwb;)V
intermediary method_10445
Lnet/minecraft/class_2450;method_10445(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V
-