Jump to content

Draco18s

Members
  • Posts

    16559
  • Joined

  • Last visited

  • Days Won

    156

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. Show your TE class.
  5. Note that 1.15 mappings will probably not work on 1.14
  6. What happens if a client sends a packet with forged (fake) information in it?
  7. That's basically all you should need as far as I understand it.
  8. 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.
  9. You can do either.
  10. Don't use modding to learn Java.
  11. Well the @Mod annotation changed and no longer takes all those parameters.
  12. No, you only need to do that if you REMOVE or CHANGE (the registry name of) a block, item, or other registry object.
  13. Did you try creating a new world?
  14. Nothing adds imports automatically, unless you're copying code from a place where it's already imported.
  15. Sort of, if you ran the setup command already, then yes. If no, then you need to run the setup command.
  16. net.minecraftforge.fml.common.Mod;
  17. In your IDE under "referenced files" you will find the vanilla and forge source files.
  18. ...Inside a function? You can call functions from lambda expressions (which are also functions).
  19. No shit. That's why Problematic Code #14 exists.
  20. Packets.
  21. 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.
×
×
  • Create New...

Important Information

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