Set player crouching with internals

gecko10000

New member
Aug 26, 2022
2
0
1
I'm trying to set the player crouching. In 1.17, there used to be EntityPlayer#isSneaking and EntityPlayer#setSneaking. However, now with 1.19.2 userdev I only see ServerPlayer#isCrouching. Is there any way to make the player crouch now?