Update by @unknown
Summary
Piglins that have crossbows will shoot arrows even when you replace their crossbow with a golden sword using /replaceitem
, and piglins that have golden swords will hit their targets with a crossbow when their golden sword is replaced.
How to reproduce:
Summon a piglin.
If it has a golden sword, do
/replaceitem entity @e[type=piglin] slot.weapon.mainhand 0 crossbow
If it has a crossbow, do
/replaceitem entity @e[type=piglin] slot.weapon.mainhand 0 golden_sword
/difficulty easy
/clear
/gamemode survival
-> They don't correctly use the weapons โ
Original Description
Piglins that spawn with crossbows are not able to use swords given by commands! They just shoot arrows with the sword! and if a piglin spawns with a sword ,it will melee you with a crossbow!
Linked issues
is duplicated by 7
relates to 4
Comments 6
Affects 1.16.100
Affects 1.16.200.56 Beta
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version? If so, please make sure the ticket description contains the following information:
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
Still an issue in the latest 1.17.10 release and in the 1.17.20.23 beta.
Affects 1.18.0.20

affectsย 1.20.12,ย also piglins don't have durability on their weapons.
This relates to MCPE-57893.