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.

Kiwilis

Members
  • Joined

  • Last visited

Everything posted by Kiwilis

  1. Hello, I was wondering wether item groups are client or server-sided?
  2. https://github.com/Kiwilis/simple-automation There's not much there yet, because this project isn't even a week old and I don't have a lot of time to work on it.
  3. Certain parts or just all of it?
  4. I still can't figure what's happening. Apparently ShapedRecipeBuilder.save() tries to run this.result.getItemCategory(), but this.result is null, but shoudn't this.result already be defined by ShapedRecipeBuilder.shaped()?
  5. Yes, i also realized that, but where does this method get called from and why does a get() function return null?
  6. I still don't know what's going on
  7. Hi, as the title says, my recipe generator doesn't work. Everytime I try to run it, it gives me this error: Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.CreativeModeTab.getRecipeFolderName()" because the return value of "net.minecraft.world.item.Item.getItemCategory()" is null at TRANSFORMER/[email protected]/net.minecraft.data.recipes.ShapedRecipeBuilder.save(ShapedRecipeBuilder.java:94) at TRANSFORMER/[email protected]/net.minecraft.data.recipes.RecipeBuilder.save(RecipeBuilder.java:21) at TRANSFORMER/[email protected]/kiwilis.simpleautomation.datagen.Recipes.buildCraftingRecipes(Recipes.java:20) at TRANSFORMER/[email protected]/net.minecraft.data.recipes.RecipeProvider.run(RecipeProvider.java:97) at TRANSFORMER/[email protected]/net.minecraft.data.DataGenerator.run(DataGenerator.java:44) at TRANSFORMER/[email protected]/net.minecraftforge.forge.event.lifecycle.GatherDataEvent$DataGeneratorConfig.lambda$runAll$0(GatherDataEvent.java:112) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.api.LamdbaExceptionUtils.lambda$rethrowConsumer$0(LamdbaExceptionUtils.java:34) at java.base/java.util.HashMap$Values.forEach(HashMap.java:1067) at TRANSFORMER/[email protected]/net.minecraftforge.forge.event.lifecycle.GatherDataEvent$DataGeneratorConfig.runAll(GatherDataEvent.java:108) at TRANSFORMER/[email protected]/net.minecraftforge.fmllegacy.DatagenModLoader.begin(DatagenModLoader.java:59) at TRANSFORMER/[email protected]/net.minecraft.data.Main.main(Main.java:65) ... 13 more Log: https://www.toptal.com/developers/hastebin/kafuhaxoya.yaml My recipe generator class: https://www.toptal.com/developers/hastebin/ulaqajopat.less
  8. So you can use sth. like this? RegistryObject.of(new ResourceLocation("copper_ingot"), ForgeRegistries.ITEMS).get();
  9. Hi! I know that the get() functions for mod items is sth. like RegistrationClass.ITEM.get(), but what is the equivalent function for vanilla items?
  10. Hi! I experienced the same issue. Check if you replaced examplemod with your mod id in ln. 103 of the build.gradle. This line: "args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')"
  11. Problem solved! I put my mod code in src/main/resources instead of src/main/java. smh
  12. Problem solved! I put my mod code in src/main/resources instead of src/main/java. smh
  13. Hello, this is happening to me on the 1.17.1-37.0.126 Forge MDK. Whenever I run gradlew build it generates a .jar file, that just contains uncompiled .java files, instead of .class files.
  14. Oh I forgot to say that I'm using the 1.17.1-37.0.126 Forge MDK
  15. Hello, I'm new to Modding! Whenever I try to run my minecraft using my mod I keep getting an error message saying "The Mod File ... has mods that were not found" and I can't figure out why or how to fix it. latest.log: https://www.toptal.com/developers/hastebin/axuyofidid.pl Crash Report: https://www.toptal.com/developers/hastebin/ayotoyeyil.sql build.gradle of my mod: https://www.toptal.com/developers/hastebin/pexucuneda.php mods.toml of my mod: https://www.toptal.com/developers/hastebin/vositureko.ini Main Mod Class: https://www.toptal.com/developers/hastebin/aqasewusam.swift

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.