FancyMcPlugins / FancyNpcs

FancyNpcs is a simple, lightweight and fast npc plugin using packets
https://modrinth.com/plugin/fancynpcs
MIT License
102 stars 23 forks source link

Expose NPC Eye Height through API #21

Closed Sxtanna closed 1 year ago

Sxtanna commented 1 year ago

Currently, the only way to get an NPCs eye height is by accessing the backing NMS Entity.

Npc#getNpc().getEyeHeight()

It would be nice (also is also kinda required for FancyHolograms linking 🔜) for the eye height or eye location to be directly exposed by the API.

ex. Npc#getEyeHeight or Npc#getEyeLocation

OliverSchlueter commented 1 year ago

Added Npc#getEyeHeight, thank you