BeardlessBrady Posted February 27, 2021 Posted February 27, 2021 Hello, I am trying to create sub items through NBT by pulling information from the config file. My issue is that it seems like the items are being registered before the config is processed, is there a way to make the config get processed first? My Code for reference: https://github.com/Beardlessbrady/Currency-Mod/tree/master-1.16/src/main Quote
BeardlessBrady Posted February 27, 2021 Author Posted February 27, 2021 In 1.12 there was a way to make sub items through configs fairly easily. Im wondering if there is ANY alternative way to do this in 1.16.4? Quote
BeardlessBrady Posted February 27, 2021 Author Posted February 27, 2021 To make them appear in the creative menu? Quote
BeardlessBrady Posted February 27, 2021 Author Posted February 27, 2021 Alright, I will abstain from doing any config stuff in the constructor. Quote
BeardlessBrady Posted February 27, 2021 Author Posted February 27, 2021 It seems even isolating it in the #fillItemGroup still has the config coming out null. Quote
BeardlessBrady Posted February 27, 2021 Author Posted February 27, 2021 So is it possible to re fill the item group later on during the FMLCommonSetupEvent like you said? Quote
BeardlessBrady Posted February 27, 2021 Author Posted February 27, 2021 Oh, well that is great information! Thanks for the help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.