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. Use DeferredWorkQueue.runLater(Runnable), DeferredWorkQueue is in the net.minecraftforge.fml package and is documented. There was an example of someone using it within the first page of search results. If something doesn't work, you need to post updated code (preferably just have a github repo for the project) and updated logs, and be more descriptive than "it didn't work". When all the details are present, a solution usually presents itself
  2. Search these forums with the search bar at the top for DeferredWorkQueue and you will find an example in one of the results I am sure. I haven't looked, but there might also be documentation in the source for it as well.
  3. Haha oops, I meant that instead of DeferredRegister, thanks, fixing it!
  4. You are overthinking it. You don't need to extend DefaultBiomeFeatures, just find one of the method calls in there that is adding ores, such as this from the addOres method: biomeIn.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE.withConfiguration(new OreFeatureConfig(OreFeatureConfig.FillerBlockType.NATURAL_STONE, IRON_ORE, 9)).withPlacement(Placement.COUNT_RANGE.configure(new CountRangeConfig(20, 0, 0, 64)))); And then use a similar call to the Biome#addFeature method from your FMLCommonSetupEvent, using DeferredWorkQueue using your custom ore. *edit: also, that event you have setup will never fire, there's no method signature to indicate what event it is subscribed to
  5. Were you in creative mode when you were trying it? Just curious, since I would imagine you wouldn't take damage in creative.
  6. I've seen people using a mod called optiforge to load unsupported versions of optifine in 1.15, but honestly that seems like a total hack to me, and I wouldn't bother. Just seems like a hacky mod that lets you run an unsupported hacky mod. . .
  7. Please post your debug.log after this happens with no mods installed, it should provide enough information to start figuring out what is going on.
  8. Please do not add on to a thread someone else started just because you think your issue is the same, changes are it is not. You should start your own thread. No you don't, the latest version is 1.15.2-31.2.0 and you are still using 1.12, which 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.
  9. If you look in the Referenced Libraries of your IDE, there is a forge jar with all the MC/Forge sources for you to browse. A lot/most of the forge stuff has comments/javadocs, but as far as I can tell the majority of the vanilla stuff is not. If you mean like an actual reference manual describing all the methods, there is not one, you more or less have to dig in and read the code. As for your other question, I haven't tried to find all instances of a specific item entity before, sorry!
  10. 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.
  11. As Terdy mentioned above, you make a new Installation (they aren't called profiles anymore) in your launcher for whatever version(s) you want. That being said, keep in mind that 1.12 is not supported here any longer, and if you have issues, you will have to go elsewhere for support. Moderators will close threads for old versions, since the focus is on modern MC/Forge.
  12. 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.
  13. I'm pretty sure he's a mod user, not a mod maker, and doesn't really know what he's saying.
  14. Whichever program is opening the files as ZIP files has hijacked your jar file associate away from Java. https://johann.loefflmann.net/en/software/jarfix/index.html should sort you out.
  15. You got scammed, there is no Pixelmon for 1.15.2, it has not been updated to a supported versions yet (which doesn't mean you can't try to use it, you just won't get help for it here) *edit: Pixelmon website https://reforged.gg/
  16. Really old versions of Minecraft/Forge 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.
  17. You probably aren't getting answers (I saw you complaining in another thread), 1)because you didn't wait very long, this is a forum not a chat room; and 2) because 1.12 is no longer supported because it is out of date. Please update to a modern version (1.14.4/1.15.2) to receive support. If you cannot/will not update, you will have to seek support elsewhere for your issue. More information on supported versions can be found in the LTS link at the top of every page.
  18. you are starting a vanilla server. Use the forge jar
  19. How are you starting the server? If it's a script, please post the contents of it.
  20. Not much I can do to help you if you're using old software then, sorry! Good luck!!
  21. Everything looks right to me, compared it to a block drop json I have that I know works, seems like everything's right, it looks in the right folder and everything. Just to throw this out there, you aren't in creative mode, are you? Things don't drop in creative mode
  22. Use the new launcher. Make sure the launcher is closed when installing forge. If it is not working, please post the installer log, and a screenshot of the launcher window with the versions dropdown at the top of the list as well as the bottom of the list. That should give enough info to start figuring out what's breaking on you
  23. Hmm, where are you registering your DimensionType? I can't seem to find it anywhere, and based on the first post it was supposed to be in DimensionInit. Also, I noticed there are still a few references to examplemod in your mods.toml and build.gradle, don't forget to change them to reference deepnether
  24. I think you can change that in your build.gradle (haven't tried it yet myself) to make it generate them right in the src/main/resources I would guess changing that src/generated/resources to src/main/resources would do it. However, I don't know if it clears out anything before it writes them, so make sure you have a backup or something just in case lol
  25. The main benefit(s) I can see are not having to make sure your json syntax is spot on, using code completion in your IDE for the method names, and being able to make loops where things are similar. That being said, I have yet to use them myself, since I'm a tinkerer more than a modder making a mod. https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep7 McJty has a pretty good starting point, also forge has some examples, and the net.minecraftforge.client.models.generators package has BlockState/Model generators, https://github.com/MinecraftForge/MinecraftForge/blob/1.15.x/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java has examples of those I think.

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.