public interface PotionEffectData extends ListData<PotionEffect,PotionEffectData,ImmutablePotionEffectData>
List
of PotionEffect
s that can be applicable to
various DataHolder
s such as Entity
s, ItemStack
s as
ItemTypes.POTION
, etc.Modifier and Type | Method and Description |
---|---|
default ListValue<PotionEffect> |
effects()
Gets the
ListValue of the PotionEffect s. |
addElement, addElement, addElements, asList, contains, get, getListValue, remove, remove, removeAll, removeAll, setElement, setElements
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
default ListValue<PotionEffect> effects()
ListValue
of the PotionEffect
s.Keys.POTION_EFFECTS