public class ImmutableSpongePotionEffectData extends AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData,org.spongepowered.api.data.manipulator.mutable.PotionEffectData> implements org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData
Constructor and Description |
---|
ImmutableSpongePotionEffectData(List<org.spongepowered.api.potion.PotionEffect> effects) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.PotionEffectData |
asMutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData o) |
org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData |
copy() |
org.spongepowered.api.data.value.immutable.ImmutableListValue<org.spongepowered.api.potion.PotionEffect> |
effects() |
protected void |
registerGetters() |
org.spongepowered.api.data.DataContainer |
toContainer() |
equals, get, getKeys, getOrElse, getOrNull, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, supports, supports, with, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongePotionEffectData(List<org.spongepowered.api.potion.PotionEffect> effects)
public org.spongepowered.api.data.value.immutable.ImmutableListValue<org.spongepowered.api.potion.PotionEffect> effects()
effects
in interface org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData
public org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData copy()
copy
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData,org.spongepowered.api.data.manipulator.mutable.PotionEffectData>
copy
in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData>
public org.spongepowered.api.data.manipulator.mutable.PotionEffectData asMutable()
asMutable
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData,org.spongepowered.api.data.manipulator.mutable.PotionEffectData>
public int compareTo(org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
protected void registerGetters()
registerGetters
in class AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData,org.spongepowered.api.data.manipulator.mutable.PotionEffectData>