The IsEmoting property of the player class in the @minecraft/server api returns false whether or not I am emoting.
I tested this on api versions 1.10 and 1.11 beta in a singleplayer world.
Here is some example code (or attached .js file):
import
{ system, world }
from "@minecraft/server"
async function testIfEmoting() {
let players = world.getAllPlayers();
players.forEach((player, i) =>
{ console.log(player.isEmoting); }
)
}
system.runInterval(testIfEmoting, 10);
Jira messed it up a little bit but you get the jist.
Despite using several emotes (like wave and hammer time), the console logged nothing but false.
Update: Still broken as of Preview 1.21.0.24
[media]Linked issues
is duplicated by 1
Attachments
Comments 7

@KR_
This addon should demonstrate the issue. Just load it up in a world and it should spam chat saying whether or not the player is emoting. (With the bug, it should always say not emoting)
@KR_
This addon should demonstrate the issue. Just load it up in a world and it should spam chat saying whether or not the player is emoting. (With the bug, it should always say not emoting)
Edit: I misunderstood how emotes work, sorry.
Can confirm, affects 1.20.72 and 1.20.80.24
Steps to reproduce:
Import the .mcaddon into a world
Press the emote button and select an emote
Observed results:
The script returns Player.IsEmoting as false.
Expected results:
The script should return Player.IsEmoting as true.
Video:
[media]@KR_ You misunderstand. That video does reproduce the issue. The expected behavior is that while the player is emoting, the text being spammed in chat should change to "You are emoting" instead of "you are not emoting." The text that says "[player] is [emote]ing" is part of Minecraft itself, not my example addon.
@KR_ You misunderstand. That video does reproduce the issue. The expected behavior is that while the player is emoting, the text being spammed in chat should change to "You are emoting" instead of "you are not emoting." The text that says "[player] is [emote]ing" is part of Minecraft itself, not my example addon.