mojira.dev
MCPE-182214

variable.attack_time fails with Cod runtime ID

I am trying to add an attack animation to my hostile fish mob, but I'm finding that variable.attack_time is not defined when using the cod runtime id. Without the cod runtime_id, my fish flies into space.

 

This seems similar to MCPE-110042

In the logs I get this error:

Error: unhandled request for unknown variable 'variable.attack_time'

 

The error goes away if I use a different runtime identifier such as minecraft:guardian.

 

Comments 2

Is this still an issue in the latest release? If so, then please attach an example addon that can be used to reproduce this.

Thank you for your report!
However, this issue is Incomplete.

Your report does not contain enough information. As such, we're unable to understand or reproduce the problem.

You are welcome to create a new ticket about your issue with more detailed information.
However, please review the Bug Tracker Guidelines and be sure to search for existing issues before writing a new bug report.

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

EwokSithLord747

(Unassigned)

Unconfirmed

Windows

Windows 10

1.20.81 Hotfix

Retrieved