Skip to content

Mob path finding#1081

Merged
JasperLorelai merged 3 commits into
TheComputerGeek2:mainfrom
JasperLorelai:pathfinding
Jul 18, 2026
Merged

Mob path finding#1081
JasperLorelai merged 3 commits into
TheComputerGeek2:mainfrom
JasperLorelai:pathfinding

Conversation

@JasperLorelai

Copy link
Copy Markdown
Collaborator
  • Added .targeted.PathfindToSpell, a targeted entity spell, which prompts a Mob entity to pathfind and move to a position in the entity's world. It has:
    • position (Vector)
    • speed (double, defaulting to 1)
    • distance-allowed (double, defaulting to 1) - How close the entity may be to the destination before the spell is considered complete.
    • allow-interrupt (boolean, defaulting to true) - Whether the entity may decide to break away from the pathfinding to do its own Vanilla movement.
    • spell-on-arrive (Sub-spell)
  • Added .targeted.SaveLocationSpell, a targeted location spell, which stores the location properties in optional variables variable-world (string) and variable-x/y/z/yaw/pitch (numeric).

@JasperLorelai
JasperLorelai merged commit 888d17a into TheComputerGeek2:main Jul 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant