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 das
  • 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 Ldas;a:Ldas;
    • 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_52598 Lnet/minecraft/class_9887;field_52598:Ljava/util/List;
      official b Ldas;b: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 c Ldas;c:Ljava/util/List;
  • Constructor Details

    • IngredientPlacement

      private IngredientPlacement(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;)V
      intermediary <init> Lnet/minecraft/class_9887;<init>(Ljava/util/List;Ljava/util/List;)V
      official <init> Ldas;<init>(Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • toRawIngredient

      private static RecipeMatcher.RawIngredient<RegistryEntry<Item>> toRawIngredient(List<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      named toRawIngredient Lnet/minecraft/recipe/IngredientPlacement;toRawIngredient(Ljava/util/List;)Lnet/minecraft/recipe/RecipeMatcher$RawIngredient;
      intermediary method_61688 Lnet/minecraft/class_9887;method_61688(Ljava/util/List;)Lnet/minecraft/class_1662$class_9873;
      official c Ldas;c(Ljava/util/List;)Lcov$a;
    • getMatchingStacks

      private static List<ItemStack> getMatchingStacks(Ingredient ingredient)
      Mappings:
      Namespace Name Mixin selector
      named getMatchingStacks Lnet/minecraft/recipe/IngredientPlacement;getMatchingStacks(Lnet/minecraft/recipe/Ingredient;)Ljava/util/List;
      intermediary method_61685 Lnet/minecraft/class_9887;method_61685(Lnet/minecraft/class_1856;)Ljava/util/List;
      official b Ldas;b(Ldap;)Ljava/util/List;
    • 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 a Ldas;a(Ldap;)Ldas;
    • 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 Ldas;a(Ljava/util/List;)Ldas;
    • 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 Ldas;b(Ljava/util/List;)Ldas;
    • 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 Ldas;a()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_61684 Lnet/minecraft/class_9887;method_61684()Ljava/util/List;
      official b Ldas;b()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 c Ldas;c()Z