#NMS holograms
1 messages · Page 1 of 1 (latest)
So
I just need to clarify one thing
https://www.spigotmc.org/threads/create-a-hologram-library-nms-or-protocollib.590999/
In this example, the implementation of the holograms has 3 abstract classes for each NMS version that you would use. Is this because of how THIS example is made? What do people usually do when doing holograms with nms multiversion? Is this normal?
@paper locust
It is most definitely "normal", as in it's one of the good practises out there. The advantage is that you compile against the actual methods instead of searching and invoking them through reflection at runtime. On the other hand, it sucks that you need to do this for every major.minor.release version of your target version range.
I do it completely differently, but that's really not as simple to explain as this approach would be. I think you'd be better off sticking to the guide, as it looks like you're new to the topic over all.