Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Mob gets aggressive based on distance #23

Open
gfreitash opened this issue Nov 11, 2023 · 0 comments
Open

[Suggestion] Mob gets aggressive based on distance #23

gfreitash opened this issue Nov 11, 2023 · 0 comments

Comments

@gfreitash
Copy link

gfreitash commented Nov 11, 2023

Maybe a configurable way to determine the distance of the attacker from the defending player. Something like the vanilla predicate

{
  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
    "type": "minecraft:player",
    "distance": {
      "x": 2,
      "y": 2,
      "z": 2
    }
  }
}

This would make you stay uneasy of getting too close to mobs but also you would be fine if you stay aware of your surroundings.

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

No branches or pull requests

1 participant