Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ugdhar

Moderators
  • Joined

  • Last visited

Everything posted by Ugdhar

  1. 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).
  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)
  3. 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.
  4. 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
  5. 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.
  6. Also, side note, you should not use mom as a modid if you plan on releasing your mod, it's too short.
  7. Could you give details? Likely solution is probably either running it from the command line, or running Jarfix
  8. Yes, and if it doesn't work, post a screenshot of that window again.
  9. 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.
  10. 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?
  11. 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.
  12. 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.
  13. 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
  14. It should be debug.log but I'll take latest.log if that's all you have
  15. Ugdhar replied to a post in a topic in Modder Support
    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.
  16. 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.
  17. Ugdhar replied to a post in a topic in Modder Support
    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.
  18. 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.
  19. You need to use RenderTypeLookup.setRenderLayer on your blocks in your FMLClientSetupEvent, probably with RenderType.getCutout()
  20. You need to run the build gradle task
  21. Please also post the full debug.log
  22. Do you have a duplicate key somewhere?
  23. 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.
  24. 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.

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.