mojira.dev
MC-145121

Pillagers' firework rockets and tipped arrows on their offhand can be used up

MC-106133 and MC-138004 have been fixed in 19w09a, now pillagers can shoot tipped arrows and firework rockets from their offhand, but they will be used up.
The command of pillager with poison arrows is

/summon minecraft:pillager ~ ~ ~ {HandItems:[{id:"crossbow",Count:1},{id:"tipped_arrow",Count:1,tag:{Potion:"long_poison"}}]}

The command of pillager with firework rockets is

/summon minecraft:pillager ~ ~ ~ {HandItems:[{id:"crossbow",Count:1},{id:"firework_rocket",Count:1,tag:{Fireworks:{Explosions:[{Type:2,Flicker:1,Colors:[I;3887386,14602026],FadeColors:[I;5320730]}],Flight:3}}}]}

You can change the"Count:1" to more, but the limit is 64

Their tipped arrows or firework rockets are not infinite. After they shoot it for a certain number of times (depends on the "Count" tag in the command), their offhand will be empty and they can only shoot normal arrows.

This issue doesn't happen to skeletons, strays or wither skeletons.

Linked issues

Attachments

Comments 10

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w18a.

Can confirm in 1.19.2.

Happens in 1.20.1. I suppose this might be resolved as "works as intended", for the finite ammo logic fits well with finite durability weapons (MC-163960 is resolved as "works as intended").

BLack_Tea_RGO

(Unassigned)

Confirmed

Items, Mob behaviour

Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, ..., 1.18.2, 22w18a, 1.19.2, 1.20.1, 1.21.4

Retrieved