holoeasy
holoeasy copied to clipboard
Add option to use DisplayEntity as Hologram.
how it works: https://www.youtube.com/watch?v=0mCQe7PjVxs Spigot has api for this: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Display.html
This option is really recent, but could be usefull. I would still understand why he would keep using protocollib, you have more control like this.
Interesting, we might think about implementing it, I've seen on the protocol and it's supported by 1.19. I wonder, however, what advantages it would have compared to a "simple" text line?
This option is really recent, but could be usefull. I would still understand why he would keep using protocollib, you have more control like this.
Because by using packets, I don't register holograms on the server but only on the client, and thanks to the pool everything is asynchronous. It's a question of performance.
Interesting, we might think about implementing it, I've seen on the protocol and it's supported by 1.19. I wonder, however, what advantages it would have compared to a "simple" text line?
The DisplayEntities has a new additional properties such as, hologram size, hologram background color, and position.
For example:
Additional, im says, displayentites has billboard (position) property, example from spigot-api:
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Display.Billboard.html
This option is really recent, but could be usefull. I would still understand why he would keep using protocollib, you have more control like this.
Because by using packets, I don't register holograms on the server but only on the client, and thanks to the pool everything is asynchronous. It's a question of performance.
Yes, i show spigot-api documentation, only for example.