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

Method onSpawn

src/main/java/net/citizensnpcs/api/trait/Trait.java:122–123  ·  view source on GitHub ↗

Called when an NPC is spawned. NPC#getEntity() will return null until this is called. This is also called onAttach when the NPC is already spawned.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addTraitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected