Set player crouching with internals

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

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?