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

Method load

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

Loads the NPC from the given DataKey. This reloads all traits, respawns the NPC and sets it up for execution. Should not be called often. @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 5

copyMethod · 0.95
loadIntoMethod · 0.95
longLoadSaveTestYamlMethod · 0.65
reloadFromSourceMethod · 0.65
acceptMethod · 0.65

Implementers 1

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

Calls

no outgoing calls

Tested by 1

longLoadSaveTestYamlMethod · 0.52