Jump to content

Ugdhar

Members
  • Posts

    2535
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Ugdhar

  1. try putting quotes around it like "C:\Program Files\Java\bin\java.exe"
  2. Then that is not where you installed java, based on the error I would say that is the java installer that does the installing of java on your system.
  3. You will have to locate your java installation, specifically the folder java.exe is in. Then use that in place of where you simply have java in your batch file command. Probably safer not to mess with the system path/environment variables if you don't know what you're doing, you could wipe them out and that would be a big pain.
  4. Then that means that your java is not located in your path, and you must either specify the full path to it, or add the folder it is in to the path.
  5. First, please don't post code as images, hard to read, and it only shows part of what's going on. Where are you calling your addOres method?
  6. I would remove the 32 bit java, it is not necessary. Then google jarfix, get it and run it, that should fix your jar file association.
  7. Hey no worries, glad I got you thinking about it and you figured it out!
  8. I hope you mean mcforge.readthedocs.io Which ones? You should be able to import the build.gradle into eclipse as a gradle project without running any commands, and then execute gradle tasks from within eclipse How? As a gradle project? As an existing project? I'm just trying to get all the details, because I'm thinking that this is probably due to an incorrectly setup workspace.
  9. I would begin again using the recommended MDK, a lot has been done since the version you have. How exactly are you setting up your workspace? Tutorials out there can be rough, there are a LOT of them made by people that don't REALLY know what they are doing. McJty has good ones: https://wiki.mcjty.eu/modding/index.php?title=YouTube-1.14 And hopefully you know Java (or are fluent in a similar language), because if you don't, you are going to have a Bad Time trying to mod.
  10. You need to be more specific please. Are you making a new mod? Updating an old one? Trying to run mods? What is causing this error? As soon as you turn on your computer? When you open the minecraft launcher? You also say "reconfigured the system variables", but you don't say why, or which ones. Also, I would advise using a newer forge, 31.1.0 is not the recommended build anymore.
  11. Have you tried looking through the code, starting with SpawnerBlock? Best guess, having not tried this myself, is that the TileEntity for the SpawnerBlock controls the spawning, so I'd start looking there. :) I just opened SpawnerBlock, and the createTileEntity() method returns a new MobSpawnerTileEntity, so following into that class, I see there's a private AbstractSpawner field called spawnerLogic, so I'd probably go there next (as well as scan the rest of the code in the tile entity just to see if there's anything useful). . .you see what I mean. Find something that looks promising, attempt to implement it, then come back here if it doesn't work, post a link to your code (having a github repo is the best way to share your code, and you likely will get more help having one, since it's easier to search through/clone/debug/etc) and also your debug.log (posting as a github gist is probably the best way, again with a link to here).
  12. Ores and stuff like that are added to the world as Features added to biomes. Take a look at the DefaultBiomeFeatures class in the net.minecraft.world.biome package, search for the word ores, and it will show you how the vanilla ores are added. You will want to add features in your FMLCommonSetupEvent, using DeferredWorkQueue.runLater Give it a shot, if you run into troubles, come back here and post your code (or the best way, is to have your project on github and share the link here), and be descriptive what is going wrong/not working, and post your debug.log (using a github gist or something, again paste the link here)
  13. There should be a skip button at the top right of the page that starts the download. Show a screenshot of what you get after you click the download link if you do not see that.
  14. Please don't post code and other text-based stuff as images, it makes it very hard to read. You should setup a github account and host your project there, or at the very least, copy & paste the text into spoiler tags here. I can see it says malformed url, so my best guess is your mods.toml has some invalid/blank URLs
  15. Do not download mods from wherever you got that from, there is no such thing as pixelmon for 1.15.2. You should ONLY ever download mods from curseforge.com (or through the twitch client mentioned below) Websites that host mods illegally will repack them with incorrect version numbers, host outdated versions, and sometimes even put viruses/spyware in them. If you'd like to find more information on this, why it's bad, and what websites to avoid, visit https://stopmodreposts.org/. My advice for an 8 year old would be to get the twitch launcher from https://www.twitch.tv/downloads and use that. Makes it MUCH less likely you will get tampered with mods, and much easier to get mods.
  16. Also, side note, you should not use mom as a modid if you plan on releasing your mod, it's too short.
  17. Could you give details? Likely solution is probably either running it from the command line, or running Jarfix
  18. Yes, and if it doesn't work, post a screenshot of that window again.
  19. Edit what area? Where it says "Enter Command"? If it says that as soon as the window opens up, someone just customized the cmd prompt to say that. Provided that is the case, then it's not important, ignore it. BUT You are typing, at the very least, 2 separate commands into that commandline, using quotes where you shouldn't. The first is executing the installer jar, with the default java, and the second, well, more than likely being passed as an ignored parameter to the first command. Do not type the path/name of the forge jar file unless it is after -jar And don't use quotes.
  20. The problem is that you are executing the jar with that first command. Delete the whole first part of what you have there, and get rid of the quotes *edit: I was thinking that "enter command" was part of your command prompt, or did you actually type that?
  21. Which command? Copy/paste the text in the command window (if you right-click I believe there's an option to "Mark", then enter copies) and paste it here. Or a screenshot if it's just 1 screen or less of stuff would work.
  22. What are you trying? What happens when you try? Please be as detailed as you can, "it doesn't work" doesn't give us anything to go on to help you.
  23. Data generators are now built-in: https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep7 there are more generators in the net.minecraftforge.client.model.generators package
  24. It should be debug.log but I'll take latest.log if that's all you have
×
×
  • Create New...

Important Information

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