MCPcopy Create free account
hub / github.com/CitizensDev/CitizensAPI / save

Method save

src/main/java/net/citizensnpcs/api/npc/NPC.java:346–346  ·  view source on GitHub ↗

Saves the NPC to the given DataKey. This includes all metadata, traits, and spawn information that will allow it to respawn at a later time via #load(DataKey). @param key The root data key

(DataKey key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

longLoadSaveTestYamlMethod · 0.65
saveMethod · 0.65
saveToDiskImmediateMethod · 0.65
storeMethod · 0.65
acceptMethod · 0.65

Implementers 1

AbstractNPCsrc/main/java/net/citizensnpcs/api/npc

Calls

no outgoing calls

Tested by 1

longLoadSaveTestYamlMethod · 0.52