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. Cadiboo replied to a post in a topic in Support & Bug Reports
    Deleting everything inside /Library/Java/JavaVirtualMachines/ will not delete anything outside of /Library/Java/JavaVirtualMachines/.
  2. Don't use GL11. Use the GLStateManager. Also consider de-duplicating all that code, you've got the same code 17 times. When your debugging, the first thing that you should do is isolate the issue. If you're repeating the same code many times and have a mistake in one of them, it becomes very hard to track down the issue. Don't use TileEntityLockable or ISidedInventory. Do not use IInventory at all, Forge's ItemStackHandlers replace it entirely.
  3. Private instance methods cannot be overriden because the bytecode instructions in the class that uses it for them will still be INVOKE_SPECIAL rather than the INVOKE_VIRTUAL opcodes required for overriding to work.
  4. Java 9 removed the ability to definalise Fields with Reflection.
  5. Cadiboo replied to a post in a topic in Support & Bug Reports
    Delete everything from /Library/Java/JavaVirtualMachines and then install Java 8 from https://adoptopenjdk.net/
  6. Cadiboo replied to a post in a topic in Support & Bug Reports
    What Operating System are you on?
  7. Sorry we don't support 1.7.10 (it's 4+ years old!) or any version under 1.10 on this forum anymore due to their age. We simply don't know how to help you anymore. You can go to the Minecraft Forum where I think that they still still support older versions, or update to a modern version of Minecraft (the latest version or the one before it) to receive support on this forum.
  8. In some cases they are. They are better when you have a private/protected/package private Field that you want to get/set or you have a private/protected/package private Class that you want to access. They are also when you have a private Method that you want to call (not override). They are also the only solution (aside from ASM) to definalise a Class/Field/Method. In all other cases Reflection should be used
  9. Access Transformers exist. Or Access Transformers
  10. The install commands for eclipse are eclipse and then genEclipseRuns. Everything is now in mods.toml. Example, Example @Instance isn't used anymore. If you need the instance, store it yourself. These events are now fired on the Mod event bus, like registry events. You can subscribe to these methods in the normal way or use the mod loading context given to you from the constructor. Example, Example
  11. don't use metadata in 1.13.2. Also, post your logs
  12. Delete any versions other than Java 8 in /Library/Java/JavaVirtualMachines/
  13. Forge doesn't support 1.14.2 yet
  14. To smooth stuff out you want linear interpolation
  15. Post your logs as described in our signatures and the EAQ
  16. modLoadingContext#registerConfig has a fileName parameter. You can probably use use the system file separator in that name
  17. Why do you want multiple config files?
  18. No clue, probably don’t. I know that can change the name of the config somehow, if you really want to look into this that would be a good place to look at.
  19. What’s the result of running “java -version” in terminal?
  20. Client config is in .minecraft/config/<modid>-client.toml, server is in .minecraft/saves/<world>/serverconfig/<modid>-server.toml
  21. Does your model have AO enabled?
  22. You need to use Java 8 on 1.12.2
  23. Don’t use runClient, use the run configs from inside your IDE.
  24. Use the new toml config system. It’s separated based on logical side. Config value holders class: https://github.com/Cadiboo/NoCubes/blob/21969fd434c1711278fd7e1cf8e2f6126ef7b963/src/main/java/io/github/cadiboo/nocubes/config/Config.java “Baking” the configs: https://github.com/Cadiboo/NoCubes/blob/21969fd434c1711278fd7e1cf8e2f6126ef7b963/src/main/java/io/github/cadiboo/nocubes/config/ConfigHelper.java#L100-L135 Config objects holder class: https://github.com/Cadiboo/NoCubes/blob/21969fd434c1711278fd7e1cf8e2f6126ef7b963/src/main/java/io/github/cadiboo/nocubes/config/ConfigHolder.java (Logical) client config: https://github.com/Cadiboo/NoCubes/blob/21969fd434c1711278fd7e1cf8e2f6126ef7b963/src/main/java/io/github/cadiboo/nocubes/config/ClientConfig.java All of the above classes can be in one file. Config change event subscription: https://github.com/Cadiboo/NoCubes/blob/21969fd434c1711278fd7e1cf8e2f6126ef7b963/src/main/java/io/github/cadiboo/nocubes/NoCubes.java#L44-L51 Registering the config specs: https://github.com/Cadiboo/NoCubes/blob/21969fd434c1711278fd7e1cf8e2f6126ef7b963/src/main/java/io/github/cadiboo/nocubes/NoCubes.java#L54-L55
  25. Post your logs

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.