Uses of Record Class
net.minecraft.world.item.alchemy.PotionContents
Packages that use PotionContents
Package
Description
-
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.core.component.predicates
Classes in net.minecraft.core.component.predicates that implement interfaces with type arguments of type PotionContentsMethods in net.minecraft.core.component.predicates that return types with arguments of type PotionContentsMethods in net.minecraft.core.component.predicates with parameters of type PotionContentsModifier and TypeMethodDescriptionbooleanPotionsPredicate.matches(PotionContents potionContents) -
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 contents) -
Uses of PotionContents in net.minecraft.world.entity.projectile.arrow
Methods in net.minecraft.world.entity.projectile.arrow that return PotionContentsMethods in net.minecraft.world.entity.projectile.arrow with parameters of type PotionContentsModifier and TypeMethodDescriptionprivate voidArrow.setPotionContents(PotionContents potionContents) -
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 effect) PotionContents.withPotion(Holder<Potion> potion)