Class ShapedRecipeJsonFactory

java.lang.Object
net.minecraft.data.server.recipe.ShapedRecipeJsonFactory
All Implemented Interfaces:
CraftingRecipeJsonFactory

public class ShapedRecipeJsonFactory
extends Object
implements CraftingRecipeJsonFactory
Mappings:
Namespace Name
official jp
intermediary net/minecraft/class_2447
named net/minecraft/data/server/recipe/ShapedRecipeJsonFactory
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_11382 Lnet/minecraft/class_2447;field_11382:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;LOGGER:Lorg/apache/logging/log4j/Logger;
    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official b Ljp;b:Lbnr;
      intermediary field_11380 Lnet/minecraft/class_2447;field_11380:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;output:Lnet/minecraft/item/Item;
    • outputCount

      private final int outputCount
      Mappings:
      Namespace Name Mixin selector
      official c Ljp;c:I
      intermediary field_11378 Lnet/minecraft/class_2447;field_11378:I
      named outputCount Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;outputCount:I
    • pattern

      private final List<String> pattern
      Mappings:
      Namespace Name Mixin selector
      official d Ljp;d:Ljava/util/List;
      intermediary field_11377 Lnet/minecraft/class_2447;field_11377:Ljava/util/List;
      named pattern Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;pattern:Ljava/util/List;
    • inputs

      private final Map<Character,​Ingredient> inputs
      Mappings:
      Namespace Name Mixin selector
      official e Ljp;e:Ljava/util/Map;
      intermediary field_11376 Lnet/minecraft/class_2447;field_11376:Ljava/util/Map;
      named inputs Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;inputs:Ljava/util/Map;
    • builder

      private final Advancement.Task builder
      Mappings:
      Namespace Name Mixin selector
      official f Ljp;f:Ly$a;
      intermediary field_11379 Lnet/minecraft/class_2447;field_11379:Lnet/minecraft/class_161$class_162;
      named builder Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
    • group

      private String group
      Mappings:
      Namespace Name Mixin selector
      official g Ljp;g:Ljava/lang/String;
      intermediary field_11381 Lnet/minecraft/class_2447;field_11381:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;group:Ljava/lang/String;
  • Constructor Details

    • ShapedRecipeJsonFactory

      public ShapedRecipeJsonFactory​(ItemConvertible output, int outputCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljp;<init>(Lbtu;I)V
      intermediary <init> Lnet/minecraft/class_2447;<init>(Lnet/minecraft/class_1935;I)V
      named <init> Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;<init>(Lnet/minecraft/item/ItemConvertible;I)V
  • Method Details

    • create

      public static ShapedRecipeJsonFactory create​(ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Lbtu;)Ljp;
      intermediary method_10437 Lnet/minecraft/class_2447;method_10437(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2447;
      named create Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;create(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • create

      public static ShapedRecipeJsonFactory create​(ItemConvertible output, int outputCount)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Lbtu;I)Ljp;
      intermediary method_10436 Lnet/minecraft/class_2447;method_10436(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2447;
      named create Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;create(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • input

      public ShapedRecipeJsonFactory input​(Character c, Tag<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Ljava/lang/Character;Lafc;)Ljp;
      intermediary method_10433 Lnet/minecraft/class_2447;method_10433(Ljava/lang/Character;Lnet/minecraft/class_3494;)Lnet/minecraft/class_2447;
      named input Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;input(Ljava/lang/Character;Lnet/minecraft/tag/Tag;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • input

      public ShapedRecipeJsonFactory input​(Character c, ItemConvertible itemProvider)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Ljava/lang/Character;Lbtu;)Ljp;
      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/ShapedRecipeJsonFactory;input(Ljava/lang/Character;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • input

      public ShapedRecipeJsonFactory input​(Character c, Ingredient ingredient)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Ljava/lang/Character;Lbqk;)Ljp;
      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/ShapedRecipeJsonFactory;input(Ljava/lang/Character;Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • pattern

      public ShapedRecipeJsonFactory pattern​(String patternStr)
      Mappings:
      Namespace Name Mixin selector
      official b Ljp;b(Ljava/lang/String;)Ljp;
      intermediary method_10439 Lnet/minecraft/class_2447;method_10439(Ljava/lang/String;)Lnet/minecraft/class_2447;
      named pattern Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;pattern(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • criterion

      public ShapedRecipeJsonFactory criterion​(String string, CriterionConditions criterionConditions)
      Specified by:
      criterion in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official b Ljp;b(Ljava/lang/String;Lag;)Ljp;
      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/ShapedRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • group

      public ShapedRecipeJsonFactory group​(String string)
      Specified by:
      group in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official c Ljp;c(Ljava/lang/String;)Ljp;
      intermediary method_10435 Lnet/minecraft/class_2447;method_10435(Ljava/lang/String;)Lnet/minecraft/class_2447;
      named group Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;
    • offerTo

      public void offerTo​(Consumer<RecipeJsonProvider> exporter)
      Specified by:
      offerTo in interface CraftingRecipeJsonFactory
      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

      public void offerTo​(Consumer<RecipeJsonProvider> exporter, String recipeIdStr)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
      intermediary method_10438 Lnet/minecraft/class_2447;method_10438(Ljava/util/function/Consumer;Ljava/lang/String;)V
      named offerTo Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
    • offerTo

      public void offerTo​(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Ljava/util/function/Consumer;Lwb;)V
      intermediary method_10430 Lnet/minecraft/class_2447;method_10430(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate​(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Ljp;a(Lwb;)V
      intermediary method_10432 Lnet/minecraft/class_2447;method_10432(Lnet/minecraft/class_2960;)V
      named validate Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V