Clickable holograms
Last modified: 31 March 2025warning
Interactions with holograms is not a feature of FancyHolograms yet, but there is a workaround for this.
Create your hologram with the text you want.
Install FancyNpcs
Create a new npc and set the type to "INTERACTION" (/npc type (npc name) INTERACTION
)
Remove the name tag of the npc (/npc displayName (npc name) <empty>
)
Position the npc to the same location as the hologram (press F3+B to see the hitbox)
Modify the size of the hitbox to fit the hologram (/npc attributes (npc name) (width/height) (size)
)
Add an interaction action to the npc (message, playerCommand, serverCommand)