mojira.dev
MC-268894

Multishot and Piercing do not work on bows held by skeleton-type mobs

Skeleton type mobs with multishot and piercing bow do not have enchant effect.

using this command:

/item replace entity @e[type=minecraft:skeleton] weapon.mainhand with minecraft:bow[enchantments={levels:{'minecraft:multishot':1},show_in_tooltip:true}]

Linked issues

Comments 2

Can Confirmed

This affects skeletons, strays, wither skeletons, bogged creatures, and illusioners. The commands I used to reproduce this issue are:

/summon minecraft:skeleton ~ ~ ~ {HandItems:[{components:{"minecraft:enchantments":{levels:{"minecraft:multishot":1,"minecraft:punch":2,"minecraft:piercing":4}}},count:1,id:"minecraft:bow"}]}
/summon minecraft:wither_skeleton ~ ~ ~ {HandItems:[{components:{"minecraft:enchantments":{levels:{"minecraft:multishot":1,"minecraft:punch":2,"minecraft:piercing":4}}},count:1,id:"minecraft:bow"}]}
/summon minecraft:stray ~ ~ ~ {HandItems:[{components:{"minecraft:enchantments":{levels:{"minecraft:multishot":1,"minecraft:punch":2,"minecraft:piercing":4}}},count:1,id:"minecraft:bow"}]}
/summon minecraft:illusioner ~ ~ ~ {HandItems:[{components:{"minecraft:enchantments":{levels:{"minecraft:multishot":1,"minecraft:punch":2,"minecraft:piercing":4}}},count:1,id:"minecraft:bow"}]}
/summon minecraft:bogged ~ ~ ~ {HandItems:[{components:{"minecraft:enchantments":{levels:{"minecraft:multishot":1,"minecraft:punch":2,"minecraft:piercing":4}}},count:1,id:"minecraft:bow"}]}

All bow enchantments, such as punch, power, and flame, function just fine for skeletons. Conversely, bow enchantments function for crossbows when utilized by pillagers or piglins.

4ebugger

(Unassigned)

Confirmed

Platform

Low

Commands, Mob behaviour

24w09a, 24w10a, 24w11a, 24w12a, 24w13a, ..., 24w21b, 1.21 Pre-Release 2, 1.21 Pre-Release 3, 1.21 Pre-Release 4, 1.21

Retrieved