public class SpongePotionEffectData extends AbstractData<org.spongepowered.api.data.manipulator.mutable.PotionEffectData,org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData> implements org.spongepowered.api.data.manipulator.mutable.PotionEffectData
Constructor and Description |
---|
SpongePotionEffectData(List<org.spongepowered.api.potion.PotionEffect> effects) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData |
asImmutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.mutable.PotionEffectData o) |
org.spongepowered.api.data.manipulator.mutable.PotionEffectData |
copy() |
org.spongepowered.api.data.value.mutable.ListValue<org.spongepowered.api.potion.PotionEffect> |
effects() |
protected void |
registerGettersAndSetters() |
org.spongepowered.api.data.DataContainer |
toContainer() |
equals, fill, from, get, getKeys, getValue, getValues, hashCode, registerFieldGetter, registerFieldSetter, registerKeyValue, set, supports, transform
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public SpongePotionEffectData(List<org.spongepowered.api.potion.PotionEffect> effects)
public org.spongepowered.api.data.value.mutable.ListValue<org.spongepowered.api.potion.PotionEffect> effects()
effects
in interface org.spongepowered.api.data.manipulator.mutable.PotionEffectData
public org.spongepowered.api.data.manipulator.mutable.PotionEffectData copy()
copy
in interface org.spongepowered.api.data.manipulator.DataManipulator<org.spongepowered.api.data.manipulator.mutable.PotionEffectData,org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData>
copy
in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.manipulator.mutable.PotionEffectData>
public org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData asImmutable()
asImmutable
in interface org.spongepowered.api.data.manipulator.DataManipulator<org.spongepowered.api.data.manipulator.mutable.PotionEffectData,org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData>
public int compareTo(org.spongepowered.api.data.manipulator.mutable.PotionEffectData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.mutable.PotionEffectData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
protected void registerGettersAndSetters()
registerGettersAndSetters
in class AbstractData<org.spongepowered.api.data.manipulator.mutable.PotionEffectData,org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData>