Wolves refrain from targeting entities that the owner attacks with a projectile, excluding arrows and wind charges
Referring to MC-142890, tamed wolves/dogs exhibit anticipated behavior by attacking mobs when attacked with arrows or wind charges. However, when the owner throwns a trident, snowball, egg, or ender pearl, or shoots fireworks at them, the wolves still refrain from attacking.
Steps to reproduce
- Tame a wolf
- Spawn a mob
- Throw a trident at it
- Throw a snowball at it
- Throw an egg at it
- Throw an ender pearl at it
give @p crossbow[charged_projectiles=[{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{explosions:[{shape:"small_ball"}]}}}]] 1- Shoot the firework at it using a crossbow
Observed outcome: The dog refrains from attacking the mob. However, throwing a wind charge or shooting an arrow causes the wolf to attack the mob as anticipated.
Expected outcome: The dog should also attack the mob when the owner throws tridents, snowballs, eggs, ender pearls, or shoots fireworks at it.
2024-05-30, 09:40 PM
2024-06-22, 10:43 AM
2024-06-22, 10:43 AM
0
0
-