You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the following scripts to generate gun groupings from Timeless & Classics Guns: Zerov1.0.2 (and its additional gun packs). The groupings work, but in REI's settings, they appear empty (see screenshots attached underneath code):
consttacz_IGun=Java.loadClass('com.tacz.guns.api.item.IGun');consttacz_AbstractGunItem=Java.loadClass('com.tacz.guns.api.item.gun.AbstractGunItem');consttacz_GunTabType=Java.loadClass('com.tacz.guns.api.item.GunTabType');consttacz_IAttachment=Java.loadClass('com.tacz.guns.api.item.IAttachment');consttacz_AttachmentItem=Java.loadClass('com.tacz.guns.item.AttachmentItem');consttacz_AttachmentType=Java.loadClass('com.tacz.guns.api.item.attachment.AttachmentType');constgun_itemstacks={};global.tacz_process_categories(gun_itemstacks,'Gun',tacz_IGun,tacz_AbstractGunItem,tacz_GunTabType);constattachment_itemstacks={};global.tacz_process_categories(attachment_itemstacks,'Attachment',tacz_IAttachment,tacz_AttachmentItem,tacz_AttachmentType);REIEvents.groupEntries(event=>{// Gun Categories are so much fun...for(const[gun_type_snakecase,itemstacks]ofObject.entries(gun_itemstacks)){event.groupItems(`kubejs:rei_groups/tacz/guns/${gun_type_snakecase}`,global.tacz_process_enum_as_title(gun_type_snakecase),itemstacks);}// Attachment Categories are also fun...for(const[attachment_type_snakecase,itemstacks]ofObject.entries(attachment_itemstacks)){event.groupItems(`kubejs:rei_groups/tacz/attachments/${attachment_type_snakecase}`,global.tacz_process_enum_as_title(attachment_type_snakecase),itemstacks);}}
Screenshots
Working groupings...
...but empty in settings...
Crash report/logs
No response
The text was updated successfully, but these errors were encountered:
Minecraft Version
1.20.1
KubeJS Version
2001.6.5-build.14
Rhino Version
2001.2.2-build.18
Architectury Version
9.2.14
Forge/Fabric Version
NeoForge 47.1.106
Describe your issue
I am using the following scripts to generate gun groupings from
Timeless & Classics Guns: Zero
v1.0.2
(and its additional gun packs). The groupings work, but in REI's settings, they appear empty (see screenshots attached underneath code):TaCZ.js
Groupings.js
(relevant section/s only)Screenshots
Working groupings...
...but empty in settings...
Crash report/logs
No response
The text was updated successfully, but these errors were encountered: