Skip to content

Mob path finding#1081

Open
JasperLorelai wants to merge 3 commits into
TheComputerGeek2:mainfrom
JasperLorelai:pathfinding
Open

Mob path finding#1081
JasperLorelai wants to merge 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).

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