Pulcedocs

Entities (v0.2)

Server-owned lifecycle and mutation rules for custom entities.

On this page

v0.2 archive

Entity types and lifecycle

Register entity types during Init and spawn through world handles to keep server services authoritative.

  • EntityHandle methods include spawn, teleport, damage, effects, despawn, and metadata updates.
  • Hook callbacks include OnSpawn, OnTick, OnInteract, OnDamage, and OnDeath for registered entity types.
  • Advanced AI pathing and richer lifecycle orchestration remain roadmap work in v0.2.