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.Methods in net.minecraft.advancements.critereon that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()Returns the value of thepotionrecord component.Method parameters in net.minecraft.advancements.critereon with type arguments of type Potion -
Uses of Potion in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type PotionModifier and TypeFieldDescriptionPotionsPredicate.potionsThe field for thepotionsrecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type PotionModifier and TypeMethodDescriptionPotionsPredicate.potions()Returns the value of thepotionsrecord component.Method parameters in net.minecraft.core.component.predicates with type arguments of type PotionConstructor parameters in net.minecraft.core.component.predicates with type arguments of type PotionModifierConstructorDescriptionPotionsPredicate(HolderSet<Potion> potions) Creates an instance of aPotionsPredicaterecord 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 pOutput, HolderLookup<Potion> pPotions, Item pItem, CreativeModeTab.TabVisibility pTabVisibility, FeatureFlagSet pRequiredFeatures) -
Uses of Potion in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy with type parameters of type PotionModifier and TypeFieldDescriptionPotions.AWKWARDPotion.CODECPotions.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.SLOWNESSstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECPotions.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 pReagent, Holder<Potion> pResult) static ItemStackPotionContents.createItemStack(Item pItem, Holder<Potion> pPotion) booleanbooleanPotionBrewing.isBrewablePotion(Holder<Potion> pPotion) PotionContents.withPotion(Holder<Potion> pPotion) Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type PotionModifierConstructorDescriptionPotionContents(Optional<Holder<Potion>> potion, Optional<Integer> customColor, List<MobEffectInstance> customEffects, Optional<String> customName) 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> pConditions, Holder<Potion> pPotion)