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.component.type
Fields in net.minecraft.component.type with type parameters of type PotionModifier and TypeFieldDescriptionprivate final Optional<RegistryEntry<Potion>> PotionContentsComponent.potionThe field for thepotionrecord component.Methods in net.minecraft.component.type that return types with arguments of type PotionModifier and TypeMethodDescriptionPotionContentsComponent.potion()Returns the value of thepotionrecord component.Method parameters in net.minecraft.component.type with type arguments of type PotionModifier and TypeMethodDescriptionstatic ItemStackPotionContentsComponent.createStack(Item item, RegistryEntry<Potion> potion) static intPotionContentsComponent.getColor(RegistryEntry<Potion> potion) booleanPotionContentsComponent.matches(RegistryEntry<Potion> potion) PotionContentsComponent.with(RegistryEntry<Potion> potion) Constructor parameters in net.minecraft.component.type with type arguments of type PotionModifierConstructorDescriptionPotionContentsComponent(Optional<RegistryEntry<Potion>> optional, Optional<Integer> optional2, List<StatusEffectInstance> list) PotionContentsComponent(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, FeatureSet enabledFeatures) -
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 com.mojang.serialization.Codec<RegistryEntry<Potion>> Potion.CODECstatic final RegistryEntry<Potion> Potions.FIRE_RESISTANCEstatic final RegistryEntry<Potion> Potions.HARMINGstatic final RegistryEntry<Potion> Potions.HEALINGstatic final RegistryEntry<Potion> Potions.INFESTEDstatic 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.OOZINGstatic final PacketCodec<RegistryByteBuf, RegistryEntry<Potion>> Potion.PACKET_CODECstatic 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.WEAKNESSstatic final RegistryEntry<Potion> Potions.WEAVINGstatic final RegistryEntry<Potion> Potions.WIND_CHARGEDMethods in net.minecraft.potion that return PotionMethods in net.minecraft.potion that return types with arguments of type PotionModifier and TypeMethodDescriptionprivate static RegistryEntry<Potion> static RegistryEntry<Potion> Potions.registerAndGetDefault(Registry<Potion> registry) Methods in net.minecraft.potion with parameters of type PotionMethod parameters in net.minecraft.potion with type arguments of type PotionModifier and TypeMethodDescriptionstatic StringPotion.finishTranslationKey(Optional<RegistryEntry<Potion>> potion, String prefix) static RegistryEntry<Potion> Potions.registerAndGetDefault(Registry<Potion> registry) -
Uses of Potion in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type PotionModifier and TypeFieldDescriptionprivate final RegistryEntryList<Potion> PotionContentsPredicate.potionsThe field for thepotionsrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type PotionModifier and TypeMethodDescriptionPotionContentsPredicate.potions()Returns the value of thepotionsrecord component.Method parameters in net.minecraft.predicate.item with type arguments of type PotionModifier and TypeMethodDescriptionstatic ItemSubPredicatePotionContentsPredicate.potionContents(RegistryEntryList<Potion> potions) Constructor parameters in net.minecraft.predicate.item with type arguments of type PotionModifierConstructorDescriptionPotionContentsPredicate(RegistryEntryList<Potion> registryEntryList) -
Uses of Potion in net.minecraft.recipe
Fields in net.minecraft.recipe with type parameters of type PotionModifier and TypeFieldDescriptionprivate final List<BrewingRecipeRegistry.Recipe<Potion>> BrewingRecipeRegistry.Builder.potionRecipesprivate final List<BrewingRecipeRegistry.Recipe<Potion>> BrewingRecipeRegistry.potionRecipesMethod parameters in net.minecraft.recipe with type arguments of type PotionModifier and TypeMethodDescriptionbooleanBrewingRecipeRegistry.isBrewable(RegistryEntry<Potion> potion) voidBrewingRecipeRegistry.Builder.registerPotionRecipe(RegistryEntry<Potion> input, Item ingredient, RegistryEntry<Potion> output) voidBrewingRecipeRegistry.Builder.registerRecipes(Item ingredient, RegistryEntry<Potion> potion) -
Uses of Potion in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type Potion -
Uses of Potion in net.minecraft.village
Method parameters in net.minecraft.village with type arguments of type PotionModifier and TypeMethodDescriptionprivate static TradedItemTradeOffers.createPotion(RegistryEntry<Potion> potion) private static ItemStackTradeOffers.createPotionStack(RegistryEntry<Potion> potion)