#(trork) How do I set per-player hologram text through the API? (HologramTrait)
21 messages ยท Page 1 of 1 (latest)
(trork) How do I set per-player hologram text through the API? (HologramTrait)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You need to set the hologram line supplier
See the API
Make sure you're on the right build because it changes in 1.20.6
Also protocollib needs to be enabled
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@wraith seal
checked the API and didnt anything supplier related in the HologramTrait clas
The api has been updated. You will need to link against build 3382
I'm building against 2.0.33, I'm assuming it build against the latest 2.0.33 build? I changed it to 2.0.34 to see if any API changes popped up and didn't see anything
I saw some HologramRenderer stuff but there is no documentation on how to use it and none of the renderers have constructors or builders
You need to build against build 3382 specifically for the old api
From after that it will be the new hologramrenderer
is there a way to build against that one through gradle/maven?
Hmm, it would be here https://maven.citizensnpcs.co/#/repo/net/citizensnpcs/citizens-main/2.0.33-SNAPSHOT - need to cross reference the build date with the Pom
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@wraith seal