Uses of Class
net.minecraft.world.item.alchemy.Potion
Packages that use Potion
Package
Description
-
Uses of Potion in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers with type parameters of type PotionModifier and TypeFieldDescriptionBrewedPotionTrigger.TriggerInstance.potionThe field for thepotionrecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()Returns the value of thepotionrecord component.Method parameters in net.minecraft.advancements.triggers 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.data.tags
Subclasses with type arguments of type Potion in net.minecraft.data.tags -
Uses of Potion in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type PotionMethods in net.minecraft.tags that return types with 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 output, HolderLookup<Potion> potions, Item item, CreativeModeTab.TabVisibility tabVisibility, FeatureFlagSet enabledFeatures) -
Uses of Potion in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy with type parameters of type PotionModifier and TypeFieldDescriptionstatic final ResourceKey<Potion> PotionIds.AWKWARDPotions.AWKWARDPotion.CODECstatic final ResourceKey<Potion> PotionIds.FIRE_RESISTANCEPotions.FIRE_RESISTANCEstatic final ResourceKey<Potion> PotionIds.HARMINGPotions.HARMINGstatic final ResourceKey<Potion> PotionIds.HEALINGPotions.HEALINGstatic final ResourceKey<Potion> PotionIds.INFESTEDPotions.INFESTEDstatic final ResourceKey<Potion> PotionIds.INVISIBILITYPotions.INVISIBILITYstatic final ResourceKey<Potion> PotionIds.LEAPINGPotions.LEAPINGstatic final ResourceKey<Potion> PotionIds.LONG_FIRE_RESISTANCEPotions.LONG_FIRE_RESISTANCEstatic final ResourceKey<Potion> PotionIds.LONG_INVISIBILITYPotions.LONG_INVISIBILITYstatic final ResourceKey<Potion> PotionIds.LONG_LEAPINGPotions.LONG_LEAPINGstatic final ResourceKey<Potion> PotionIds.LONG_NIGHT_VISIONPotions.LONG_NIGHT_VISIONstatic final ResourceKey<Potion> PotionIds.LONG_POISONPotions.LONG_POISONstatic final ResourceKey<Potion> PotionIds.LONG_REGENERATIONPotions.LONG_REGENERATIONstatic final ResourceKey<Potion> PotionIds.LONG_SLOW_FALLINGPotions.LONG_SLOW_FALLINGstatic final ResourceKey<Potion> PotionIds.LONG_SLOWNESSPotions.LONG_SLOWNESSstatic final ResourceKey<Potion> PotionIds.LONG_STRENGTHPotions.LONG_STRENGTHstatic final ResourceKey<Potion> PotionIds.LONG_SWIFTNESSPotions.LONG_SWIFTNESSstatic final ResourceKey<Potion> PotionIds.LONG_TURTLE_MASTERPotions.LONG_TURTLE_MASTERstatic final ResourceKey<Potion> PotionIds.LONG_WATER_BREATHINGPotions.LONG_WATER_BREATHINGstatic final ResourceKey<Potion> PotionIds.LONG_WEAKNESSPotions.LONG_WEAKNESSstatic final ResourceKey<Potion> PotionIds.LUCKPotions.LUCKstatic final ResourceKey<Potion> PotionIds.MUNDANEPotions.MUNDANEstatic final ResourceKey<Potion> PotionIds.NIGHT_VISIONPotions.NIGHT_VISIONstatic final ResourceKey<Potion> PotionIds.OOZINGPotions.OOZINGstatic final ResourceKey<Potion> PotionIds.POISONPotions.POISONPotionContents.potionThe field for thepotionrecord component.private final List<PotionBrewing.Mix<Potion>> PotionBrewing.Builder.potionMixesprivate final List<PotionBrewing.Mix<Potion>> PotionBrewing.potionMixesstatic final ResourceKey<Potion> PotionIds.REGENERATIONPotions.REGENERATIONstatic final ResourceKey<Potion> PotionIds.SLOW_FALLINGPotions.SLOW_FALLINGstatic final ResourceKey<Potion> PotionIds.SLOWNESSPotions.SLOWNESSstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECstatic final ResourceKey<Potion> PotionIds.STRENGTHPotions.STRENGTHstatic final ResourceKey<Potion> PotionIds.STRONG_HARMINGPotions.STRONG_HARMINGstatic final ResourceKey<Potion> PotionIds.STRONG_HEALINGPotions.STRONG_HEALINGstatic final ResourceKey<Potion> PotionIds.STRONG_LEAPINGPotions.STRONG_LEAPINGstatic final ResourceKey<Potion> PotionIds.STRONG_POISONPotions.STRONG_POISONstatic final ResourceKey<Potion> PotionIds.STRONG_REGENERATIONPotions.STRONG_REGENERATIONstatic final ResourceKey<Potion> PotionIds.STRONG_SLOWNESSPotions.STRONG_SLOWNESSstatic final ResourceKey<Potion> PotionIds.STRONG_STRENGTHPotions.STRONG_STRENGTHstatic final ResourceKey<Potion> PotionIds.STRONG_SWIFTNESSPotions.STRONG_SWIFTNESSstatic final ResourceKey<Potion> PotionIds.STRONG_TURTLE_MASTERPotions.STRONG_TURTLE_MASTERstatic final ResourceKey<Potion> PotionIds.SWIFTNESSPotions.SWIFTNESSstatic final ResourceKey<Potion> PotionIds.THICKPotions.THICKstatic final ResourceKey<Potion> PotionIds.TURTLE_MASTERPotions.TURTLE_MASTERstatic final ResourceKey<Potion> PotionIds.WATERPotions.WATERstatic final ResourceKey<Potion> PotionIds.WATER_BREATHINGPotions.WATER_BREATHINGstatic final ResourceKey<Potion> PotionIds.WEAKNESSPotions.WEAKNESSstatic final ResourceKey<Potion> PotionIds.WEAVINGPotions.WEAVINGstatic final ResourceKey<Potion> PotionIds.WIND_CHARGEDPotions.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.private static ResourceKey<Potion> Potions.register(ResourceKey<Potion> key, Potion potion) Methods in net.minecraft.world.item.alchemy with parameters of type PotionMethod parameters in net.minecraft.world.item.alchemy with type arguments of type PotionModifier and TypeMethodDescriptionvoidvoidPotionBrewing.Builder.addStartMix(Item ingredient, Holder<Potion> potion) static ItemStackPotionContents.createItemStack(Item item, Holder<Potion> potion) booleanbooleanPotionBrewing.isBrewablePotion(Holder<Potion> potion) Potions.register(ResourceKey<Potion> key, Potion potion) PotionContents.withPotion(Holder<Potion> potion) 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> potion) -
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 PotionModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> SetRandomPotionFunction.fromTagKey(HolderSet<Potion> tagKey) static LootItemConditionalFunction.Builder<?> Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PotionModifierConstructorDescriptionprivateSetPotionFunction(List<LootItemCondition> predicates, Holder<Potion> potion) privateSetRandomPotionFunction(List<LootItemCondition> predicates, Optional<HolderSet<Potion>> options) -
Uses of Potion in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type PotionModifier and TypeFieldDescriptionTags.Potions.HIDDEN_FROM_RECIPE_VIEWERSTag that holds all enchantments that recipe viewers should not show to users.Methods in net.neoforged.neoforge.common that return types with arguments of type Potion