Uses of Class
net.minecraft.potion.Potion
Package
Description
-
Uses of Potion in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<Potion>> BrewedPotionCriterion.Conditions.potion
The field for thepotion
record component.Modifier and TypeMethodDescriptionBrewedPotionCriterion.Conditions.potion()
Returns the value of thepotion
record component.Modifier and TypeMethodDescriptionboolean
BrewedPotionCriterion.Conditions.matches
(RegistryEntry<Potion> potion) void
BrewedPotionCriterion.trigger
(ServerPlayerEntity player, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<Potion>> PotionContentsComponent.potion
The field for thepotion
record component.Modifier and TypeMethodDescriptionPotionContentsComponent.potion()
Returns the value of thepotion
record component.Modifier and TypeMethodDescriptionstatic ItemStack
PotionContentsComponent.createStack
(Item item, RegistryEntry<Potion> potion) static int
PotionContentsComponent.getColor
(RegistryEntry<Potion> potion) boolean
PotionContentsComponent.matches
(RegistryEntry<Potion> potion) PotionContentsComponent.with
(RegistryEntry<Potion> potion) ModifierConstructorDescriptionPotionContentsComponent
(Optional<RegistryEntry<Potion>> optional, Optional<Integer> optional2, List<StatusEffectInstance> list, Optional<String> optional3) PotionContentsComponent
(RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.item
Modifier and TypeMethodDescriptionprivate static void
ItemGroups.addPotions
(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) -
Uses of Potion in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<Potion> SetPotionLootFunction.potion
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder
<?> SetPotionLootFunction.builder
(RegistryEntry<Potion> potion) ModifierConstructorDescriptionprivate
SetPotionLootFunction
(List<LootCondition> conditions, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.potion
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<Potion> Potions.AWKWARD
static final com.mojang.serialization.Codec
<RegistryEntry<Potion>> Potion.CODEC
static final RegistryEntry
<Potion> Potions.FIRE_RESISTANCE
static final RegistryEntry
<Potion> Potions.HARMING
static final RegistryEntry
<Potion> Potions.HEALING
static final RegistryEntry
<Potion> Potions.INFESTED
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.OOZING
static final PacketCodec
<RegistryByteBuf, RegistryEntry<Potion>> Potion.PACKET_CODEC
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
static final RegistryEntry
<Potion> Potions.WEAVING
static final RegistryEntry
<Potion> Potions.WIND_CHARGED
Modifier and TypeMethodDescriptionprivate static RegistryEntry
<Potion> static RegistryEntry
<Potion> Potions.registerAndGetDefault
(Registry<Potion> registry) Modifier and TypeMethodDescriptionstatic RegistryEntry
<Potion> Potions.registerAndGetDefault
(Registry<Potion> registry) -
Uses of Potion in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final RegistryEntryList
<Potion> PotionContentsPredicate.potions
The field for thepotions
record component.Modifier and TypeMethodDescriptionPotionContentsPredicate.potions()
Returns the value of thepotions
record component.Modifier and TypeMethodDescriptionstatic ItemSubPredicate
PotionContentsPredicate.potionContents
(RegistryEntryList<Potion> potions) ModifierConstructorDescriptionPotionContentsPredicate
(RegistryEntryList<Potion> registryEntryList) -
Uses of Potion in net.minecraft.recipe
Modifier and TypeFieldDescriptionprivate final List
<BrewingRecipeRegistry.Recipe<Potion>> BrewingRecipeRegistry.Builder.potionRecipes
private final List
<BrewingRecipeRegistry.Recipe<Potion>> BrewingRecipeRegistry.potionRecipes
Modifier and TypeMethodDescriptionboolean
BrewingRecipeRegistry.isBrewable
(RegistryEntry<Potion> potion) void
BrewingRecipeRegistry.Builder.registerPotionRecipe
(RegistryEntry<Potion> input, Item ingredient, RegistryEntry<Potion> output) void
BrewingRecipeRegistry.Builder.registerRecipes
(Item ingredient, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.registry
-
Uses of Potion in net.minecraft.village
Modifier and TypeMethodDescriptionprivate static TradedItem
TradeOffers.createPotion
(RegistryEntry<Potion> potion) private static ItemStack
TradeOffers.createPotionStack
(RegistryEntry<Potion> potion)