Package net.minecraft.recipe
Class IngredientPlacement
java.lang.Object
net.minecraft.recipe.IngredientPlacement
- Mappings:
Namespace Name named net/minecraft/recipe/IngredientPlacementintermediary net/minecraft/class_9887official dag
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IngredientPlacementprivate final List<Optional<IngredientPlacement.PlacementSlot>> private final List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIngredientPlacement(List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, List<Optional<IngredientPlacement.PlacementSlot>> placementSlots) -
Method Summary
Modifier and TypeMethodDescriptionstatic IngredientPlacementforMultipleSlots(List<Optional<Ingredient>> ingredients) static IngredientPlacementforShapeless(List<Ingredient> ingredients) static IngredientPlacementforSingleSlot(Ingredient ingredient) getMatchingStacks(Ingredient ingredient) booleanprivate static RecipeMatcher.RawIngredient<RegistryEntry<Item>> toRawIngredient(List<ItemStack> stacks)
-
Field Details
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/recipe/IngredientPlacement;NONE:Lnet/minecraft/recipe/IngredientPlacement;intermediary field_52597Lnet/minecraft/class_9887;field_52597:Lnet/minecraft/class_9887;official aLdag;a:Ldag;
-
rawIngredients
- Mappings:
Namespace Name Mixin selector named rawIngredientsLnet/minecraft/recipe/IngredientPlacement;rawIngredients:Ljava/util/List;intermediary field_52598Lnet/minecraft/class_9887;field_52598:Ljava/util/List;official bLdag;b:Ljava/util/List;
-
placementSlots
- Mappings:
Namespace Name Mixin selector named placementSlotsLnet/minecraft/recipe/IngredientPlacement;placementSlots:Ljava/util/List;intermediary field_52599Lnet/minecraft/class_9887;field_52599:Ljava/util/List;official cLdag;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;)Vintermediary <init>Lnet/minecraft/class_9887;<init>(Ljava/util/List;Ljava/util/List;)Vofficial <init>Ldag;<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 toRawIngredientLnet/minecraft/recipe/IngredientPlacement;toRawIngredient(Ljava/util/List;)Lnet/minecraft/recipe/RecipeMatcher$RawIngredient;intermediary method_61688Lnet/minecraft/class_9887;method_61688(Ljava/util/List;)Lnet/minecraft/class_1662$class_9873;official cLdag;c(Ljava/util/List;)Lcny$a;
-
getMatchingStacks
- Mappings:
Namespace Name Mixin selector named getMatchingStacksLnet/minecraft/recipe/IngredientPlacement;getMatchingStacks(Lnet/minecraft/recipe/Ingredient;)Ljava/util/List;intermediary method_61685Lnet/minecraft/class_9887;method_61685(Lnet/minecraft/class_1856;)Ljava/util/List;official bLdag;b(Ldad;)Ljava/util/List;
-
forSingleSlot
- Mappings:
Namespace Name Mixin selector named forSingleSlotLnet/minecraft/recipe/IngredientPlacement;forSingleSlot(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/recipe/IngredientPlacement;intermediary method_61682Lnet/minecraft/class_9887;method_61682(Lnet/minecraft/class_1856;)Lnet/minecraft/class_9887;official aLdag;a(Ldad;)Ldag;
-
forMultipleSlots
- Mappings:
Namespace Name Mixin selector named forMultipleSlotsLnet/minecraft/recipe/IngredientPlacement;forMultipleSlots(Ljava/util/List;)Lnet/minecraft/recipe/IngredientPlacement;intermediary method_61683Lnet/minecraft/class_9887;method_61683(Ljava/util/List;)Lnet/minecraft/class_9887;official aLdag;a(Ljava/util/List;)Ldag;
-
forShapeless
- Mappings:
Namespace Name Mixin selector named forShapelessLnet/minecraft/recipe/IngredientPlacement;forShapeless(Ljava/util/List;)Lnet/minecraft/recipe/IngredientPlacement;intermediary method_61686Lnet/minecraft/class_9887;method_61686(Ljava/util/List;)Lnet/minecraft/class_9887;official bLdag;b(Ljava/util/List;)Ldag;
-
getPlacementSlots
- Mappings:
Namespace Name Mixin selector named getPlacementSlotsLnet/minecraft/recipe/IngredientPlacement;getPlacementSlots()Ljava/util/List;intermediary method_61681Lnet/minecraft/class_9887;method_61681()Ljava/util/List;official aLdag;a()Ljava/util/List;
-
getRawIngredients
- Mappings:
Namespace Name Mixin selector named getRawIngredientsLnet/minecraft/recipe/IngredientPlacement;getRawIngredients()Ljava/util/List;intermediary method_61684Lnet/minecraft/class_9887;method_61684()Ljava/util/List;official bLdag;b()Ljava/util/List;
-
hasNoPlacement
public boolean hasNoPlacement()- Mappings:
Namespace Name Mixin selector named hasNoPlacementLnet/minecraft/recipe/IngredientPlacement;hasNoPlacement()Zintermediary method_61687Lnet/minecraft/class_9887;method_61687()Zofficial cLdag;c()Z
-