tooltips: ItemEvents.tooltip -> ItemEvents.modifyTooltips, 0.22.1 -> 0.22.2

KubeJS 2101.x has ModifyItemTooltipsKubeEvent (the modify-tooltips API);
the older 'tooltip' event name doesn't exist in this version.
This commit is contained in:
2026-05-23 17:37:30 +00:00
parent 31f7d5428c
commit e1a77d2e19
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ const CRIBS = {
'numismatics:sun': [ '= 4096 Spurs (8 Crowns)', 'Bank Teller block converts.' ],
};
ItemEvents.tooltip(event => {
ItemEvents.modifyTooltips(event => {
for (const id in CRIBS) {
event.add(id, CRIBS[id].map(line => Text.aqua(line)));
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
"name": "Brass and Sigil",
"version": "0.22.1",
"version": "0.22.2",
"minecraft": "1.21.1",
"loader": {
"type": "neoforge",