JadeJS
Jade extension for KubeJS. Customise the Jade block tooltip from KubeJS scripts.
Requirements
NeoForge, KubeJS and Jade (all required).
Features
- Client-side event
JadeEvents.blockTooltip, fired whenever Jade builds a block tooltip - Add text lines or Jade elements at the end of the tooltip or at a given index
- Tag your lines and remove tooltip entries by tag
- Replace the harvest tool display with your own list of items or item tags, with a valid/invalid mark
Jadebinding: theme box styles, sprite boxes, color palettes, fluid objects, progress stylesJadeElementsbinding: text, spacer, item, fluid, progress bar, box and sprite elements
Example
Put this in kubejs/client_scripts/:
JadeEvents.blockTooltip(event => {
if (event.blockId === 'minecraft:furnace') {
event.addComponent(Text.of('Custom line'))
}
})
Links
Source and issues: https://github.com/PalsFreniers/JadeJS
Link to KubeJS: https://www.curseforge.com/minecraft/mc-mods/kubejs
Link to Jade: https://www.curseforge.com/minecraft/mc-mods/jade

