Class IngredientPlacement

java.lang.Object
net.minecraft.recipe.IngredientPlacement

public class IngredientPlacement extends Object
Mappings:
Namespace Name
named net/minecraft/recipe/IngredientPlacement
intermediary net/minecraft/class_9887
official dcc
  • Field Details

    • NONE

      public static final IngredientPlacement NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/recipe/IngredientPlacement;NONE:Lnet/minecraft/recipe/IngredientPlacement;
      intermediary field_52597 Lnet/minecraft/class_9887;field_52597:Lnet/minecraft/class_9887;
      official a Ldcc;a:Ldcc;
    • ingredients

      private final List<Ingredient> ingredients
      Mappings:
      Namespace Name Mixin selector
      named ingredients Lnet/minecraft/recipe/IngredientPlacement;ingredients:Ljava/util/List;
      intermediary field_54635 Lnet/minecraft/class_9887;field_54635:Ljava/util/List;
      official b Ldcc;b:Ljava/util/List;
    • rawIngredients

      private final List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients
      Mappings:
      Namespace Name Mixin selector
      named rawIngredients Lnet/minecraft/recipe/IngredientPlacement;rawIngredients:Ljava/util/List;
      intermediary field_54636 Lnet/minecraft/class_9887;field_54636:Ljava/util/List;
      official c Ldcc;c:Ljava/util/List;
    • placementSlots

      private final List<Optional<IngredientPlacement.PlacementSlot>> placementSlots
      Mappings:
      Namespace Name Mixin selector
      named placementSlots Lnet/minecraft/recipe/IngredientPlacement;placementSlots:Ljava/util/List;
      intermediary field_52599 Lnet/minecraft/class_9887;field_52599:Ljava/util/List;
      official d Ldcc;d:Ljava/util/List;
  • Constructor Details

    • IngredientPlacement

      private IngredientPlacement(List<Ingredient> ingredients, List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, List<Optional<IngredientPlacement.PlacementSlot>> placementSlots)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/IngredientPlacement;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_9887;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
      official <init> Ldcc;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • sort

      public static RecipeMatcher.RawIngredient<RegistryEntry<Item>> sort(Ingredient ingredient)
      Mappings:
      Namespace Name Mixin selector
      named sort Lnet/minecraft/recipe/IngredientPlacement;sort(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/recipe/RecipeMatcher$RawIngredient;
      intermediary method_64674 Lnet/minecraft/class_9887;method_64674(Lnet/minecraft/class_1856;)Lnet/minecraft/class_1662$class_9873;
      official a Ldcc;a(Ldbz;)Lcqa$a;
    • forSingleSlot

      public static IngredientPlacement forSingleSlot(Ingredient ingredient)
      Mappings:
      Namespace Name Mixin selector
      named forSingleSlot Lnet/minecraft/recipe/IngredientPlacement;forSingleSlot(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/recipe/IngredientPlacement;
      intermediary method_61682 Lnet/minecraft/class_9887;method_61682(Lnet/minecraft/class_1856;)Lnet/minecraft/class_9887;
      official b Ldcc;b(Ldbz;)Ldcc;
    • forMultipleSlots

      public static IngredientPlacement forMultipleSlots(List<Optional<Ingredient>> ingredients)
      Mappings:
      Namespace Name Mixin selector
      named forMultipleSlots Lnet/minecraft/recipe/IngredientPlacement;forMultipleSlots(Ljava/util/List;)Lnet/minecraft/recipe/IngredientPlacement;
      intermediary method_61683 Lnet/minecraft/class_9887;method_61683(Ljava/util/List;)Lnet/minecraft/class_9887;
      official a Ldcc;a(Ljava/util/List;)Ldcc;
    • forShapeless

      public static IngredientPlacement forShapeless(List<Ingredient> ingredients)
      Mappings:
      Namespace Name Mixin selector
      named forShapeless Lnet/minecraft/recipe/IngredientPlacement;forShapeless(Ljava/util/List;)Lnet/minecraft/recipe/IngredientPlacement;
      intermediary method_61686 Lnet/minecraft/class_9887;method_61686(Ljava/util/List;)Lnet/minecraft/class_9887;
      official b Ldcc;b(Ljava/util/List;)Ldcc;
    • getPlacementSlots

      public List<Optional<IngredientPlacement.PlacementSlot>> getPlacementSlots()
      Mappings:
      Namespace Name Mixin selector
      named getPlacementSlots Lnet/minecraft/recipe/IngredientPlacement;getPlacementSlots()Ljava/util/List;
      intermediary method_61681 Lnet/minecraft/class_9887;method_61681()Ljava/util/List;
      official a Ldcc;a()Ljava/util/List;
    • getIngredients

      public List<Ingredient> getIngredients()
      Mappings:
      Namespace Name Mixin selector
      named getIngredients Lnet/minecraft/recipe/IngredientPlacement;getIngredients()Ljava/util/List;
      intermediary method_64675 Lnet/minecraft/class_9887;method_64675()Ljava/util/List;
      official b Ldcc;b()Ljava/util/List;
    • getRawIngredients

      public List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> getRawIngredients()
      Mappings:
      Namespace Name Mixin selector
      named getRawIngredients Lnet/minecraft/recipe/IngredientPlacement;getRawIngredients()Ljava/util/List;
      intermediary method_64676 Lnet/minecraft/class_9887;method_64676()Ljava/util/List;
      official c Ldcc;c()Ljava/util/List;
    • hasNoPlacement

      public boolean hasNoPlacement()
      Mappings:
      Namespace Name Mixin selector
      named hasNoPlacement Lnet/minecraft/recipe/IngredientPlacement;hasNoPlacement()Z
      intermediary method_61687 Lnet/minecraft/class_9887;method_61687()Z
      official d Ldcc;d()Z