You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...tried the latest Development Build to make sure my feature doesn't exist already.
...checked the Wiki for any possible information about my feature.
...checked other existing issues for my feature request.
Description
1.As of 1.14 (I believe) players have been able to get into a crawling position in 1 block vertical gap. It just seems like something an NPC should be able to do.
2. A lot of cool builds could be achieved by having NPCs crawl or lay; like crime scenes, etc.
3. I have not found an alternative, unfortunately.
Code Example
No response
The text was updated successfully, but these errors were encountered:
Theoretically you can just call LivingEntity#setSwimming(true) and it should apply the visual effect (crawling and swimming are the same stance internally). In practice, this doesn't currently work on NPCs, so there's likely something in the NMS that would need to be changed for it to be possible to apply.
For real players, it works (excluding self-view) with a combination of setSwimming(true) and cancelling EntityToggleSwimEvent when event.isSwimming() is false. (For a player to see it on their own client, there's a much more complicated solution, but that can be ignored for NPC usage)
I confirm that I have ...
Description
1.As of 1.14 (I believe) players have been able to get into a crawling position in 1 block vertical gap. It just seems like something an NPC should be able to do.
2. A lot of cool builds could be achieved by having NPCs crawl or lay; like crime scenes, etc.
3. I have not found an alternative, unfortunately.
Code Example
No response
The text was updated successfully, but these errors were encountered: