Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Kiwilis

Members
  • Posts

    43
  • 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. 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()?
  4. Yes, i also realized that, but where does this method get called from and why does a get() function return null?
  5. 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/minecraft@1.17.1/net.minecraft.data.recipes.ShapedRecipeBuilder.save(ShapedRecipeBuilder.java:94) at TRANSFORMER/minecraft@1.17.1/net.minecraft.data.recipes.RecipeBuilder.save(RecipeBuilder.java:21) at TRANSFORMER/simple_automation@1.0.0.1/kiwilis.simpleautomation.datagen.Recipes.buildCraftingRecipes(Recipes.java:20) at TRANSFORMER/minecraft@1.17.1/net.minecraft.data.recipes.RecipeProvider.run(RecipeProvider.java:97) at TRANSFORMER/minecraft@1.17.1/net.minecraft.data.DataGenerator.run(DataGenerator.java:44) at TRANSFORMER/forge@37.0.126/net.minecraftforge.forge.event.lifecycle.GatherDataEvent$DataGeneratorConfig.lambda$runAll$0(GatherDataEvent.java:112) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.api.LamdbaExceptionUtils.lambda$rethrowConsumer$0(LamdbaExceptionUtils.java:34) at java.base/java.util.HashMap$Values.forEach(HashMap.java:1067) at TRANSFORMER/forge@37.0.126/net.minecraftforge.forge.event.lifecycle.GatherDataEvent$DataGeneratorConfig.runAll(GatherDataEvent.java:108) at TRANSFORMER/forge@37.0.126/net.minecraftforge.fmllegacy.DatagenModLoader.begin(DatagenModLoader.java:59) at TRANSFORMER/minecraft@1.17.1/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
  6. So you can use sth. like this? RegistryObject.of(new ResourceLocation("copper_ingot"), ForgeRegistries.ITEMS).get();
  7. 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?
  8. 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/')"
  9. Problem solved! I put my mod code in src/main/resources instead of src/main/java. smh
  10. Problem solved! I put my mod code in src/main/resources instead of src/main/java. smh
  11. 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.
  12. Oh I forgot to say that I'm using the 1.17.1-37.0.126 Forge MDK
  13. 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
×
×
  • Create New...

Important Information

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