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 with type parameters of type PotionMethods in net.minecraft.entity that return types with arguments of type PotionMethod parameters in net.minecraft.entity with type arguments of type PotionModifier and TypeMethodDescriptionvoid
AreaEffectCloudEntity.setPotion
(RegistryEntry<Potion> registryEntry) -
Uses of Potion in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile with type parameters of type Potion -
Uses of Potion in net.minecraft.entity.projectile.thrown
Method parameters in net.minecraft.entity.projectile.thrown with type arguments of type PotionModifier and TypeMethodDescriptionprivate void
PotionEntity.applyLingeringPotion
(ItemStack stack, RegistryEntry<Potion> registryEntry) -
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
Method parameters in net.minecraft.loot.function with type arguments of type PotionModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
SetPotionLootFunction.builder
(RegistryEntry<Potion> registryEntry) Constructor 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 with type parameters of type PotionModifier and TypeFieldDescriptionstatic final RegistryEntry<Potion>
Potions.AWKWARD
static final RegistryEntry<Potion>
Potions.EMPTY
static final RegistryKey<Potion>
Potions.EMPTY_KEY
static final RegistryEntry<Potion>
Potions.FIRE_RESISTANCE
static final RegistryEntry<Potion>
Potions.HARMING
static final RegistryEntry<Potion>
Potions.HEALING
static final RegistryEntry<Potion>
Potions.INVISIBILITY
static final RegistryEntry<Potion>
Potions.LEAPING
static final RegistryEntry<Potion>
Potions.LONG_FIRE_RESISTANCE
static final RegistryEntry<Potion>
Potions.LONG_INVISIBILITY
static final RegistryEntry<Potion>
Potions.LONG_LEAPING
static final RegistryEntry<Potion>
Potions.LONG_NIGHT_VISION
static final RegistryEntry<Potion>
Potions.LONG_POISON
static final RegistryEntry<Potion>
Potions.LONG_REGENERATION
static final RegistryEntry<Potion>
Potions.LONG_SLOW_FALLING
static final RegistryEntry<Potion>
Potions.LONG_SLOWNESS
static final RegistryEntry<Potion>
Potions.LONG_STRENGTH
static final RegistryEntry<Potion>
Potions.LONG_SWIFTNESS
static final RegistryEntry<Potion>
Potions.LONG_TURTLE_MASTER
static final RegistryEntry<Potion>
Potions.LONG_WATER_BREATHING
static final RegistryEntry<Potion>
Potions.LONG_WEAKNESS
static final RegistryEntry<Potion>
Potions.LUCK
static final RegistryEntry<Potion>
Potions.MUNDANE
static final RegistryEntry<Potion>
Potions.NIGHT_VISION
static final RegistryEntry<Potion>
Potions.POISON
static final RegistryEntry<Potion>
Potions.REGENERATION
static final RegistryEntry<Potion>
Potions.SLOW_FALLING
static final RegistryEntry<Potion>
Potions.SLOWNESS
static final RegistryEntry<Potion>
Potions.STRENGTH
static final RegistryEntry<Potion>
Potions.STRONG_HARMING
static final RegistryEntry<Potion>
Potions.STRONG_HEALING
static final RegistryEntry<Potion>
Potions.STRONG_LEAPING
static final RegistryEntry<Potion>
Potions.STRONG_POISON
static final RegistryEntry<Potion>
Potions.STRONG_REGENERATION
static final RegistryEntry<Potion>
Potions.STRONG_SLOWNESS
static final RegistryEntry<Potion>
Potions.STRONG_STRENGTH
static final RegistryEntry<Potion>
Potions.STRONG_SWIFTNESS
static final RegistryEntry<Potion>
Potions.STRONG_TURTLE_MASTER
static final RegistryEntry<Potion>
Potions.SWIFTNESS
static final RegistryEntry<Potion>
Potions.THICK
static final RegistryEntry<Potion>
Potions.TURTLE_MASTER
static final RegistryEntry<Potion>
Potions.WATER
static final RegistryEntry<Potion>
Potions.WATER_BREATHING
static final RegistryEntry<Potion>
Potions.WEAKNESS
Methods in net.minecraft.potion that return types with arguments of type PotionModifier and TypeMethodDescriptionstatic RegistryEntry<Potion>
static RegistryEntry<Potion>
static RegistryEntry<Potion>
PotionUtil.getPotion
(@Nullable NbtCompound compound) static RegistryEntry<Potion>
Potions.method_55763
(Registry<Potion> registry) private static RegistryEntry<Potion>
private static RegistryEntry<Potion>
Potions.register
(RegistryKey<Potion> key, Potion potion) Methods in net.minecraft.potion with parameters of type PotionModifier and TypeMethodDescriptionprivate static RegistryEntry<Potion>
private static RegistryEntry<Potion>
Potions.register
(RegistryKey<Potion> key, Potion potion) Method parameters in net.minecraft.potion with type arguments of type PotionModifier and TypeMethodDescriptionstatic String
Potion.finishTranslationKey
(RegistryEntry<Potion> registryEntry, String string) static int
PotionUtil.getColor
(RegistryEntry<Potion> registryEntry) static List<StatusEffectInstance>
PotionUtil.getPotionEffects
(RegistryEntry<Potion> registryEntry, Collection<StatusEffectInstance> custom) static RegistryEntry<Potion>
Potions.method_55763
(Registry<Potion> registry) private static RegistryEntry<Potion>
Potions.register
(RegistryKey<Potion> key, Potion potion) static ItemStack
PotionUtil.setPotion
(ItemStack stack, RegistryEntry<Potion> registryEntry) -
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.Method parameters in net.minecraft.predicate.item with type arguments of type PotionModifier and TypeMethodDescriptionItemPredicate.Builder.potion
(RegistryEntry<Potion> registryEntry) -
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
Method parameters in net.minecraft.recipe with type arguments of type PotionModifier and TypeMethodDescriptionstatic boolean
BrewingRecipeRegistry.isBrewable
(RegistryEntry<Potion> registryEntry) private static void
BrewingRecipeRegistry.registerPotionRecipe
(RegistryEntry<Potion> registryEntry, Item item, RegistryEntry<Potion> registryEntry2) -
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
Method parameters in net.minecraft.village with type arguments of type PotionModifier and TypeMethodDescriptionprivate static ItemStack
TradeOffers.createPotionStack
(RegistryEntry<Potion> registryEntry)