mojira.dev
MCPE-221830

Specifying a projectile_entity in a BP item file along with its spawn event inside <> produces a content log error

I have an item specified in the behavior pack, which uses the projectile component. In there an entity to spawn is specified along with a spawn event. A content log error is printed on world load. The entity spawns as expected, so the event shouldn’t be printed.
I believe this was not the case in previous versions.

"minecraft:projectile": {
    "projectile_entity": "namespace:my_entity<namespace:spawn_event>"
},

The content log error reads:

[Json][warning]- -> components -> minecraft:projectile -> projectile_entity:  Missing referenced asset namespace:my_entity<namespace:spawn_event>

This is likely related to MCPE-221287

Linked issues

Comments 1

For issues with addon system functionality like this we need you to attach a sample pack that we can use to reproduce the issue. If the issue still occurs, please also update the Affected Version/s field and the report will be reopened.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

M

(Unassigned)

Unconfirmed

Windows

1.21.82 Hotfix

Retrieved