public class SpongeColoredData extends AbstractSingleData<Color,org.spongepowered.api.data.manipulator.mutable.ColoredData,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData> implements org.spongepowered.api.data.manipulator.mutable.ColoredData
usedKey
Constructor and Description |
---|
SpongeColoredData() |
SpongeColoredData(Color value) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData |
asImmutable() |
org.spongepowered.api.data.value.mutable.Value<Color> |
color() |
int |
compareTo(org.spongepowered.api.data.manipulator.mutable.ColoredData o) |
org.spongepowered.api.data.manipulator.mutable.ColoredData |
copy() |
protected org.spongepowered.api.data.value.mutable.Value<?> |
getValueGetter() |
org.spongepowered.api.data.DataContainer |
toContainer() |
equals, get, getValue, hashCode, registerGettersAndSetters, setValue, supports
fill, from, getKeys, getValue, getValues, registerFieldGetter, registerFieldSetter, registerKeyValue, set, transform
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public SpongeColoredData()
public SpongeColoredData(Color value)
public org.spongepowered.api.data.manipulator.mutable.ColoredData copy()
copy
in interface org.spongepowered.api.data.manipulator.DataManipulator<org.spongepowered.api.data.manipulator.mutable.ColoredData,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData>
copy
in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.manipulator.mutable.ColoredData>
protected org.spongepowered.api.data.value.mutable.Value<?> getValueGetter()
getValueGetter
in class AbstractSingleData<Color,org.spongepowered.api.data.manipulator.mutable.ColoredData,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData>
public org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData asImmutable()
asImmutable
in interface org.spongepowered.api.data.manipulator.DataManipulator<org.spongepowered.api.data.manipulator.mutable.ColoredData,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData>
asImmutable
in class AbstractSingleData<Color,org.spongepowered.api.data.manipulator.mutable.ColoredData,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData>
public int compareTo(org.spongepowered.api.data.manipulator.mutable.ColoredData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.mutable.ColoredData>
compareTo
in class AbstractSingleData<Color,org.spongepowered.api.data.manipulator.mutable.ColoredData,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
public org.spongepowered.api.data.value.mutable.Value<Color> color()
color
in interface org.spongepowered.api.data.manipulator.mutable.ColoredData