The description of molang "query.main_hand_item_use_duration" in the documentation is "Returns the use time for the main hand item", but in game it actually returns the remaining use time in tick, is the same as "query.item_remaining_use_duration".
Log from ModAPI in the Chinese Edition.
Attachments
Comments 3
Is this still an issue in the latest version (1.17.2)? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
[^$BOU[7`(X80LZUJ~L04[(`5.png]