[SPIGOT-7198] Add #isSitting and #setSitting methods to camel. Created: 08/Dec/22 Updated: 25/Dec/24 Resolved: 08/Dec/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Wesley H | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Version: | 1.19.3+ |
Guidelines Read: | Yes |
Description |
Along with the dashing methods, it would be nice to check and toggle the state of camel sitting. So, the addition of Camel#isSitting and Camel#setSitting would be awesome to have
Edit: I know that there's Pose.SITTING, but it still won't allow devs to update the sitting state of the Camel. |
Comments |
Comment by Doc [ 08/Dec/22 ] |
Hi, you can try Entity#getPose for know if is sitting. https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Entity.html#getPose() For the set maybe can look for expose the methods in NMS for:
|