#check player is frozen
1 messages · Page 1 of 1 (latest)
Frozen in what context, if you mean powered snow, your best bet is probably check if the block the player is standing every tick is powderer snow and If it you know they are frozen after 2-3 seconds.
i tried getting shaking component but didn't work
^
i thought you meant if player stopped movement
but if you mean powdered snow forzen,
then benjamin might be right
Can't you just check damage?
world.afterEvents.entityHurt.subscribe(({ damageSource: { cause }, hurtEntity }) => {
console.error(cause);
if (cause === 'freezing') {}
});```
Ah, didn't know freezing cause existed