mojira.dev
MCPE-226131

Shulker targeting players beyond range where it will actually shoot

Small and I’m not actually sure if this is a bug (think it is) but, the shulker can detect players and will open as if for an attack at 16 blocks away but will only shoot if at 15 blocks or closer.

Attachments

Comments 2

This is how the shulker behaviors are defined in shulker.json. Target at 16 blocks radius, shoot at 15 blocks radius.

      "minecraft:behavior.ranged_attack": {
        "attack_interval_min": 1,
        "attack_interval_max": 3,
        "attack_radius": 15
      },
  "minecraft:behavior.nearest_attackable_target": {
    "priority": 3,
    "entity_types": {
      "filters": {
        "test": "is_family", "subject": "other", "value": "player"
      },
      "max_dist": 16
    },
    "must_see": true
  },

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you upload a video showing this issue?
Could you also upload a copy of your world?

Just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
šŸ““ Issue Guidelines – šŸ’¬ Mojang Support – šŸ“§ Suggestions – šŸ“– Minecraft Wiki

Xxwu1fxX

(Unassigned)

Confirmed

Multiple

1.21.100

Retrieved