mojira.dev
MCPE-228748

scriptAPIでのアドオン開発においてのエラーログの暴発について

マインクラフト統合版のアドオン開発をしていた際、文に間違いがなく、書いた内容が正しくゲーム内で動作しているのにも関わらずエラーのログが永遠に出てきます。

特定の名前付きの卵を投げてその卵がブロックに着弾したときに15秒間煙のエフェクトを一定範囲内に出し続けるという文を afterEventsのitemUse とentitySpawnで使用したアイテムが特定の名前が付いた卵であることを記録し、その投げた卵のidをグローバル変数に保存して afterEventsのprojectileHitBlockで着弾したlocationとdimensionをグローバル変数に記録 そしてsystem.runInterval内でグローバル変数内に記録されている座標に一定時間、煙のエフェクトを出し続けるプログラムを書いています

そのプログラムの煙玉のエフェクトを出す場所がずっとエラーを吐いています

マイクラ内は記録された座標に設定した時間に正しく煙のパーティクルが出ているのにも関わらずログの方にはエラーが出ます

画面にログが出るせいで邪魔です

早急な修正をお願いします

アドオンは下の添付ファイルに貼っておきます

Attachments

Comments 1

We are only able to accept bug reports in English since it is the common language used on this tracker.

You are welcome to create a new ticket about your issue in English. You can use an online translator, if it helps.
However, please search before writing a new bug report, as it's very likely that someone else already reported your issue before.
If you find an existing ticket about your issue, you can add a vote and any new information to it instead of reporting it yourself.

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

ikemenchan.mzo3901

(Unassigned)

Unconfirmed

Windows

1.21.111

1.21.111

Retrieved