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 TypeMethodDescriptionvoidTownyUniverse.addCustomCustomDataField(CustomDataField<?> cdf) voidTownyAPI.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 TypeMethodDescriptionvoidNation.addMetaData(@NotNull CustomDataField<?> md) voidResident.addMetaData(@NotNull CustomDataField<?> md) voidTown.addMetaData(@NotNull CustomDataField<?> md) voidTownBlock.addMetaData(@NotNull CustomDataField<?> md) voidTownyObject.addMetaData(@NotNull CustomDataField<?> md) Add a specific metadata to this TownyObject.voidTownyObject.addMetaData(@NotNull CustomDataField<?> md, boolean save) Add a specific metadata to this TownyObject.voidTownyWorld.addMetaData(@NotNull CustomDataField<?> md) voidNation.removeMetaData(@NotNull CustomDataField<?> md) voidResident.removeMetaData(@NotNull CustomDataField<?> md) voidTown.removeMetaData(@NotNull CustomDataField<?> md) voidTownBlock.removeMetaData(@NotNull CustomDataField<?> md) voidTownyObject.removeMetaData(@NotNull CustomDataField<?> md) Remove a specific metadata from the TownyObject.booleanTownyObject.removeMetaData(@NotNull CustomDataField<?> md, boolean save) Remove a specific metadata from the TownyObject.voidTownyWorld.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 TypeInterfaceDescriptioninterfaceDataFieldDeserializer<T extends CustomDataField<?>>Functional interface for deserializing a specific CustomDataField class.Subclasses of CustomDataField in com.palmergames.bukkit.towny.object.metadataModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassMethods 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 StringDataFieldIO.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)