-
Bug
-
Resolution: Unresolved
-
None
-
1.18.10.26 Beta, 1.17.0.50 Beta, 1.16.0.51 Beta, 1.14.1 Hotfix, 1.14.0.2 Beta, 1.13.0.9 Beta, 1.13.0.4 Beta, 1.13.0.2 Beta, 1.12.0, 1.14.0, 1.16.0, 1.16.201 Hotfix, 1.17.0, 1.17.40, 1.18.2 Hotfix, 1.19.0, 1.19.30, 1.20.40.22 Preview, 1.20.30, 1.20.80.21 Preview, 1.21.10.22 Preview, 1.21.0
-
None
-
Confirmed
-
Multiple
-
307060, 319003
The bug
The recent spawnEvent option in /summon creates corrupt mobs the majority of the time. It causes the regular minecraft:entity_spawned to be skipped, which many mobs rely on for initialization. Mobs that skip this event are permanently broken or corrupted, each in a different way depending on how that mob behavior is implemented.
How to reproduce
1. /summon sheep ~ ~ ~ 0 0 wololo
2. Try to shear the sheep
→ You can't, this mob is missing a bunch of components that were supposed to have been applied by the entity_spawned event. It is now broken permanently.
Notes
Even if the specified event is run after entity_spawned, it would still be possible to create corrupt mobs, for example a chicken that has both adult and child components at the same time. Most mob events are implementation details of the behavior and probably should not be exposed in /summon alone, or a distinction should be made between creation events and lifetime events.
- is duplicated by
-
MCPE-86744 Piglins that have been given spawn events have broken ai
- Resolved
-
MCPE-114874 Named pillagers will not attack the player
- Resolved
-
MCPE-115868 Summoned piglin will not trade.
- Resolved
-
MCPE-116722 Zombified Villagers that were Spawned in Using an Invalid Spawn Event do not Sit in Minecarts
- Resolved
-
MCPE-119202 Fast Husk when born as minecraft:as_adult
- Resolved
-
MCPE-145481 Mobs summoned in with the command /summon work fine until you give it its components like become.adult
- Resolved
-
MCPE-157425 Mobs created with the minecraft:as_adult command do not have some functionality!
- Resolved
-
MCPE-162530 Rabbits will not breed.
- Resolved
-
MCPE-182563 Magma cube spawned using an invalid spawn event is visually small but physically large
- Resolved
- relates to
-
MCPE-76643 Rabbits Spawned with Spawn Event String Are About 2x Normal Size
- Resolved
-
MCPE-116971 Patrol/illager captains don't attack when spawned by commands
- Resolved
-
MCPE-140111 Cannot mount summoned horse with saddle
- Open
-
MCPE-50328 Summon command gives speedy zombies & husks
- Reopened
-
MCPE-179414 Wolf summoned with tags cannot be tamed.
- Resolved