Class ServerRecipeManager.PropertySetBuilder

java.lang.Object
net.minecraft.recipe.ServerRecipeManager.PropertySetBuilder
All Implemented Interfaces:
Consumer<Recipe<?>>
Enclosing class:
ServerRecipeManager

public static class ServerRecipeManager.PropertySetBuilder extends Object implements Consumer<Recipe<?>>
Mappings:
Namespace Name
named net/minecraft/recipe/ServerRecipeManager$PropertySetBuilder
intermediary net/minecraft/class_1863$class_10356
official dck$b
  • Field Details

    • propertySetKey

      final RegistryKey<RecipePropertySet> propertySetKey
      Mappings:
      Namespace Name Mixin selector
      named propertySetKey Lnet/minecraft/recipe/ServerRecipeManager$PropertySetBuilder;propertySetKey:Lnet/minecraft/registry/RegistryKey;
      intermediary field_54898 Lnet/minecraft/class_1863$class_10356;field_54898:Lnet/minecraft/class_5321;
      official a Ldck$b;a:Laly;
    • ingredientGetter

      private final ServerRecipeManager.SoleIngredientGetter ingredientGetter
      Mappings:
      Namespace Name Mixin selector
      named ingredientGetter Lnet/minecraft/recipe/ServerRecipeManager$PropertySetBuilder;ingredientGetter:Lnet/minecraft/recipe/ServerRecipeManager$SoleIngredientGetter;
      intermediary field_54899 Lnet/minecraft/class_1863$class_10356;field_54899:Lnet/minecraft/class_1863$class_10357;
      official b Ldck$b;b:Ldck$c;
    • ingredients

      private final List<Ingredient> ingredients
      Mappings:
      Namespace Name Mixin selector
      named ingredients Lnet/minecraft/recipe/ServerRecipeManager$PropertySetBuilder;ingredients:Ljava/util/List;
      intermediary field_54900 Lnet/minecraft/class_1863$class_10356;field_54900:Ljava/util/List;
      official c Ldck$b;c:Ljava/util/List;
  • Constructor Details

    • PropertySetBuilder

      protected PropertySetBuilder(RegistryKey<RecipePropertySet> propertySetKey, ServerRecipeManager.SoleIngredientGetter ingredientGetter)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/ServerRecipeManager$PropertySetBuilder;<init>(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/recipe/ServerRecipeManager$SoleIngredientGetter;)V
      intermediary <init> Lnet/minecraft/class_1863$class_10356;<init>(Lnet/minecraft/class_5321;Lnet/minecraft/class_1863$class_10357;)V
      official <init> Ldck$b;<init>(Laly;Ldck$c;)V
  • Method Details

    • accept

      public void accept(Recipe<?> recipe)
      Specified by:
      accept in interface Consumer<Recipe<?>>
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/recipe/ServerRecipeManager$PropertySetBuilder;accept(Lnet/minecraft/recipe/Recipe;)V
      intermediary method_64995 Lnet/minecraft/class_1863$class_10356;method_64995(Lnet/minecraft/class_1860;)V
      official a Ldck$b;a(Ldcd;)V
    • build

      public RecipePropertySet build(FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/recipe/ServerRecipeManager$PropertySetBuilder;build(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/recipe/RecipePropertySet;
      intermediary method_64994 Lnet/minecraft/class_1863$class_10356;method_64994(Lnet/minecraft/class_7699;)Lnet/minecraft/class_10290;
      official a Ldck$b;a(Lcss;)Ldcm;