Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-141762

GameTest: EntityCreateEvent doesn't work correctly when travelling dimension.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.17.40.20 Beta, 1.17.11 Hotfix, 1.17.30
    • None
    • Unconfirmed
    • Multiple

      I'm using GameTest.

      EntityCreateEvent, called by loading entities when travelling to another dimension, has illegal property of entity.

      event.entity.id, event.entity.location and event.entity.nameTag throw error "can't call property" (and also other methods can throw error.)

      If I leave the dimension after an error occurs and return to the dimension again, the event will have properties that work correctly.
      And if I repeat the process, the next time the event has error.

      (go to nether) no error -> (go to overworld) error occurred -> (go to nether) error occurred -> (go to overworld) no error ->...

            shainy shainy shiny
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: