https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitycomponents/minecraftcomponent_projectile?view=minecraft-bedrock-stable
The doc of minecraft:projectile is severely detached from reality. In this component, we use "on_hit" which receives a complex JSON object to define the behavior of the projectile, but it is not introduced AT ALL. We can see in 1.21.70, MinecraftBE updates egg's entity JSON, which is the last updated file of projectiles in official versions, and in that file this property is still in use, even it's format version is 1.21.70. I could find a lot of missing parts and chaotic parts whose amount is as much as the stars in the sky.
I can show more examples that are my most considering things. Such as the property "anchor" used in the wither_skull file which is also not mentioned.
Off topic, the "offset" property is confusing that it uses absolute coordinate instead of relative coordinate, when the latter is more intuitive and convenient. I've seen other players reported this issue in jira but it looks like it hasn't been fixed yet. Disappointing.
Top priority, it is necessary now to re-organize the doc of projectiles. Even I remember previous version of the doc has better developed.
Some of mentioned files:
wither_skull.json
egg.json
https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitycomponents/minecraftcomponent_projectile?view=minecraft-bedrock-stable
The doc of minecraft:projectile is severely detached from reality. In this component, we use "on_hit" which receives a complex JSON object to define the behavior of the projectile, but it is not introduced AT ALL. We can see in 1.21.70, MinecraftBE updates egg's entity JSON, which is the last updated file of projectiles in official versions, and in that file this property is still in use, even it's format version is 1.21.70. I could find a lot of missing parts and chaotic parts whose amount is as much as the stars in the sky.
I can show more examples that are my most considering things. Such as the property "anchor" used in the wither_skull file which is also not mentioned.
Off topic, the "offset" property is confusing that it uses absolute coordinate instead of relative coordinate, when the latter is more intuitive and convenient. I've seen other players reported this issue in jira but it looks like it hasn't been fixed yet. Disappointing.
Top priority, it is necessary now to re-organize the doc of projectiles. Even I remember previous version of the doc has better developed.
Some of mentioned files:
wither_skull.json
egg.json