KubeJS (Old)

KubeJS (Old)

3M Downloads

Item Registry Display Name method does not function

2ndkirbyever opened this issue ยท 0 comments

commented

Minecraft Version

1.19.2

KubeJS Version

1902.6.2-build.33

Rhino Version

1902.2.2-build.280

Architectury Version

6.5.85

Forge/Fabric Version

Forge 43.3.2

Describe your issue

After upgrading to the latest KubeJS and Rhino, the item registry startup event defaults the item's name to item.kubejs.[item_id], no matter what the .displayName() method specifies.
This has been broken since build 23.

Build 15

Build 15

Build 23

Build 23

Startup script (did not change between updating the mods)

StartupEvents.registry('item', event => { event.create('card_empty').displayName('Empty Card') })

latest.log

Crash report/logs

No response