Topic category: Help with Minecraft modding (Java Edition)
I am honestly tired of this, I've searched everything and found nothing. Here are the procedures involved.
Basically, I have a block that extracts different gases based on biome, height, etc.
To avoid making 300 IFELSEs and becoming Yandere Simulator 2, I am using a plugin for arrays.
The problem is, in the procedure ExtractGas, we have this variable called "gas", which I am trying to set it's itemstack value to the return value of the procedure ReturnGas. When I try to do so, this error shows up in the console:
https://gist.github.com/baicu12096/13f7b8527076283d1969266e6ca1298f
If anyone can tell me what is happening, and possibly how I can fix it, I would appreciate. If it involves the autogenerated code, I will send it in no time.
The plugins I'm using are
https://mcreator.net/plugin/117561/arraylist
https://mcreator.net/plugin/119445/jei-integration
JEI (idk the link, came along with JEI Integration)
https://mcreator.net/plugin/91484/nerdys-geckolib-plugin-forge-1182-1192
oh um https://mcreator.net/plugin/117561/arraylist this is made for 2025.1+ you're on 2024.4
try this https://mcreator.net/plugin/118544/arraylists
The plugin you recommended simply doesn't do anything, no new procedure blocks, no new variable types, idk what's happening
I discovered there's a block in the old plugin that adds support for 2025.1 or lower but even adding it doesn't do anything
I don't think that's the problem
ummm huh do the mcreator logs say anything?
This plugin https://mcreator.net/plugin/117561/arraylist is definitely the problem though
Managed to get the plugin to work
Lemme try
oh okay I also what minecraft version are you on?
1.20.something
The lastest version for Forge without plugins
BTW now I realized the code generated by this plugin uses CUSTOM: and now that is crashing the game
I will try changing it to antiforge: manually
Nevermind
This is what the console is showing
https://gist.github.com/baicu12096/c06c7bdd0ca57f9f857da982ed5f1a54
oh dam um
a workaround might be doing
<Mod_id>ModItems.<ITEM_IN_CAPS>.get()
why are you using 2024.4 anyway?
plugins
there are some plugins that dont updated to the newer versions
i will check later on, i will have to think a lot about opening workspaces in newer versions cuz i cant revert it after
are you using any other plugins than these? https://mcreator.net/comment/296070#comment-296070
only the arrays one you recommended
well i give up by now
i surrender my soul to the if elses ):