CC: Tweaked

CC: Tweaked

42M Downloads

Item's `itemGroups` field is empty

SquidDev opened this issue ยท 1 comments

commented

Minecraft Version

1.19.x

Version

1.102.0

Details

turtle.getItemDetails/inventory.getItemDetails includes the list of item groups/creative tabs that an item appears in.

However, 1.19.3 redid how creative tabs are handled, meaning the list of items in each tab is only built when the creative menu is opened. While neat, this means that tabs are not populated on survival or on servers, meaning itemGroups is empty!

I'm not sure what we can do here. We can't populate the creative tab list on demand, as Forge makes this method client-side-only - we may just have to remove this field.

commented

We can't populate the creative tab list on demand, as Forge makes this method client-side-only

See 1215d93, where I had a go at this.