public interface ImmutablePotionEffectData extends ImmutableListData<PotionEffect,ImmutablePotionEffectData,PotionEffectData>
ImmutableDataManipulator
that handles the various
PotionEffect
s that may either affect an Entity
or be
contained within an ItemStack
of the type ItemTypes.POTION
.Modifier and Type | Method and Description |
---|---|
default ImmutableListValue<PotionEffect> |
effects()
Gets the
ImmutableListValue of the PotionEffect s. |
asList, contains, get, getListValue
asMutable, copy, with, with
getContentVersion, toContainer
default ImmutableListValue<PotionEffect> effects()
ImmutableListValue
of the PotionEffect
s.