Uses of Class
net.minecraft.world.item.alchemy.Potion
Package
Description
-
Uses of Potion in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionBrewedPotionTrigger.TriggerInstance.potion
The field for thepotion
record component.ItemPotionsPredicate.potions
The field for thepotions
record component.Modifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()
Returns the value of thepotion
record component.ItemPotionsPredicate.potions()
Returns the value of thepotions
record component.Modifier and TypeMethodDescriptionboolean
static ItemSubPredicate
void
BrewedPotionTrigger.trigger
(ServerPlayer p_19121_, Holder<Potion> p_312693_) ModifierConstructorDescriptionItemPotionsPredicate
(HolderSet<Potion> potions) Creates an instance of aItemPotionsPredicate
record class. -
Uses of Potion in net.minecraft.core.registries
-
Uses of Potion in net.minecraft.world.entity.npc
-
Uses of Potion in net.minecraft.world.item
Modifier 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
Modifier and TypeFieldDescriptionPotions.AWKWARD
Potion.CODEC
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
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODEC
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
Modifier and TypeMethodDescriptionPotionContents.potion()
Returns the value of thepotion
record component.Modifier and TypeMethodDescriptionModifier 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_) ModifierConstructorDescriptionPotionContents
(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
ModifierConstructorDescriptionprivate
SetPotionFunction
(List<LootItemCondition> p_299010_, Holder<Potion> p_298587_)