Article: https://github.com/MicrosoftDocs/minecraft-creator/blob/main/creator/Documents/ScriptingV2.0.0Overview.md
Describe the missing content
Prior to scripting 2.0.0, you were able to specify events in the identifier when using .spawnEntity() however that is no longer allowed. For the sake of anyone trying to update, it would be nice if this change was documented. This type of change can't be inferred just by looking at a diff of 1.19.0 and 2.0.0.
Invalid (Valid in 1.19.0)
dimension.spawnEntity('name:bob<event>', location)
Valid
dimension.spawnEntity('name:bob', location, {spawnEvent: 'event'})
Vanilla usage example
N/A
Additional context
N/A
Article: https://github.com/MicrosoftDocs/minecraft-creator/blob/main/creator/Documents/ScriptingV2.0.0Overview.md
Describe the missing content
Prior to scripting 2.0.0, you were able to specify events in the identifier when using
.spawnEntity()however that is no longer allowed. For the sake of anyone trying to update, it would be nice if this change was documented. This type of change can't be inferred just by looking at a diff of 1.19.0 and 2.0.0.Invalid (Valid in 1.19.0)
Valid
Vanilla usage example
N/A
Additional context
N/A