mojira.dev
MC-306427

Certain Mobs Holding Items with Empty "kinetic_weapon" Components Crash the Game Whenever Target Acquisition Successes

Summary

Certain mobs are able to use Spear, whereas Items with “kinetic_weapon” component are able to attack while sprinting.

However, if a spear-usable mob holds an Item with empty “kinetic_weapon” and find sth it’s will to hurt, the game crashes.

Steps to Reproduce

  1. Summon some Villagers.

  2. Run: /summon minecraft:husk ~ ~ ~ {equipment:{mainhand:{id:copper_sword,components:{kinetic_weapon:{}},count:1}}} (Copied from command_history.txt. Add “minecraft:“ if necessary)

  3. Game crashes at once as long as the Husk’s will to kill Villagers.

Other Details

The save is no longer available unless utilize 3rd-party tools to remove the related mob (Husk, in this instance).

Environment

Windows 11 Home_CN 24H2 + AMD Ryzen 9 8940HX with Radeon Graphics + AMD Radeon 610M & NVIDIA GeForce RTX 5060 Laptop GPU

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

ZYX_2D

(Unassigned)

Confirmed

(Unassigned)

1.21.11

Retrieved