public class ImmutableSpongeColorData extends AbstractImmutableSingleData<Color,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData,org.spongepowered.api.data.manipulator.mutable.ColoredData> implements org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData
usedKey, value
Constructor and Description |
---|
ImmutableSpongeColorData(Color value) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.ColoredData |
asMutable() |
org.spongepowered.api.data.value.immutable.ImmutableValue<Color> |
color() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData o) |
protected org.spongepowered.api.data.value.immutable.ImmutableValue<?> |
getValueGetter() |
copy, get, getKeys, getValue, registerGetters, supports, supports, toContainer
equals, getOrElse, getOrNull, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, with, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongeColorData(Color value)
protected org.spongepowered.api.data.value.immutable.ImmutableValue<?> getValueGetter()
getValueGetter
in class AbstractImmutableSingleData<Color,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData,org.spongepowered.api.data.manipulator.mutable.ColoredData>
public org.spongepowered.api.data.manipulator.mutable.ColoredData asMutable()
asMutable
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData,org.spongepowered.api.data.manipulator.mutable.ColoredData>
asMutable
in class AbstractImmutableSingleData<Color,org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData,org.spongepowered.api.data.manipulator.mutable.ColoredData>
public org.spongepowered.api.data.value.immutable.ImmutableValue<Color> color()
color
in interface org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData
public int compareTo(org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData>