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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. The process by which you figure out how best to do a Thing when modding: 1) Does Forge or Vanilla offer a hook already? Use it <-- you did not do this 2) No? Make a PR to Forge to add the hook 3) Do something else 4) Ask someone else to make the PR for you 5) Weep 6) Coremod <-- you are here
  2. I'm sorry you don't want to do the work necessary to understand how to do things the right way.
  3. You're going to need to do some fiddling about, but its possible to do.
  4. Note that 1.15 mappings will probably not work on 1.14
  5. What happens if a client sends a packet with forged (fake) information in it?
  6. That's basically all you should need as far as I understand it.
  7. 3. Help me update Custom Ore Generation. I already have a distribution written that generates ores near water, changing that to lava would be easy.
  8. You can do either.
  9. Don't use modding to learn Java.
  10. Well the @Mod annotation changed and no longer takes all those parameters.
  11. No, you only need to do that if you REMOVE or CHANGE (the registry name of) a block, item, or other registry object.
  12. Nothing adds imports automatically, unless you're copying code from a place where it's already imported.
  13. Sort of, if you ran the setup command already, then yes. If no, then you need to run the setup command.
  14. net.minecraftforge.fml.common.Mod;
  15. In your IDE under "referenced files" you will find the vanilla and forge source files.
  16. ...Inside a function? You can call functions from lambda expressions (which are also functions).
  17. No shit. That's why Problematic Code #14 exists.
  18. Packets.
  19. https://github.com/SaturninUfolud/PGC/blob/master/java/saturnin_ufolud/pgc/block/PgcBlocks.java#L40 Problematic Code #14 You have a block registry event handler, use it. Or delete that one because you have two. You can't do this here either. Do not, under any circumstances, create a registry entry in any place other than the registry event for that registry object type.

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.