Uses of Class
net.minecraft.world.item.alchemy.Potion
Packages that use Potion
Package
Description
-
Uses of Potion in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion with type parameters of type PotionModifier and TypeFieldDescriptionBrewedPotionTrigger.TriggerInstance.potionThe field for thepotionrecord component.Methods in net.minecraft.advancements.criterion that return types with arguments of type PotionModifier and TypeMethodDescriptionBrewedPotionTrigger.TriggerInstance.potion()Returns the value of thepotionrecord component.Method parameters in net.minecraft.advancements.criterion 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 Holder.Reference<Potion> Potions.AWKWARDPotion.CODECstatic final Holder.Reference<Potion> Potions.FIRE_RESISTANCEstatic final Holder.Reference<Potion> Potions.HARMINGstatic final Holder.Reference<Potion> Potions.HEALINGstatic final Holder.Reference<Potion> Potions.INFESTEDstatic final Holder.Reference<Potion> Potions.INVISIBILITYstatic final Holder.Reference<Potion> Potions.LEAPINGstatic final Holder.Reference<Potion> Potions.LONG_FIRE_RESISTANCEstatic final Holder.Reference<Potion> Potions.LONG_INVISIBILITYstatic final Holder.Reference<Potion> Potions.LONG_LEAPINGstatic final Holder.Reference<Potion> Potions.LONG_NIGHT_VISIONstatic final Holder.Reference<Potion> Potions.LONG_POISONstatic final Holder.Reference<Potion> Potions.LONG_REGENERATIONstatic final Holder.Reference<Potion> Potions.LONG_SLOW_FALLINGstatic final Holder.Reference<Potion> Potions.LONG_SLOWNESSstatic final Holder.Reference<Potion> Potions.LONG_STRENGTHstatic final Holder.Reference<Potion> Potions.LONG_SWIFTNESSstatic final Holder.Reference<Potion> Potions.LONG_TURTLE_MASTERstatic final Holder.Reference<Potion> Potions.LONG_WATER_BREATHINGstatic final Holder.Reference<Potion> Potions.LONG_WEAKNESSstatic final Holder.Reference<Potion> Potions.LUCKstatic final Holder.Reference<Potion> Potions.MUNDANEstatic final Holder.Reference<Potion> Potions.NIGHT_VISIONstatic final Holder.Reference<Potion> Potions.OOZINGstatic final Holder.Reference<Potion> Potions.POISONPotionContents.potionThe field for thepotionrecord component.private final List<PotionBrewing.Mix<Potion>> PotionBrewing.Builder.potionMixesprivate final List<PotionBrewing.Mix<Potion>> PotionBrewing.potionMixesstatic final Holder.Reference<Potion> Potions.REGENERATIONstatic final Holder.Reference<Potion> Potions.SLOW_FALLINGstatic final Holder.Reference<Potion> Potions.SLOWNESSstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECstatic final Holder.Reference<Potion> Potions.STRENGTHstatic final Holder.Reference<Potion> Potions.STRONG_HARMINGstatic final Holder.Reference<Potion> Potions.STRONG_HEALINGstatic final Holder.Reference<Potion> Potions.STRONG_LEAPINGstatic final Holder.Reference<Potion> Potions.STRONG_POISONstatic final Holder.Reference<Potion> Potions.STRONG_REGENERATIONstatic final Holder.Reference<Potion> Potions.STRONG_SLOWNESSstatic final Holder.Reference<Potion> Potions.STRONG_STRENGTHstatic final Holder.Reference<Potion> Potions.STRONG_SWIFTNESSstatic final Holder.Reference<Potion> Potions.STRONG_TURTLE_MASTERstatic final Holder.Reference<Potion> Potions.SWIFTNESSstatic final Holder.Reference<Potion> Potions.THICKstatic final Holder.Reference<Potion> Potions.TURTLE_MASTERstatic final Holder.Reference<Potion> Potions.WATERstatic final Holder.Reference<Potion> Potions.WATER_BREATHINGstatic final Holder.Reference<Potion> Potions.WEAKNESSstatic final Holder.Reference<Potion> Potions.WEAVINGstatic final Holder.Reference<Potion> Potions.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 TypeMethodDescriptionstatic Holder.Reference<Potion> PotionContents.potion()Returns the value of thepotionrecord component.private static Holder.Reference<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 Holder.Reference<Potion> static ItemStackPotionContents.createItemStack(Item item, Holder<Potion> potion) booleanbooleanPotionBrewing.isBrewablePotion(Holder<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(Optional<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)