Uses of Class
net.minecraft.world.item.alchemy.Potion
Packages that use Potion
Package
Description
-
Uses of Potion in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type PotionModifier and TypeFieldDescriptionBrewedPotionTrigger.TriggerInstance.potionThe field for thepotionrecord component.ItemPotionsPredicate.potionsThe field for thepotionsrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()Returns the value of thepotionrecord component.ItemPotionsPredicate.potions()Returns the value of thepotionsrecord component.Method parameters in net.minecraft.advancements.critereon with type arguments of type PotionModifier and TypeMethodDescriptionbooleanstatic ItemSubPredicatevoidBrewedPotionTrigger.trigger(ServerPlayer p_19121_, Holder<Potion> p_312693_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type PotionModifierConstructorDescriptionItemPotionsPredicate(HolderSet<Potion> potions) Creates an instance of aItemPotionsPredicaterecord class. -
Uses of Potion in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type Potion -
Uses of Potion in net.minecraft.world.entity.npc
Method parameters in net.minecraft.world.entity.npc with type arguments of type Potion -
Uses of Potion in net.minecraft.world.item
Method parameters in net.minecraft.world.item with type arguments of type PotionModifier and TypeMethodDescriptionprivate static voidCreativeModeTabs.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
Fields in net.minecraft.world.item.alchemy with type parameters of type PotionModifier and TypeFieldDescriptionPotions.AWKWARDPotions.FIRE_RESISTANCEPotions.HARMINGPotions.HEALINGPotions.INFESTEDPotions.INVISIBILITYPotions.LEAPINGPotions.LONG_FIRE_RESISTANCEPotions.LONG_INVISIBILITYPotions.LONG_LEAPINGPotions.LONG_NIGHT_VISIONPotions.LONG_POISONPotions.LONG_REGENERATIONPotions.LONG_SLOW_FALLINGPotions.LONG_SLOWNESSPotions.LONG_STRENGTHPotions.LONG_SWIFTNESSPotions.LONG_TURTLE_MASTERPotions.LONG_WATER_BREATHINGPotions.LONG_WEAKNESSPotions.LUCKPotions.MUNDANEPotions.NIGHT_VISIONPotions.OOZINGPotions.POISONPotionContents.potionThe field for thepotionrecord component.private final List<PotionBrewing.Mix<Potion>> PotionBrewing.Builder.potionMixesprivate final List<PotionBrewing.Mix<Potion>> PotionBrewing.potionMixesPotions.REGENERATIONPotions.SLOW_FALLINGPotions.SLOWNESSPotions.STRENGTHPotions.STRONG_HARMINGPotions.STRONG_HEALINGPotions.STRONG_LEAPINGPotions.STRONG_POISONPotions.STRONG_REGENERATIONPotions.STRONG_SLOWNESSPotions.STRONG_STRENGTHPotions.STRONG_SWIFTNESSPotions.STRONG_TURTLE_MASTERPotions.SWIFTNESSPotions.THICKPotions.TURTLE_MASTERPotions.WATERPotions.WATER_BREATHINGPotions.WEAKNESSPotions.WEAVINGPotions.WIND_CHARGEDMethods in net.minecraft.world.item.alchemy that return PotionMethods in net.minecraft.world.item.alchemy that return types with arguments of type PotionModifier and TypeMethodDescriptionPotionContents.potion()Returns the value of thepotionrecord component.Methods in net.minecraft.world.item.alchemy with parameters of type PotionModifier and TypeMethodDescriptionMethod parameters in net.minecraft.world.item.alchemy with type arguments of type PotionModifier and TypeMethodDescriptionvoidvoidPotionBrewing.Builder.addStartMix(Item p_341103_, Holder<Potion> p_341346_) static ItemStackPotionContents.createItemStack(Item p_330388_, Holder<Potion> p_331030_) static intstatic StringbooleanbooleanPotionBrewing.isBrewablePotion(Holder<Potion> p_316354_) PotionContents.withPotion(Holder<Potion> p_330288_) Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type PotionModifierConstructorDescriptionPotionContents(Optional<Holder<Potion>> potion, Optional<Integer> customColor, List<MobEffectInstance> customEffects) Creates an instance of aPotionContentsrecord class.PotionContents(Holder<Potion> p_331208_) -
Uses of Potion in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type PotionMethod parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PotionConstructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PotionModifierConstructorDescriptionprivateSetPotionFunction(List<LootItemCondition> p_299010_, Holder<Potion> p_298587_)