Uses of Class
com.palmergames.bukkit.towny.object.metadata.CustomDataField
Packages that use CustomDataField
Package
Description
-
Uses of CustomDataField in com.palmergames.bukkit.towny
Methods in com.palmergames.bukkit.towny that return types with arguments of type CustomDataFieldModifier and TypeMethodDescriptionMap
<String, CustomDataField<?>> TownyUniverse.getRegisteredMetadata()
Map
<String, CustomDataField<?>> TownyUniverse.getRegisteredMetadataMap()
Methods in com.palmergames.bukkit.towny with parameters of type CustomDataFieldModifier and TypeMethodDescriptionvoid
TownyUniverse.addCustomCustomDataField
(CustomDataField<?> cdf) void
TownyAPI.registerCustomDataField
(CustomDataField<?> field) -
Uses of CustomDataField in com.palmergames.bukkit.towny.exceptions
Constructors in com.palmergames.bukkit.towny.exceptions with parameters of type CustomDataField -
Uses of CustomDataField in com.palmergames.bukkit.towny.object
Methods in com.palmergames.bukkit.towny.object with type parameters of type CustomDataFieldModifier 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.Methods in com.palmergames.bukkit.towny.object that return CustomDataFieldModifier and TypeMethodDescription@Nullable CustomDataField
<?> TownyObject.getMetadata
(@NotNull String key) Fetch the metadata associated with the specific key.Methods in com.palmergames.bukkit.towny.object that return types with arguments of type CustomDataFieldModifier and TypeMethodDescription@Unmodifiable Collection
<CustomDataField<?>> TownyObject.getMetadata()
A collection of all metadata on the TownyObject.Methods in com.palmergames.bukkit.towny.object with parameters of type CustomDataFieldModifier 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
Classes in com.palmergames.bukkit.towny.object.metadata with type parameters of type CustomDataFieldModifier and TypeInterfaceDescriptioninterface
DataFieldDeserializer<T extends CustomDataField<?>>
Functional interface for deserializing a specific CustomDataField class.Subclasses of CustomDataField in com.palmergames.bukkit.towny.object.metadataModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Methods in com.palmergames.bukkit.towny.object.metadata that return CustomDataFieldModifier 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()
Methods in com.palmergames.bukkit.towny.object.metadata that return types with arguments of type CustomDataFieldModifier 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) Method parameters in com.palmergames.bukkit.towny.object.metadata with type arguments of type CustomDataFieldModifier and TypeMethodDescriptionstatic String
DataFieldIO.serializeCDFs
(Collection<CustomDataField<?>> cdfs) Constructor parameters in com.palmergames.bukkit.towny.object.metadata with type arguments of type CustomDataFieldModifierConstructorDescriptionListDataField
(String key, List<CustomDataField<?>> value, String label)