Class PlacementInfo
java.lang.Object
net.minecraft.world.item.crafting.PlacementInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate final List<Ingredient> static final PlacementInfoprivate final it.unimi.dsi.fastutil.ints.IntList -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePlacementInfo(List<Ingredient> pIngredients, it.unimi.dsi.fastutil.ints.IntList pSlotsToIngredientIndex) -
Method Summary
Modifier and TypeMethodDescriptionstatic PlacementInfocreate(List<Ingredient> pIngredients) static PlacementInfocreate(Ingredient pIngredient) static PlacementInfocreateFromOptionals(List<Optional<Ingredient>> pOptionals) booleanit.unimi.dsi.fastutil.ints.IntList
-
Field Details
-
EMPTY_SLOT
public static final int EMPTY_SLOT- See Also:
-
NOT_PLACEABLE
-
ingredients
-
slotsToIngredientIndex
private final it.unimi.dsi.fastutil.ints.IntList slotsToIngredientIndex
-
-
Constructor Details
-
PlacementInfo
private PlacementInfo(List<Ingredient> pIngredients, it.unimi.dsi.fastutil.ints.IntList pSlotsToIngredientIndex)
-
-
Method Details
-
create
-
createFromOptionals
-
create
-
slotsToIngredientIndex
public it.unimi.dsi.fastutil.ints.IntList slotsToIngredientIndex() -
ingredients
-
isImpossibleToPlace
public boolean isImpossibleToPlace()
-