Uses of Class
net.minecraft.world.item.alchemy.Potion
Packages that use Potion
Package
Description
-
Uses of Potion in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type PotionModifier and TypeFieldDescriptionBrewedPotionTrigger.TriggerInstance.potion
The field for thepotion
record component.ItemPotionsPredicate.potions
The field for thepotions
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()
Returns the value of thepotion
record component.ItemPotionsPredicate.potions()
Returns the value of thepotions
record component.Method parameters in net.minecraft.advancements.critereon with type arguments of type PotionModifier and TypeMethodDescriptionboolean
static ItemSubPredicate
void
BrewedPotionTrigger.trigger
(ServerPlayer p_19121_, Holder<Potion> p_312693_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type PotionModifierConstructorDescriptionItemPotionsPredicate
(HolderSet<Potion> potions) Creates an instance of aItemPotionsPredicate
record class. -
Uses of Potion in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type Potion -
Uses of Potion in net.minecraft.world.entity.npc
Method parameters in net.minecraft.world.entity.npc with type arguments of type Potion -
Uses of Potion in net.minecraft.world.item
Method parameters in net.minecraft.world.item with type arguments of type PotionModifier and TypeMethodDescriptionprivate static void
CreativeModeTabs.generatePotionEffectTypes
(CreativeModeTab.Output p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_, FeatureFlagSet p_338372_) -
Uses of Potion in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy with type parameters of type PotionModifier and TypeFieldDescriptionPotions.AWKWARD
Potions.FIRE_RESISTANCE
Potions.HARMING
Potions.HEALING
Potions.INFESTED
Potions.INVISIBILITY
Potions.LEAPING
Potions.LONG_FIRE_RESISTANCE
Potions.LONG_INVISIBILITY
Potions.LONG_LEAPING
Potions.LONG_NIGHT_VISION
Potions.LONG_POISON
Potions.LONG_REGENERATION
Potions.LONG_SLOW_FALLING
Potions.LONG_SLOWNESS
Potions.LONG_STRENGTH
Potions.LONG_SWIFTNESS
Potions.LONG_TURTLE_MASTER
Potions.LONG_WATER_BREATHING
Potions.LONG_WEAKNESS
Potions.LUCK
Potions.MUNDANE
Potions.NIGHT_VISION
Potions.OOZING
Potions.POISON
PotionContents.potion
The field for thepotion
record component.private final List
<PotionBrewing.Mix<Potion>> PotionBrewing.Builder.potionMixes
private final List
<PotionBrewing.Mix<Potion>> PotionBrewing.potionMixes
Potions.REGENERATION
Potions.SLOW_FALLING
Potions.SLOWNESS
Potions.STRENGTH
Potions.STRONG_HARMING
Potions.STRONG_HEALING
Potions.STRONG_LEAPING
Potions.STRONG_POISON
Potions.STRONG_REGENERATION
Potions.STRONG_SLOWNESS
Potions.STRONG_STRENGTH
Potions.STRONG_SWIFTNESS
Potions.STRONG_TURTLE_MASTER
Potions.SWIFTNESS
Potions.THICK
Potions.TURTLE_MASTER
Potions.WATER
Potions.WATER_BREATHING
Potions.WEAKNESS
Potions.WEAVING
Potions.WIND_CHARGED
Methods in net.minecraft.world.item.alchemy that return PotionMethods in net.minecraft.world.item.alchemy that return types with arguments of type PotionModifier and TypeMethodDescriptionPotionContents.potion()
Returns the value of thepotion
record component.Methods in net.minecraft.world.item.alchemy with parameters of type PotionModifier and TypeMethodDescriptionMethod parameters in net.minecraft.world.item.alchemy with type arguments of type PotionModifier and TypeMethodDescriptionvoid
void
PotionBrewing.Builder.addStartMix
(Item p_341103_, Holder<Potion> p_341346_) static ItemStack
PotionContents.createItemStack
(Item p_330388_, Holder<Potion> p_331030_) static int
static String
boolean
boolean
PotionBrewing.isBrewablePotion
(Holder<Potion> p_316354_) PotionContents.withPotion
(Holder<Potion> p_330288_) Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type PotionModifierConstructorDescriptionPotionContents
(Optional<Holder<Potion>> potion, Optional<Integer> customColor, List<MobEffectInstance> customEffects) Creates an instance of aPotionContents
record class.PotionContents
(Holder<Potion> p_331208_) -
Uses of Potion in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type PotionMethod parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PotionConstructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PotionModifierConstructorDescriptionprivate
SetPotionFunction
(List<LootItemCondition> p_299010_, Holder<Potion> p_298587_)