Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cadiboo

Members
  • Joined

  • Last visited

Everything posted by Cadiboo

  1. 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
  2. Let me guess, you’re using Eclipse?
  3. Why don’t you just check? Use your IDE
  4. 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).
  5. 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.
  6. 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.
  7. 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
  8. Why tf are dots now allowed in modids
  9. 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).
  10. I should probably start a new repo for this tbh
  11. 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())); });
  12. I use it on my mod to replace the fluid renderer (the field in BlockRendererDispatcher is final) to add smooth lighting and other stuff.
  13. 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
  14. It changed to isSolid in 1.13
  15. You can see an example of registering ItemBlocks automatically here, but this comes with the overhead of iterating the entire blocks registry.
  16. 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.
  17. 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.
  18. I added an example config https://github.com/Cadiboo/Example-Mod/commit/43db50e176d758ade2338764d7e2fe1b63aae7dd
  19. 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).
  20. 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.
  21. -

    Cadiboo replied to 0xx06's topic in Modder Support
    Why not use the keybinds that already exist in the controls menu?
  22. 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.
  23. 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.
  24. 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.