Skip to content

Rimevel/Tooltips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Tooltips

A tooltip rendering system for KubeJS on Minecraft 1.20.1

Installing

Drop the client_scripts folder into your /kubejs folder.

Using

A new Tooltips object should become available to all your other scripts in your client_scripts folder.

You can grab the tooltip builder from it like this:

const tooltip = Tooltips.getBuilder(event);

And then use the builder to make your summary tooltips:

tooltip.addSummary('#forge:tools/knives', [
    'Can harvest *Straw from grass*, and garantees *secondary drops* from animals. Sometimes makes monsters drop their head when killed.'
]);

About

A tooltip rendering library for KubeJS on Minecraft 1.20.1

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •