Jump to content

Ugdhar

Members
  • Posts

    2531
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Ugdhar

  1. Also, you could search around for open source mods that add dimensions to see what types of things they do.
  2. Not really. I've done a little searching, and about the best I've come up with is: https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep12 https://gist.github.com/Commoble/ac7d7b57c9cbbfcae310c4ab110c3cc0 and small bits and pieces here and there from random googling. Really more than likely, after getting the hang of how things are put together, chunk generators/biome providers/etc. looking at the vanilla code, and probably reading up on noise algorithms are going to be the best bet. I usually make it an hour-2 digging through the vanilla code for world stuff before I start going in circles and my eyes cross lol.
  3. It's free, there's no reason to not have one! And it's so helpful. Not to mention if you're not using git, you should start, because its awesome. Here are some links that may help you get started, don't be scared! https://github.com/ https://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1/ https://www.atlassian.com/git/tutorials/using-branches
  4. If you keep stepping through it, do you get to an endless loop or something? I mean, doing that should show you exactly where in the code it's getting stuck. I'm guessing something is null, or there's a loop that never meets its exist condition or something. And I figured you weren't getting a crash since you mentioned that it got stuck. You should push this to a github so that people can see updated code as you change things, and see the big picture. For instance, we have no dimension code, and can't see the resource location of the dimension. Sometimes something that appears unrelated might have something to do with the problem, that's why when I have an issue I always share all my code, I figure since I'm asking for help, what do I know what code is relevant or not?
  5. Side note: you can use DimensionManager.registerOrGetDimension instead of checking for the dimensiontype by name being null. Have you tried setting breakpoints, stepping through the code, and seeing where the code execution gets stuck?
  6. 1.12 is no longer supported due to age. To receive support you will need to update to a modern version (1.14.4/1.15.2). See the LTS link at the top of every page for more information on supported versions.
  7. To be honest, I'm not sure, I haven't done much with datapacks yet, I just know that the minecraft wiki has details on all the vanilla formats and file structures and stuff. I would hope (again, haven't looked!) that the answer would be on that page somewhere!
  8. https://minecraft.gamepedia.com/Data_pack
  9. You can just edit your build.gradle, open it up and First update mappings: change the line similar to this: by changing the date in the version part to be yesterday or today. Leave the -1.15.1 at the end of it. Then, update the forge version by finding the line similar to this: And change the forge version to be the latest (or whatever never version) as shown on files.minecraftforge.net Save it, then refresh your gradle project, and it should update everything for you. Depending on the mappings you've used, you may have to fix a minor things where methods got named, but it shouldn't be a big deal. *edit: You don't want to just extract a new MDK over on top of your project, it would overwrite your build.gradle, mods.toml, and possibly other files you have customized you wouldn't want overwritten.
  10. Make sure you only get forge from http://files.minecraftforge.net/ You want Latest not Recommended
  11. Ah ok, then update to a newer forge and it should work with newer Java *I just wasn't sure, the changelog basically said no promises
  12. Use Java 8, higher versions are not supported yet
  13. Have you tried updating to see if it's fixed in a newer version?
  14. Unplug this device, it may be some USB thingy.
  15. Check out the code for the bed, and see how it does it, and use a similar approach. Vanilla sources are one of the most valuable assets while modding, and can be viewed in the referenced libraries of your IDE.
  16. As long as it's got the EventBusSubscriber annotation and the event handler methods are static, and have the SubscribeEvent annotation, you should be good to go.
  17. More or less. Info on events here: https://mcforge.readthedocs.io/en/latest/events/intro/
  18. Looks like you have a client mod on a server, remove More Overlays and see if that helps.
  19. Sounds like you probably want global loot modifiers https://github.com/MinecraftForge/MinecraftForge/blob/1.14.x/src/test/java/net/minecraftforge/debug/gameplay/loot/GlobalLootModifiersTest.java
  20. Not sure, I really only use current versions, so I can ask here when I need help. There is a modded minecraft forum on the official minecraft forums, you could try there, but I have no idea what it is like there, since I don't go there myself. Moderators here lock threads for anything below 1.14.
  21. So, as I've been trying to let you know, old versions like 1.7.10 are no longer supported. Once a moderator sees this thread, it will get locked with a request for you to update to a modern version, as I've been suggesting.
  22. Really old versions are no longer supported. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
  23. Really old versions are no longer supported. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
×
×
  • Create New...

Important Information

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