Jump 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. That is not even close to the same as the log the OP posted. You should make your own thread and post your log there.
  2. What exactly did you try? Did you @Override the method? Post code and logs please, it helps to see the big picture! Did you look at farmland? And probably also at crop/bush blocks to make sure the logic is not in there.
  3. I would try setting breakpoints and making sure all of the data in your packet code is valid. Also, you should post debug.log, it has much more information than a crashlog
  4. I have not found any site that breaks things down for you, here and there you might find mention of class X Y or Z that is fun/useful, tutorials here and there (which MOST of them alllll cover the same stuff, and then most of those are pretty terrible, especially the majority of the video ones) A lot of the forge stuff is documented/commented, but from what I've seen a vast majority of the vanilla code is not. Some of it is easy to understand, some of it feels like a spaghetti mess rabbit hole. Best things to do: - dig in and just read the code for stuff you're interested in - google, google, google! And forums search on here - Post questions when you can't find what you are looking for. This is the trickiest one probably, because you have to pose your question correctly, and sometimes you don't know you're asking the wrong question. Use as much detail as possible to get the best answer you can. I'm not really making a mod, but I love to tinker, so I spend a lot of time messing with concepts as opposed to finish products, which sounds similar to your original question. Bad news is, you can't be lazy on this one, you have to actively mess with stuff/read code/etc, because most people on here are doing their own things, and while we enjoy helping, most appreciate when people at least try to find their own answers
  5. Did you download/install a 1.15.2 version of forge? Did you create a new Installation in the launcher for it? Same or different game directory? What does it say at the bottom of the launcher to the left of the Play button?
  6. Also, post logs. (for the reason below) I created some json recipe files from the commandline using echo, and for some reason it put an invisible character in the very beginning of my file, even though everything looked right, they didn't work, and there were errors in the log. Creating a new file and then pasting the json in fixed it. Of course, this can all be avoided by using data generators (which I haven't looked at yet lol)
  7. Also, a little bit of description with links to some test code on the minecraftforge github: https://dragoness-e.dreamwidth.org/136561.html
  8. I use Eclipse, and the debug function and breakpoints work just fine!
  9. McJty has an example of a simple chunk provider: https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep12 You could also look at the vanilla chunk generator that generates the flat world.
  10. You may need to use RenderTypeLookup.setRenderLayer on your blocks in FMLClientSetupEvent, i.e. RenderTypeLookup.setRenderLayer(NEWBLOCKS.FIREFLOWER.get(), RenderType.getCutout()); I believe this needs to be done using a DeferredWorkQueue *edit: I guess I should have asked what version, this is how I fixed a similar issue in 1.15.2.
  11. Try the latest see if that works better
  12. What version of the forge MDK did you download?
  13. Block drops are done using loot tables, vanilla sources are a good reference, and the Minecraft wiki has a breakdown of the loot table json. Unfortunately the forge docs are out of date, I use Google and the forums search to get info on stuff I tinker with. Lots of vanilla sources and forums reading!
  14. The filenames of your mods suggest that you downloaded them from a repost site, such as 9 minecraft or something. These sites are bad, and often have outdated, and potentially modified versions of these mods, not to mention hosting them without permission. You should delete all of your mods, and go redownload them from curseforge.com. That is the only place I would trust to download mods, aside from the mod developers own site. Visit https://stopmodreposts.org/ for more information and a list of these sites that you should avoid. That being said, 1.12 is no longer supported due to age. See the LTS link at the top of every page for more information on supported versions. TLDR: 1.14.4 or 1.15.2
  15. 1.12 is no longer supported due to age. 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.
  16. Still Java 14. That's your problem then. I don't know how to change it for you, especially if you've run the commands to remove it. That's more of an operating system issue as opposed to a minecraft/forge issue.
  17. Look at the version numbers. You're using Minecraft 1.15.2 You downloaded forge for 1.5.2 Download forge for 1.15.2 and you will have better luck.
  18. You should make your own post, and post logs, code, and screenshots (if the logs and code don't show what you mean)
  19. What are the results of java -version from your terminal?
  20. This is not actually registering stuff, so the order does not matter. This is registering the DeferredRegisters to the event bus, so that it can register your RegistryObjects at the correct time. The only guarantee at this time for registration is that blocks are always first, items second, everything else in an assumed random order afterwards. I have not tried doing anything like you are yet, but I would imagine that it will involve the use of a supplier to provide your entity type.
  21. Then I would guess you still have some java 14 packages on there. I'm fairly sure there's a command in there somewhere to change which version of Java is the default. *edit: did a quick google for "ubuntu java 14 packages", did you remove openjdk-14-jdk? I'm pretty sure JDKs come with JREs as well. If you can't find the command to change the default java version, you could try making sure that package and others aren't lurking.
  22. As far as I know unless things start setting replace to true everything should play nice
  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.
  24. MadHatAK is correct that you create data/minecraft/tags/blocks in your resources folder and add it there. That's how datapacks override vanilla stuff. Making a walls tag in your mod just creates your own walls tag with only your walls in it.
  25. 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.

Important Information

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

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.