Uses of Class
com.palmergames.bukkit.towny.object.metadata.CustomDataField
Package
Description
-
Uses of CustomDataField in com.palmergames.bukkit.towny
Modifier and TypeMethodDescriptionMap
<String, CustomDataField<?>> TownyUniverse.getRegisteredMetadata()
Map
<String, CustomDataField<?>> TownyUniverse.getRegisteredMetadataMap()
Modifier and TypeMethodDescriptionvoid
TownyUniverse.addCustomCustomDataField
(CustomDataField<?> cdf) void
TownyAPI.registerCustomDataField
(CustomDataField<?> field) -
Uses of CustomDataField in com.palmergames.bukkit.towny.exceptions
-
Uses of CustomDataField in com.palmergames.bukkit.towny.object
Modifier and TypeMethodDescription<T extends CustomDataField<?>>
TTownyObject.getMetadata
(@NotNull String key, @NotNull Class<T> cdfClass) Fetch the metadata associated with the specific key and class.<T extends CustomDataField<?>>
booleanCheck whether metadata associated with the given key and class exists.Modifier and TypeMethodDescription@Nullable CustomDataField
<?> TownyObject.getMetadata
(@NotNull String key) Fetch the metadata associated with the specific key.Modifier and TypeMethodDescription@Unmodifiable Collection
<CustomDataField<?>> TownyObject.getMetadata()
A collection of all metadata on the TownyObject.Modifier and TypeMethodDescriptionvoid
Nation.addMetaData
(@NotNull CustomDataField<?> md) void
Resident.addMetaData
(@NotNull CustomDataField<?> md) void
Town.addMetaData
(@NotNull CustomDataField<?> md) void
TownBlock.addMetaData
(@NotNull CustomDataField<?> md) void
TownyObject.addMetaData
(@NotNull CustomDataField<?> md) Add a specific metadata to this TownyObject.void
TownyObject.addMetaData
(@NotNull CustomDataField<?> md, boolean save) Add a specific metadata to this TownyObject.void
TownyWorld.addMetaData
(@NotNull CustomDataField<?> md) void
Nation.removeMetaData
(@NotNull CustomDataField<?> md) void
Resident.removeMetaData
(@NotNull CustomDataField<?> md) void
Town.removeMetaData
(@NotNull CustomDataField<?> md) void
TownBlock.removeMetaData
(@NotNull CustomDataField<?> md) void
TownyObject.removeMetaData
(@NotNull CustomDataField<?> md) Remove a specific metadata from the TownyObject.boolean
TownyObject.removeMetaData
(@NotNull CustomDataField<?> md, boolean save) Remove a specific metadata from the TownyObject.void
TownyWorld.removeMetaData
(@NotNull CustomDataField<?> md) -
Uses of CustomDataField in com.palmergames.bukkit.towny.object.metadata
Modifier and TypeInterfaceDescriptioninterface
DataFieldDeserializer<T extends CustomDataField<?>>
Functional interface for deserializing a specific CustomDataField class.Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionBooleanDataField.clone()
@NotNull CustomDataField
<Byte> ByteDataField.clone()
abstract @NotNull CustomDataField
<T> CustomDataField.clone()
DecimalDataField.clone()
IntegerDataField.clone()
@NotNull CustomDataField
<List<CustomDataField<?>>> ListDataField.clone()
@NotNull CustomDataField
<org.bukkit.Location> LocationDataField.clone()
LongDataField.clone()
StringDataField.clone()
Modifier and TypeMethodDescription@NotNull CustomDataField
<List<CustomDataField<?>>> ListDataField.clone()
static Collection
<CustomDataField<?>> DataFieldIO.deserializeLegacyMeta
(String metadata) static Collection
<CustomDataField<?>> DataFieldIO.deserializeMeta
(String metadata) static Collection
<CustomDataField<?>> DataFieldIO.deserializeMetaToRaw
(String metadata) Modifier and TypeMethodDescriptionstatic String
DataFieldIO.serializeCDFs
(Collection<CustomDataField<?>> cdfs) ModifierConstructorDescriptionListDataField
(String key, List<CustomDataField<?>> value, String label)