Posted September 14, 20196 yr I want to access fields in the TOML of my mod like the name such that I don't have to redundantly declare my mod's name for use inside of the code.
September 14, 20196 yr 5 hours ago, deerangle said: I want to access fields in the TOML of my mod like the name such that I don't have to redundantly declare my mod's name for use inside of the code. You could just have a static field stored in your main class that is your modid.If that's what you mean. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
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.