Everything posted by Ugdhar
-
[1.15.2] How to create a zombie spawner?
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).
-
Can i get an explanation of how to create basic ore generation for intellij 1.15.2?
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.
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.
-
Cant get the runs to work
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
-
Pixelmon Mod not loading on 1.15.2
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.
-
Unable to load model
Also, side note, you should not use mom as a modid if you plan on releasing your mod, it's too short.
-
Forge installer ain't workin'
Could you give details? Likely solution is probably either running it from the command line, or running Jarfix
-
Client Jar file
- Client Jar file
Yes, and if it doesn't work, post a screenshot of that window again.- Client Jar file
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.- Client Jar file
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?- Client Jar file
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.- Client Jar file
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.- Mod data overrides vanilla
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- Mod data overrides vanilla
It should be debug.log but I'll take latest.log if that's all you have- [1.15.2] Custom Feature Register
As far as I know, nope. And if you are registering your biome, you should have an instance of it somewhere, if not, make one.- Mod data overrides vanilla
Please post your debug.log, and if you can your project as a github repository. Simply adding that walls.json would not cause all that stuff to happen, so there's definitely something else at play here.- [1.15.2] Custom Feature Register
There is no guarantee to registration order, except Blocks are first, Items second. Add the feature to your biome in the FMLCommonSetupEvent and not in your biomes constructor. I am just guessing at this, since you only shared bits and pieces of code.- Unable to load model
What version is this for? Also, you should post your project as a github repository, it makes it much easier to see the big picture.- [1.15.2] Custom Torch not Rendering Properly
You need to use RenderTypeLookup.setRenderLayer on your blocks in your FMLClientSetupEvent, probably with RenderType.getCutout()- Exporting with IntelliJ
You need to run the build gradle task- [SOLVED] [1.15.2]Exception while running "runData"
Please also post the full debug.log- [SOLVED] [1.15.2]Exception while running "runData"
Do you have a duplicate key somewhere?- exeption in thread main
Your mods.toml is missing loaderVersion, that's what this means: I would open up the one that comes with the MDK and go over it again to make sure yours has all of the mandatory fields.- exeption in thread main
How did you set your project up? It would be useful if you hosted your project on github, then you could share the link here, and people would be able to see the big picture, and probably help you better. I see this: and this I guess if it were me, I would double check that my mods.toml was correct, and make sure my main mod class was correct. If you don't make a github, I'd say at the very least post the contents of those 2 things. - Client Jar file
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.