Uses of Record Class
net.minecraft.core.component.predicates.PotionsPredicate
Packages that use PotionsPredicate
Package
Description
-
Uses of PotionsPredicate in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers with type parameters of type PotionsPredicateModifier and TypeFieldDescriptionprivate final Optional<PotionsPredicate> BrewedPotionTrigger.TriggerInstance.potionThe field for thepotionrecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type PotionsPredicateModifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()Returns the value of thepotionrecord component. -
Uses of PotionsPredicate in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type PotionsPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PotionsPredicate> PotionsPredicate.CODECstatic final DataComponentPredicate.Type<PotionsPredicate> DataComponentPredicates.POTIONSstatic final StreamCodec<RegistryFriendlyByteBuf, PotionsPredicate> PotionsPredicate.STREAM_CODECMethods in net.minecraft.core.component.predicates that return PotionsPredicate -
Uses of PotionsPredicate in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes with parameters of type PotionsPredicateModifier and TypeMethodDescriptionBrewingRecipeBuilder.getExactPotion(PotionsPredicate predicate) -
Uses of PotionsPredicate in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type PotionsPredicateModifier and TypeFieldDescriptionprivate final Optional<PotionsPredicate> PotionIngredient.potionsThe field for thepotionsrecord component.Methods in net.minecraft.world.item.crafting that return types with arguments of type PotionsPredicateModifier and TypeMethodDescriptionPotionIngredient.potions()Returns the value of thepotionsrecord component.Methods in net.minecraft.world.item.crafting with parameters of type PotionsPredicateModifier and TypeMethodDescriptionstatic PotionIngredientPotionIngredient.of(Item item, PotionsPredicate potions) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type PotionsPredicateModifierConstructorDescriptionPotionIngredient(Ingredient ingredient, Optional<PotionsPredicate> potions) Creates an instance of aPotionIngredientrecord class.