Uses of Record Class
net.minecraft.world.item.alchemy.PotionContents
Packages that use PotionContents
Package
Description
-
Uses of PotionContents in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon that return types with arguments of type PotionContentsMethods in net.minecraft.advancements.critereon with parameters of type PotionContentsModifier and TypeMethodDescriptionbooleanItemPotionsPredicate.matches(ItemStack p_333755_, PotionContents p_333955_) -
Uses of PotionContents in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type PotionContentsModifier and TypeFieldDescriptionstatic final DataComponentType<PotionContents> DataComponents.POTION_CONTENTS -
Uses of PotionContents in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as PotionContentsMethods in net.minecraft.world.entity with parameters of type PotionContentsModifier and TypeMethodDescriptionvoidAreaEffectCloud.setPotionContents(PotionContents p_330869_) -
Uses of PotionContents in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return PotionContentsMethods in net.minecraft.world.entity.projectile with parameters of type PotionContentsModifier and TypeMethodDescriptionprivate voidThrownPotion.makeAreaOfEffectCloud(PotionContents p_332124_) private voidArrow.setPotionContents(PotionContents p_331534_) -
Uses of PotionContents in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as PotionContentsFields in net.minecraft.world.item.alchemy with type parameters of type PotionContentsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PotionContents> PotionContents.CODECprivate static final com.mojang.serialization.Codec<PotionContents> PotionContents.FULL_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PotionContents> PotionContents.STREAM_CODECMethods in net.minecraft.world.item.alchemy that return PotionContentsModifier and TypeMethodDescriptionPotionContents.withEffectAdded(MobEffectInstance p_332083_) PotionContents.withPotion(Holder<Potion> p_330288_)