Hey there! I was looking for a Hologram API for a project, and this one looked perfect.
Unfortunately, I'm unable to spawn a working hologram. Here's my current code:
final HologramPool pool = new HologramPool(warcrafted, 70);
Hologram.builder(warcrafted, player.getLocation())
.addLine("Hello")
.addClickableLine("Click me", 0.5f, 5f)
.addBlockLine(new ItemStack(Material.GOLD_BLOCK))
.addBlockLine(new ItemStack(Material.DIAMOND_BLOCK), Animation.AnimationType.CIRCLE)
.loadAndBuild(pool);
I tried to follow the wiki to end there. When the code is run, it only spawns stacked ghasts with no errors in the console or the chat:
Hey there! I was looking for a Hologram API for a project, and this one looked perfect. Unfortunately, I'm unable to spawn a working hologram. Here's my current code:
I tried to follow the wiki to end there. When the code is run, it only spawns stacked ghasts with no errors in the console or the chat:
Env Info:
1.18.2-R0.1-SNAPSHOT
(Paper)5.0.0
2.6.0
Thanks for your help in advance :p