-
Notifications
You must be signed in to change notification settings - Fork 5
Entity Script
Current entity reference generated from the AC-Legacy registry and source-backed feature audit.
| Registry name | Numeric ID | Implementation |
|---|---|---|
Script |
1004 | AC_EntityLivingScript |
A configurable living entity driven by an entity-description record and JavaScript callbacks.
Its description can set health, size, texture, movement speed, and callback script names; it runs created, per-tick update, attacked, interaction, death, and path-completed scripts and supports pathing to an entity or position.
Interactions:
- The attacked and interaction scripts may return a Boolean to allow or deny the default action.
- NPC extends this entity type.
src/main/java/dev/adventurecraft/awakening/entity/AC_EntityLivingScript.javasrc/main/java/dev/adventurecraft/awakening/mixin/entity/MixinEntityRegistry.javasrc/main/java/dev/adventurecraft/awakening/script/EntityDescriptions.javasrc/main/java/dev/adventurecraft/awakening/script/ScriptEntityDescription.java
Back to Current Entities.
Applies to AC-Legacy 0.6.0 at source revision 439dbe5b157d. Current documentation is generated from the AC-Legacy-Mod source. Historical baseline links point to the AdventureCraft Fandom wiki, whose text is reported as CC-BY-SA. See Fact Checking and Provenance and Verification Status.
AC-Legacy Wiki
Use and authoring
Generated reference
Project and provenance