• Recently Browsing

    No registered users viewing this page.

  • Posts

    • At first, i want to say thanks for fast reply.   For the Item- and BlockTags and the Recipes I could use a provider, so i thought that it would work her too. Especially because it implements the IDataProvider.  Just want to mention that I mean the import BlockStateProvider  from net.minecraftforge.client.model.generators.BlockStateProvider, not the other one. Here are my other Generators:   public class Crushing_Projekt_RecipeProvider extends RecipeProvider{ public Crushing_Projekt_RecipeProvider( DataGenerator generatorIn) { super(generatorIn); // TODO Auto-generated constructor stub } protected InventoryChangeTrigger.Instance hasItem(IItemProvider itemIn) { return this.hasItem(ItemPredicate.Builder.create().item(itemIn).build()); } @Override protected void registerRecipes( Consumer<IFinishedRecipe> consumer) { ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND, 5)// .patternLine("AAA")// .patternLine("ABA")// .patternLine("AAA")// .key('A', Blocks.DIRT)// .key('B', Crushing_Projekt_Items.Basic_Item)// .addCriterion("has_Dirt", hasItem(Blocks.DIRT))// .build(consumer, new ResourceLocation(Crushing_Projekt.MODID,"tutorial_diamonds")); ShapedRecipeBuilder.shapedRecipe(Crushing_Projekt_Items.Basic_Item, 1)// .patternLine("AAB")// .patternLine("ACD")// .patternLine("BDC")// .key('A', Items.AIR)// .key('B', Items.OBSERVER)// .key('C', Items.STICKY_PISTON) .key('D', Items.SLIME_BLOCK) .setGroup("tutorial_basic") .addCriterion("has_Piston", this.hasItem(Blocks.PISTON))// .build(consumer, new ResourceLocation(Crushing_Projekt.MODID,"tutorial_basic_1")); ShapelessRecipeBuilder.shapelessRecipe(Crushing_Projekt_Items.Basic_Item, 1) .addIngredient(Blocks.PISTON) .addIngredient(Items.DIAMOND,8) .setGroup("tutorial_basic") .addCriterion("has_Piston", this.hasItem(Blocks.PISTON)) .build(consumer, new ResourceLocation(Crushing_Projekt.MODID,"tutorial_basic_2")); //Smelts all with tag Tutorial CookingRecipeBuilder.smeltingRecipe(Ingredient.fromTag(Crushing_Projekt_Tags.Items.Tutorial), Blocks.ANDESITE, 1, 10) .addCriterion("has_Door", hasItem(Items.DIRT)) .build(consumer, new ResourceLocation(Crushing_Projekt.MODID,"tutorial_andesite")); //Smelts with forge Tag (Sotrage_Blocks, z.B. Iron Block) CookingRecipeBuilder.smeltingRecipe(getFakeIngredient(Tags.Items.STORAGE_BLOCKS), Blocks.ANDESITE, 1, 10) .addCriterion("has_storage", hasItem(Tags.Items.STORAGE_BLOCKS)) .build(consumer, new ResourceLocation(Crushing_Projekt.MODID,"tutorial_andesite_fremd")); /* CookingRecipeBuilder.smeltingRecipe(getFakeIngredient(Tags.Items.STORAGE_BLOCKS), Blocks.ANDESITE, 1, 10) .addCriterion("has_storage", hasItem(Tags.Items.STORAGE_BLOCKS)) .build(consumer, new ResourceLocation(Crushing_Projekt.MODID,"tutorial_andesite_fremd")); */ } private Ingredient getFakeIngredient(Tag<Item> tag) { return Ingredient.fromItemListStream(Stream.of(new TagList(tag){ @Override public Collection<ItemStack> getStacks(){ return Arrays.asList(new ItemStack(Items.ACACIA_LOG)); } })); } }   public class Crushing_Projekt_ItemTagsProvider extends ItemTagsProvider{ public Crushing_Projekt_ItemTagsProvider(DataGenerator generator) { super(generator); } @Override protected void registerTags() { getBuilder(Crushing_Projekt_Tags.Items.Tutorial).add(Crushing_Projekt_Items.Basic_Item).add(Crushing_Projekt_Blocks.BASIC_BLOCK.asItem()); } }   public class Crushing_Projekt_BlockTagsProvider extends BlockTagsProvider{ public Crushing_Projekt_BlockTagsProvider(DataGenerator generator) { super(generator); } @Override protected void registerTags() { getBuilder(Crushing_Projekt_Tags.Blocks.Tutorial) .add(Crushing_Projekt_Blocks.BASIC_BLOCK).add(Tags.Blocks.STORAGE_BLOCKS_DIAMOND); } }   they all work and are much simpler to use then using a big code, like Animefan8888 did. But as i mentioned, i don't get it work.   I found an Youtube Video, where someone used it, but i could figure out, how to adjust it.
    • Sorry 1.7.10 forge is no longer supported here. Seeing as how it is 8 minecraft versions behind the current now.
    • i will try to disable chairsy block and then run it
    • I would play on a modded server but it doesn't work. I have a launcher to play at this server on Mac but it has an error and I can't find it. Here are the logs: [16:04:50] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:04:50] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:04:50] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:04:50] [main/INFO]: Forge Mod Loader version 7.99.49.0 for Minecraft 1.7.10 loading [16:04:50] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Mac OS X:x86_64:10.15.4, installed at /Users/enfants/Library/Application Support/.paladium/runtime/x64/jre1.8.0_51.jre/Contents/Home [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NullPointerException [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.common.FMLCoreHandle.a(FMLCoreHandle.java:51) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:293) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:230) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:187) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:138) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:87) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:129) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [16:04:50] [main/ERROR]: An error occurred trying to configure the minecraft home at /Users/enfants/Library/Application Support/.paladium/instances/paladium-v6.5 for Forge Mod Loader java.lang.NullPointerException     at cpw.mods.fml.common.FMLCoreHandle.a(FMLCoreHandle.java:51) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:293) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:230) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:187) [palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:138) [palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:87) [palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:129) [palaforge-1.7.10-10.13.4.2512.jar:?]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] [16:04:50] [main/ERROR]: Unable to launch java.lang.NullPointerException     at cpw.mods.fml.common.FMLCoreHandle.a(FMLCoreHandle.java:51) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:293) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:230) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:187) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:138) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:87) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:129) ~[palaforge-1.7.10-10.13.4.2512.jar:?]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]: cpw.mods.fml.relauncher.FMLSecurityManager$ExitTrappedException [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:26) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.SecurityManager.checkExit(SecurityManager.java:761) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.Runtime.exit(Runtime.java:107) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at java.lang.System.exit(System.java:971) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [16:04:50] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:748]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)   Thanks for your help. If you can help me.   PS: the palaforge 1.7.10 work like forge mod loader 1.7.10
  • Topics

  • Who's Online (See full list)