public interface ImmutablePotionEffectData extends ImmutableListData<PotionEffect,ImmutablePotionEffectData,PotionEffectData>
ImmutableDataManipulator that handles the various
PotionEffects 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 PotionEffects. |
asList, contains, get, getListValueasMutable, copy, with, withgetContentVersion, toContainerdefault ImmutableListValue<PotionEffect> effects()
ImmutableListValue of the PotionEffects.