Uses of Enum
net.citizensnpcs.api.npc.NPC.Metadata
Packages that use NPC.Metadata
-
Uses of NPC.Metadata in net.citizensnpcs.api.npc
Methods in net.citizensnpcs.api.npc that return NPC.MetadataModifier and TypeMethodDescriptionstatic NPC.Metadata
static NPC.Metadata
static NPC.Metadata
Returns the enum constant of this type with the specified name.static NPC.Metadata[]
NPC.Metadata.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.citizensnpcs.api.npc with parameters of type NPC.MetadataModifier and TypeMethodDescriptiondefault <T> T
MetadataStore.get
(NPC.Metadata key) Fetches metadata from the given key.default <T> T
MetadataStore.get
(NPC.Metadata key, T def) Fetches metadata from the given key.<T> T
SimpleMetadataStore.get
(NPC.Metadata key) <T> T
SimpleMetadataStore.get
(NPC.Metadata key, T def) default boolean
MetadataStore.has
(NPC.Metadata key) Returns whether the metadata exists.boolean
SimpleMetadataStore.has
(NPC.Metadata key) default void
MetadataStore.remove
(NPC.Metadata key) Removes any metadata at the given metadata key.void
SimpleMetadataStore.remove
(NPC.Metadata key) default void
MetadataStore.set
(NPC.Metadata key, Object data) Stores data at the given key.void
SimpleMetadataStore.set
(NPC.Metadata key, Object data) default void
MetadataStore.setPersistent
(NPC.Metadata key, Object data) Stores data at the given key.void
SimpleMetadataStore.setPersistent
(NPC.Metadata key, Object data)