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.potionThe field for thepotionrecord component.Methods in net.minecraft.advancement.criterion that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionCriterion.Conditions.potion()Returns the value of thepotionrecord component.Method parameters in net.minecraft.advancement.criterion with type arguments of type PotionModifier and TypeMethodDescriptionbooleanBrewedPotionCriterion.Conditions.matches(RegistryEntry<Potion> potion) voidBrewedPotionCriterion.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 TypeMethodDescriptionvoidAreaEffectCloudEntity.setPotion(RegistryEntry<Potion> potion) -
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 voidPotionEntity.applyLingeringPotion(ItemStack stack, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.item
Method parameters in net.minecraft.item with type arguments of type PotionModifier and TypeMethodDescriptionprivate static voidItemGroups.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.potionMethod parameters in net.minecraft.loot.function with type arguments of type PotionModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?> SetPotionLootFunction.builder(RegistryEntry<Potion> potion) Constructor parameters in net.minecraft.loot.function with type arguments of type PotionModifierConstructorDescriptionprivateSetPotionLootFunction(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.AWKWARDstatic final RegistryEntry<Potion> Potions.EMPTYstatic final RegistryKey<Potion> Potions.EMPTY_KEYstatic final RegistryEntry<Potion> Potions.FIRE_RESISTANCEstatic final RegistryEntry<Potion> Potions.HARMINGstatic final RegistryEntry<Potion> Potions.HEALINGstatic final RegistryEntry<Potion> Potions.INVISIBILITYstatic final RegistryEntry<Potion> Potions.LEAPINGstatic final RegistryEntry<Potion> Potions.LONG_FIRE_RESISTANCEstatic final RegistryEntry<Potion> Potions.LONG_INVISIBILITYstatic final RegistryEntry<Potion> Potions.LONG_LEAPINGstatic final RegistryEntry<Potion> Potions.LONG_NIGHT_VISIONstatic final RegistryEntry<Potion> Potions.LONG_POISONstatic final RegistryEntry<Potion> Potions.LONG_REGENERATIONstatic final RegistryEntry<Potion> Potions.LONG_SLOW_FALLINGstatic final RegistryEntry<Potion> Potions.LONG_SLOWNESSstatic final RegistryEntry<Potion> Potions.LONG_STRENGTHstatic final RegistryEntry<Potion> Potions.LONG_SWIFTNESSstatic final RegistryEntry<Potion> Potions.LONG_TURTLE_MASTERstatic final RegistryEntry<Potion> Potions.LONG_WATER_BREATHINGstatic final RegistryEntry<Potion> Potions.LONG_WEAKNESSstatic final RegistryEntry<Potion> Potions.LUCKstatic final RegistryEntry<Potion> Potions.MUNDANEstatic final RegistryEntry<Potion> Potions.NIGHT_VISIONstatic final RegistryEntry<Potion> Potions.POISONstatic final RegistryEntry<Potion> Potions.REGENERATIONstatic final RegistryEntry<Potion> Potions.SLOW_FALLINGstatic final RegistryEntry<Potion> Potions.SLOWNESSstatic final RegistryEntry<Potion> Potions.STRENGTHstatic final RegistryEntry<Potion> Potions.STRONG_HARMINGstatic final RegistryEntry<Potion> Potions.STRONG_HEALINGstatic final RegistryEntry<Potion> Potions.STRONG_LEAPINGstatic final RegistryEntry<Potion> Potions.STRONG_POISONstatic final RegistryEntry<Potion> Potions.STRONG_REGENERATIONstatic final RegistryEntry<Potion> Potions.STRONG_SLOWNESSstatic final RegistryEntry<Potion> Potions.STRONG_STRENGTHstatic final RegistryEntry<Potion> Potions.STRONG_SWIFTNESSstatic final RegistryEntry<Potion> Potions.STRONG_TURTLE_MASTERstatic final RegistryEntry<Potion> Potions.SWIFTNESSstatic final RegistryEntry<Potion> Potions.THICKstatic final RegistryEntry<Potion> Potions.TURTLE_MASTERstatic final RegistryEntry<Potion> Potions.WATERstatic final RegistryEntry<Potion> Potions.WATER_BREATHINGstatic final RegistryEntry<Potion> Potions.WEAKNESSMethods 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) private static RegistryEntry<Potion> private static RegistryEntry<Potion> Potions.register(RegistryKey<Potion> key, Potion potion) static RegistryEntry<Potion> Potions.registerAndGetDefault(Registry<Potion> registry) 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 StringPotion.finishTranslationKey(RegistryEntry<Potion> potion, String prefix) static intPotionUtil.getColor(RegistryEntry<Potion> potion) static List<StatusEffectInstance> PotionUtil.getPotionEffects(RegistryEntry<Potion> potion, Collection<StatusEffectInstance> custom) private static RegistryEntry<Potion> Potions.register(RegistryKey<Potion> key, Potion potion) static RegistryEntry<Potion> Potions.registerAndGetDefault(Registry<Potion> registry) static ItemStackPotionUtil.setPotion(ItemStack stack, RegistryEntry<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.potionprivate final Optional<RegistryEntry<Potion>> ItemPredicate.potionThe field for thepotionrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type PotionModifier and TypeMethodDescriptionItemPredicate.potion()Returns the value of thepotionrecord component.Method parameters in net.minecraft.predicate.item with type arguments of type Potion -
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_RECIPESMethod parameters in net.minecraft.recipe with type arguments of type PotionModifier and TypeMethodDescriptionstatic booleanBrewingRecipeRegistry.isBrewable(RegistryEntry<Potion> potion) private static voidBrewingRecipeRegistry.registerPotionRecipe(RegistryEntry<Potion> input, Item item, RegistryEntry<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.POTIONstatic 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 ItemStackTradeOffers.createPotionStack(RegistryEntry<Potion> potion)