#Anyone know how to get tooltips working?

7 messages · Page 1 of 1 (latest)

lunar flame
#
ItemEvents.tooltip(e => {

    // Soylent Green reference
    e.add(["alexscaves:green_soylent", Text.of("It's probably not made of people, right?").green()])

})```

it's supposed to show that text coloured green when shift is held, but i can't get it working for the life of me. Anyone know how to fix it?
warm currentBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

sharp tiger
#

Remove the [ and ]

lunar flame
#

hm, it's rendering twice now.

#

got it working when shift is held, noice.

#

and the other tooltip too. I'll close this after adding tooltips to everything else (gotta move them from the CT script). Thanks for your help!

lunar flame
#

got them all working, noice.