KubeJS (Old)

KubeJS (Old)

3M Downloads

Modify Creative Tab addAfter Doesn't Work

JakTac opened this issue ยท 1 comments

commented

Minecraft Version

1.20.1

KubeJS Version

2001.6.5-build.16

Rhino Version

2001.2.3-build.10

Architectury Version

9.2.14

Forge/Fabric Version

Forge 47.4.0

Describe your issue

This should be putting the items after in the creative menu, however it just puts them at the bottom of the page.```
StartupEvents.modifyCreativeTab('minecraft:tools_and_utilities', event => {

event.addAfter('minecraft:stone_hoe', 'kubejs:copper_shovel')
event.addAfter('kubejs:copper_shovel', 'kubejs:copper_pickaxe')
event.addAfter('kubejs:copper_pickaxe', 'kubejs:copper_axe')
event.addAfter('kubejs:copper_axe', 'kubejs:copper_hoe')

})


commented

Image