-
Posts
2617 -
Joined
-
Last visited
-
Days Won
37
Everything posted by Ugdhar
-
I think this is caused by someone breaking the mappings on 5/26 by naming 2 fields the same thing. I had the same problem, and finally opened up that AudioStreamBuffer.java file, and found an int and a ByteBuffer both named buffer. Try using 20200525 for your mappings. *edit: confirmed that this was a mappings glitch, should be fixed in 20200528, use 20200525 until then if you can't wait
-
Mods That Have been deleted are still running.
Ugdhar replied to BigSmoke's topic in Support & Bug Reports
Well, I don't think that's the full log, but it's for 1.12.2, which is no longer supported due to age. -
The problem is you are specifying the folder your java installation is in, not the java.exe. find the java.exe (it's probably in the bin folder), and use the full path to that inside the quotes.
-
Mods That Have been deleted are still running.
Ugdhar replied to BigSmoke's topic in Support & Bug Reports
Post his debug.log, it will show where they are being loaded from -
Show me a screenshot of what you tried
-
try putting quotes around it like "C:\Program Files\Java\bin\java.exe"
-
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.
-
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.
-
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.
-
Hey I have no clue what I'm doing. Why doesn't this work?
Ugdhar replied to Jambaloo's topic in Modder Support
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? -
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.
-
Hey no worries, glad I got you thinking about it and you figured it out!
-
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.
-
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.
-
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.
-
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).
-
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)
-
Cant download forge because of an Ad blocker that I don't have.
Ugdhar replied to ducky_'s topic in Support & Bug Reports
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. -
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
-
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.
-
Also, side note, you should not use mom as a modid if you plan on releasing your mod, it's too short.
-
Could you give details? Likely solution is probably either running it from the command line, or running Jarfix
-
Yes, and if it doesn't work, post a screenshot of that window again.
-
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.