Uses of Class
net.minecraft.potion.Potion
Packages that use Potion
Package
Description
-
Uses of Potion in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type PotionModifier and TypeFieldDescriptionprivate final Optional<RegistryEntry<Potion>>
BrewedPotionCriterion.Conditions.potion
The field for thepotion
record component.Methods in net.minecraft.advancement.criterion that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionCriterion.Conditions.potion()
Returns the value of thepotion
record component.Method parameters in net.minecraft.advancement.criterion with type arguments of type PotionModifier and TypeMethodDescriptionboolean
BrewedPotionCriterion.Conditions.matches
(RegistryEntry<Potion> potion) void
BrewedPotionCriterion.trigger
(ServerPlayerEntity player, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.entity
Fields in net.minecraft.entity declared as PotionMethods in net.minecraft.entity that return PotionMethods in net.minecraft.entity with parameters of type Potion -
Uses of Potion in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile declared as Potion -
Uses of Potion in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type PotionModifier and TypeMethodDescriptionprivate void
PotionEntity.applyLingeringPotion
(ItemStack stack, Potion potion) -
Uses of Potion in net.minecraft.item
Method parameters in net.minecraft.item with type arguments of type PotionModifier and TypeMethodDescriptionprivate static void
ItemGroups.addPotions
(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility) -
Uses of Potion in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type PotionModifier and TypeFieldDescriptionprivate final RegistryEntry<Potion>
SetPotionLootFunction.potion
Methods in net.minecraft.loot.function with parameters of type PotionConstructor parameters in net.minecraft.loot.function with type arguments of type PotionModifierConstructorDescriptionprivate
SetPotionLootFunction
(List<LootCondition> conditions, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.potion
Fields in net.minecraft.potion declared as PotionModifier and TypeFieldDescriptionstatic final Potion
Potions.AWKWARD
static final Potion
Potions.EMPTY
static final Potion
Potions.FIRE_RESISTANCE
static final Potion
Potions.HARMING
static final Potion
Potions.HEALING
static final Potion
Potions.INVISIBILITY
static final Potion
Potions.LEAPING
static final Potion
Potions.LONG_FIRE_RESISTANCE
static final Potion
Potions.LONG_INVISIBILITY
static final Potion
Potions.LONG_LEAPING
static final Potion
Potions.LONG_NIGHT_VISION
static final Potion
Potions.LONG_POISON
static final Potion
Potions.LONG_REGENERATION
static final Potion
Potions.LONG_SLOW_FALLING
static final Potion
Potions.LONG_SLOWNESS
static final Potion
Potions.LONG_STRENGTH
static final Potion
Potions.LONG_SWIFTNESS
static final Potion
Potions.LONG_TURTLE_MASTER
static final Potion
Potions.LONG_WATER_BREATHING
static final Potion
Potions.LONG_WEAKNESS
static final Potion
Potions.LUCK
static final Potion
Potions.MUNDANE
static final Potion
Potions.NIGHT_VISION
static final Potion
Potions.POISON
static final Potion
Potions.REGENERATION
static final Potion
Potions.SLOW_FALLING
static final Potion
Potions.SLOWNESS
static final Potion
Potions.STRENGTH
static final Potion
Potions.STRONG_HARMING
static final Potion
Potions.STRONG_HEALING
static final Potion
Potions.STRONG_LEAPING
static final Potion
Potions.STRONG_POISON
static final Potion
Potions.STRONG_REGENERATION
static final Potion
Potions.STRONG_SLOWNESS
static final Potion
Potions.STRONG_STRENGTH
static final Potion
Potions.STRONG_SWIFTNESS
static final Potion
Potions.STRONG_TURTLE_MASTER
static final Potion
Potions.SWIFTNESS
static final Potion
Potions.THICK
static final Potion
Potions.TURTLE_MASTER
static final Potion
Potions.WATER
static final Potion
Potions.WATER_BREATHING
static final Potion
Potions.WEAKNESS
Fields in net.minecraft.potion with type parameters of type PotionModifier and TypeFieldDescriptionstatic RegistryKey<Potion>
Potions.EMPTY_KEY
private final RegistryEntry.Reference<Potion>
Potion.registryEntry
Methods in net.minecraft.potion that return PotionModifier and TypeMethodDescriptionstatic Potion
static Potion
static Potion
PotionUtil.getPotion
(@Nullable NbtCompound compound) private static Potion
private static Potion
Potions.register
(RegistryKey<Potion> key, Potion potion) Methods in net.minecraft.potion that return types with arguments of type PotionMethods in net.minecraft.potion with parameters of type PotionModifier and TypeMethodDescriptionstatic int
static List<StatusEffectInstance>
PotionUtil.getPotionEffects
(Potion potion, Collection<StatusEffectInstance> custom) private static Potion
private static Potion
Potions.register
(RegistryKey<Potion> key, Potion potion) static ItemStack
Method parameters in net.minecraft.potion with type arguments of type PotionModifier and TypeMethodDescriptionprivate static Potion
Potions.register
(RegistryKey<Potion> key, Potion potion) -
Uses of Potion in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type PotionModifier and TypeFieldDescriptionprivate Optional<RegistryEntry<Potion>>
ItemPredicate.Builder.potion
private final Optional<RegistryEntry<Potion>>
ItemPredicate.potion
The field for thepotion
record component.Methods in net.minecraft.predicate.item that return types with arguments of type PotionModifier and TypeMethodDescriptionItemPredicate.potion()
Returns the value of thepotion
record component.Methods in net.minecraft.predicate.item with parameters of type PotionModifier and TypeMethodDescription -
Uses of Potion in net.minecraft.recipe
Fields in net.minecraft.recipe with type parameters of type PotionModifier and TypeFieldDescriptionprivate static final List<BrewingRecipeRegistry.Recipe<Potion>>
BrewingRecipeRegistry.POTION_RECIPES
Methods in net.minecraft.recipe with parameters of type PotionModifier and TypeMethodDescriptionstatic boolean
BrewingRecipeRegistry.isBrewable
(Potion potion) private static void
BrewingRecipeRegistry.registerPotionRecipe
(Potion input, Item item, Potion output) -
Uses of Potion in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type PotionModifier and TypeFieldDescriptionstatic final DefaultedRegistry<Potion>
Registries.POTION
static final RegistryKey<Registry<Potion>>
RegistryKeys.POTION
-
Uses of Potion in net.minecraft.village
Methods in net.minecraft.village with parameters of type PotionModifier and TypeMethodDescriptionprivate static ItemStack
TradeOffers.createPotionStack
(Potion potion)