Uses of Record Class
net.minecraft.component.type.PotionContentsComponent
Packages that use PotionContentsComponent
Package
Description
-
Uses of PotionContentsComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type PotionContentsComponentModifier and TypeFieldDescriptionstatic final ComponentType
<PotionContentsComponent> DataComponentTypes.POTION_CONTENTS
-
Uses of PotionContentsComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as PotionContentsComponentModifier and TypeFieldDescriptionstatic final PotionContentsComponent
PotionContentsComponent.DEFAULT
Fields in net.minecraft.component.type with type parameters of type PotionContentsComponentModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<PotionContentsComponent> PotionContentsComponent.BASE_CODEC
static final com.mojang.serialization.Codec
<PotionContentsComponent> PotionContentsComponent.CODEC
static final PacketCodec
<RegistryByteBuf, PotionContentsComponent> PotionContentsComponent.PACKET_CODEC
Methods in net.minecraft.component.type that return PotionContentsComponentModifier and TypeMethodDescriptionPotionContentsComponent.with
(StatusEffectInstance customEffect) PotionContentsComponent.with
(RegistryEntry<Potion> potion) -
Uses of PotionContentsComponent in net.minecraft.entity
Fields in net.minecraft.entity declared as PotionContentsComponentModifier and TypeFieldDescriptionprivate PotionContentsComponent
AreaEffectCloudEntity.potionContentsComponent
Methods in net.minecraft.entity with parameters of type PotionContentsComponentModifier and TypeMethodDescriptionvoid
AreaEffectCloudEntity.setPotionContents
(PotionContentsComponent potionContentsComponent) -
Uses of PotionContentsComponent in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return PotionContentsComponentModifier and TypeMethodDescriptionprivate PotionContentsComponent
ArrowEntity.getPotionContents()
Methods in net.minecraft.entity.projectile with parameters of type PotionContentsComponentModifier and TypeMethodDescriptionprivate void
ArrowEntity.setPotionContents
(PotionContentsComponent potionContentsComponent) -
Uses of PotionContentsComponent in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item that return types with arguments of type PotionContentsComponentMethods in net.minecraft.predicate.item with parameters of type PotionContentsComponentModifier and TypeMethodDescriptionboolean
PotionContentsPredicate.test
(PotionContentsComponent potionContentsComponent)