Class ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider

java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder.CraftingRecipeJsonProvider
net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider
All Implemented Interfaces:
RecipeJsonProvider
Enclosing class:
ShapedRecipeJsonBuilder

private static class ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider extends RecipeJsonBuilder.CraftingRecipeJsonProvider
Mappings:
Namespace Name
official lv$a
intermediary net/minecraft/class_2447$class_2448
named net/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Llv$a;a:Laew;
      intermediary field_11385 Lnet/minecraft/class_2447$class_2448;field_11385:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;id:Lnet/minecraft/util/Identifier;
    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official b Llv$a;b:Lcja;
      intermediary field_11383 Lnet/minecraft/class_2447$class_2448;field_11383:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;output:Lnet/minecraft/item/Item;
    • resultCount

      private final int resultCount
      Mappings:
      Namespace Name Mixin selector
      official c Llv$a;c:I
      intermediary field_11386 Lnet/minecraft/class_2447$class_2448;field_11386:I
      named resultCount Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;resultCount:I
    • group

      private final String group
      Mappings:
      Namespace Name Mixin selector
      official d Llv$a;d:Ljava/lang/String;
      intermediary field_11387 Lnet/minecraft/class_2447$class_2448;field_11387:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;group:Ljava/lang/String;
    • pattern

      private final List<String> pattern
      Mappings:
      Namespace Name Mixin selector
      official e Llv$a;e:Ljava/util/List;
      intermediary field_11384 Lnet/minecraft/class_2447$class_2448;field_11384:Ljava/util/List;
      named pattern Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;pattern:Ljava/util/List;
    • inputs

      private final Map<Character,Ingredient> inputs
      Mappings:
      Namespace Name Mixin selector
      official f Llv$a;f:Ljava/util/Map;
      intermediary field_11388 Lnet/minecraft/class_2447$class_2448;field_11388:Ljava/util/Map;
      named inputs Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;inputs:Ljava/util/Map;
    • advancement

      private final AdvancementEntry advancement
      Mappings:
      Namespace Name Mixin selector
      official g Llv$a;g:Laf;
      intermediary field_11389 Lnet/minecraft/class_2447$class_2448;field_11389:Lnet/minecraft/class_8779;
      named advancement Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;advancement:Lnet/minecraft/advancement/AdvancementEntry;
    • showNotification

      private final boolean showNotification
      Mappings:
      Namespace Name Mixin selector
      official h Llv$a;h:Z
      intermediary field_42957 Lnet/minecraft/class_2447$class_2448;field_42957:Z
      named showNotification Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;showNotification:Z
  • Constructor Details

    • ShapedRecipeJsonProvider

      public ShapedRecipeJsonProvider(Identifier id, Item output, int resultCount, String group, CraftingRecipeCategory craftingCategory, List<String> pattern, Map<Character,Ingredient> inputs, AdvancementEntry advancement, boolean showNotification)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llv$a;<init>(Laew;Lcja;ILjava/lang/String;Lcly;Ljava/util/List;Ljava/util/Map;Laf;Z)V
      intermediary <init> Lnet/minecraft/class_2447$class_2448;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1792;ILjava/lang/String;Lnet/minecraft/class_7710;Ljava/util/List;Ljava/util/Map;Lnet/minecraft/class_8779;Z)V
      named <init> Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/item/Item;ILjava/lang/String;Lnet/minecraft/recipe/book/CraftingRecipeCategory;Ljava/util/List;Ljava/util/Map;Lnet/minecraft/advancement/AdvancementEntry;Z)V
  • Method Details

    • serialize

      public void serialize(com.google.gson.JsonObject json)
      Specified by:
      serialize in interface RecipeJsonProvider
      Overrides:
      serialize in class RecipeJsonBuilder.CraftingRecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official a Llq;a(Lcom/google/gson/JsonObject;)V
      intermediary method_10416 Lnet/minecraft/class_2444;method_10416(Lcom/google/gson/JsonObject;)V
      named serialize Lnet/minecraft/data/server/recipe/RecipeJsonProvider;serialize(Lcom/google/gson/JsonObject;)V
    • serializer

      public RecipeSerializer<?> serializer()
      Mappings:
      Namespace Name Mixin selector
      official c Llq;c()Lcmm;
      intermediary comp_1231 Lnet/minecraft/class_2444;comp_1231()Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/RecipeJsonProvider;serializer()Lnet/minecraft/recipe/RecipeSerializer;
    • id

      public Identifier id()
      Mappings:
      Namespace Name Mixin selector
      official b Llq;b()Laew;
      intermediary comp_1230 Lnet/minecraft/class_2444;comp_1230()Lnet/minecraft/class_2960;
      named id Lnet/minecraft/data/server/recipe/RecipeJsonProvider;id()Lnet/minecraft/util/Identifier;
    • advancement

      public AdvancementEntry advancement()
      Mappings:
      Namespace Name Mixin selector
      official d Llq;d()Laf;
      intermediary comp_1235 Lnet/minecraft/class_2444;comp_1235()Lnet/minecraft/class_8779;
      named advancement Lnet/minecraft/data/server/recipe/RecipeJsonProvider;advancement()Lnet/minecraft/advancement/AdvancementEntry;