
Everything posted by Cadiboo
-
[1.13] Setting up dev environment / Getting Started
IntelliJ comes with a built in decompiler, so you never have to worry about not being able to find the source. Someone’s also written a port of this for eclipse
-
[1.13.2]Modding Questions
Let me guess, you’re using Eclipse?
-
What plant type is BlockStem ?
Why don’t you just check? Use your IDE
-
[1.13] How to enable Config GUI (Config button grayed out)
This applies to IntelliJ. Recompile the GuiModList class by either right clicking it in the project explorer and selecting “recompile” or going into the class in the editor and selecting “recompile” from the build menu or recompiling it with the keybind (shift + fn + f9 by default).
-
Novice at using mods at Minecraft(help please)
The Forge alphas aren’t public yet. The differences between 1.12.2 and 1.13.2 are massive, but the differences between 1.13.2 and 1.14.2 are likely to be pretty small.
-
In 1.13, are proxy classes done away with in favor of other methods?
Mostly, they are unnecessary in 90% of cases since they have been replaced by Sided EventSubscribers. They are still needed for specialised behaviour depending on physical side that doesn’t involve events, but most mods don’t need to deal with this stuff. In the other 10% of cases do what Draco said. However, remember that if it has anything to do with Events, it should be in a sided EventSubscriber, NOT a proxy.
-
[1.13] Setting up dev environment / Getting Started
I would put a breakpoint at EventBus.java:274 and see what the actual error is. BTW I highly recommend using a constant MOD_ID in your class rather than hardcoding it in your @Mod
-
[1.13.2]Modding Questions
Why tf are dots now allowed in modids
-
[1.13] How to enable Config GUI (Config button grayed out)
Run the game in debug mode, open up the config screen, select NoCubes (see the greyed our config button), recompile the GuiModList and hotswap it in (just save it in eclipse). This will put the code from my modified version into the game (the one that enables the config for NoCubes).
-
[1.13] How to enable Config GUI (Config button grayed out)
I should probably start a new repo for this tbh
-
[1.13] How to enable Config GUI (Config button grayed out)
I was thinking ConfigGuiHandler.getGuiFactoryFor(selectedMod).map(f->f.apply(this.mc, this)).ifPresent(newScreen -> this.mc.displayGuiScreen(newScreen)).orElse(() -> { if(selectedMod.hasConfigs()) this.mc.displayGuiScreen(new GuiConfig(selectedMod.getConfigs())); });
-
[1.12.2] How do I make bedrock add stat to the player stat. [Solved]
I use it on my mod to replace the fluid renderer (the field in BlockRendererDispatcher is final) to add smooth lighting and other stuff.
-
[1.13] How to enable Config GUI (Config button grayed out)
With my repo? You need to launch the game, then recompile & hotswap the ModListGui from Forge. This enabled the Config GUI for NoCubes. Then you should be able to open the config menu. I’m thinking of removing the hasConfig method from ModInfo and replacing it with something else instead
-
1.14.2 missing block under custom model
It changed to isSolid in 1.13
-
[1.13] errors on opening JSON resource files (blockstates/models)
You can see an example of registering ItemBlocks automatically here, but this comes with the overhead of iterating the entire blocks registry.
-
[1.13] How to enable Config GUI (Config button grayed out)
It’s not really the GUI that’s the issue right now, it’s trying to understand how the old system works and trying to apply that to the slightly incomplete new system. The IConfigElement used by the old system needs significant changes, so do the config elements in the GUI. I’m not sure how to handle categories or the different input types (these changed too) and I haven’t even thought of how to make it save yet.
-
[1.13.2]Modding Questions
You can see a tutorial I have on this here (it isn’t quite finished yet). You’ll need to create a new item and register it in the RegistryEvent.Register<Item> event inside an event subscriber subscribed to the mod event bus.
-
[SOLVED] [1.13] Config not being created
I added an example config https://github.com/Cadiboo/Example-Mod/commit/43db50e176d758ade2338764d7e2fe1b63aae7dd
-
[1.13] How to enable Config GUI (Config button grayed out)
It’s not implemented yet and cpw doesn’t have the time to work it out with his real world commitments and 1.14. If you’d like to help, I’m trying to do some work on porting it at https://github.com/Cadiboo/NoCubes/tree/1.13.2-config (currently only has the base GUI without any of the config entries implemented).
-
Mod support
I would look on their GitHub and wiki if they have one. It will probably have detailed instructions on how to do something like this.
-
-
Why not use the keybinds that already exist in the controls menu?
-
[1.13.2]Modding Questions
Are you asking how to create and register an Item, or how to add a model (and texture) to an item? Also, your modid won’t work, modids need to all lowercase.
-
[1.12.2] How do I make bedrock add stat to the player stat. [Solved]
I said that you can no longer definalise fields with Reflection (because of how it breaks the JVM) in Java 9. They definitely didn’t remove Reflection.
-
[1.13] Setting up dev environment / Getting Started
GitHub repo pls?
-
[1.13.2] Tile Entity not loading contents on world reload and TER struggles
I’m not sure if this is exactly what you want, but this code renders items rotated around a point (clean up the code before using it if you decide to use it) https://github.com/Cadiboo/WIPTech/blob/2d7e3f1073ed5602944e35daccf18ced8ff4f40a/src/main/java/cadiboo/wiptech/client/render/tileentity/TESRAssemblyTable.java#L44-L55
IPS spam blocked by CleanTalk.