public interface PotionEffectData extends ListData<PotionEffect,PotionEffectData,ImmutablePotionEffectData>
List of PotionEffects that can be applicable to
various DataHolders such as Entitys, ItemStacks as
ItemTypes.POTION, etc.| Modifier and Type | Method and Description |
|---|---|
default ListValue<PotionEffect> |
effects()
Gets the
ListValue of the PotionEffects. |
addElement, addElement, addElements, asList, contains, get, getListValue, remove, remove, removeAll, removeAll, setElement, setElementsasImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerdefault ListValue<PotionEffect> effects()
ListValue of the PotionEffects.Keys.POTION_EFFECTS