public class ImmutableSpongeTameableData extends AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData,org.spongepowered.api.data.manipulator.mutable.entity.TameableData> implements org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData
Constructor and Description |
---|
ImmutableSpongeTameableData(UUID owner) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.entity.TameableData |
asMutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData o) |
static org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData |
create(UUID owner) |
static ImmutableSpongeOptionalValue<UUID> |
createValue(Optional<UUID> owner) |
static org.spongepowered.api.data.value.immutable.ImmutableOptionalValue<UUID> |
createValue(UUID owner) |
Optional<UUID> |
getOwner() |
org.spongepowered.api.data.value.immutable.ImmutableOptionalValue<UUID> |
owner() |
protected void |
registerGetters() |
org.spongepowered.api.data.DataContainer |
toContainer() |
copy, equals, get, getKeys, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, supports, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public org.spongepowered.api.data.value.immutable.ImmutableOptionalValue<UUID> owner()
owner
in interface org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData
public org.spongepowered.api.data.manipulator.mutable.entity.TameableData asMutable()
asMutable
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData,org.spongepowered.api.data.manipulator.mutable.entity.TameableData>
public int compareTo(org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData>
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.entity.ImmutableTameableData,org.spongepowered.api.data.manipulator.mutable.entity.TameableData>
public static org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData create(@Nullable UUID owner)
public static org.spongepowered.api.data.value.immutable.ImmutableOptionalValue<UUID> createValue(@Nullable UUID owner)
public static ImmutableSpongeOptionalValue<UUID> createValue(Optional<UUID> owner)