mojira.dev

shainy shiny

Assigned

No issues.

Reported

MCPE-141762 GameTest: EntityCreateEvent doesn't work correctly when travelling dimension. Incomplete MCPE-104141 Can't switch between hotbar slots while displaying experimental UI Confirmed

Comments

The issue is still ongoing. version 1.20.12, also 1.20.30.20 preview.

manifest.json

{
  "format_version": 2,
  "header": {
    "description": "12345",
    "name": "Script Test",
    "uuid": "44dd9e6d-cfaf-4e83-a7eb-a2560dd21c53",
    "version": [0, 0, 1],
    "min_engine_version": [1, 14, 0]
  },
  "modules": [
    {
      "description": "Gametest Module",
      "type": "javascript",
      "uuid": "375de6b2-4bf0-4709-b07e-210f5948c8ea",
      "version": [0, 0, 1],
      "entry": "scripts/index.js" // You need a path to script file
    }
  ],
  "dependencies": [
    {
      // Minecraft native module - needed to use the "mojang-minecraft" module (You are using "mojang-minecraft" module, so must be required)
      "uuid": "b26a4d4c-afdf-4690-88f8-931846312678",
      "version": [
        0,
        1,
        0
      ]
    },
    {
      // GameTest native module - needed to use the "mojang-gametest" module (You are not using "mojang-gametest" module, so not required in this case)
      "uuid": "6f4b6893-1bb6-42fd-b458-7fa3d0c89616",
      "version": [
        0,
        1,
        0
      ]
    }
  ]
}

You should read more documentations. (guide: https://docs.microsoft.com/en-us/minecraft/creator/documents/gametestbuildyourfirstgametest)

Good luck.

In version 1.17.30, the Minecraft and GameTest modules have been renamed to mojang-minecraft and mojang-gametest.
You need to change "Minecraft" to "mojang-minecraft" in the import statement.

There are other changes that have been made, and may be made in the future, so it is recommended that you check the changelogs and documentation.

Changelogs: https://feedback.minecraft.net/hc/en-us/sections/360001186971-Release-Changelogs
Documentation: https://docs.microsoft.com/en-us/minecraft/creator/scriptapi/