Jump to content

boredherobrine13

Members
  • Posts

    86
  • Joined

  • Last visited

Posts posted by boredherobrine13

  1. Hi, working on my mod. Realized that blocks are not dropping and my ore isn't dropping the item intended either.  Src is available https://github.com/boredherobrine13/morefuelsmod-bleeding and all of my block classes are in this package: https://github.com/boredherobrine13/morefuelsmod-bleeding/tree/master/src/main/java/com/bored/morefuelsmod/block. Here is my Main.class: https://github.com/boredherobrine13/morefuelsmod-bleeding/blob/master/src/main/java/com/bored/morefuelsmod/Main.java. I have the slight sensation that something is missing from my BlockBase/OreBase classes or something isn't registered properly, but can't seem to pin it down. Any help is appreciated!

     

    From my understanding, this is the code needed to make my ore drop the ore rather than itself. I tried adding this to my BlockOre class but it did nothing.

     

    public Item getItemDropped(int par1, Random random, int par2){
    	return ModItems.bituminousCoal;
    	}

  2. So should I make a seperate class for registering item blocks and register each one with a different name...that sounds like a nightmare...

     

    Edit: So I removed the itemblock statement, and reinserted my original cokeBlock.json file in blockstates and deleted the one in models/item:

     

    {
        "forge_marker": 1,
        "defaults": {
            "textures": {
                "all": "morefuelsmod-1.8.9:blocks/cokeBlock"
            }
        },
        "variants": {
            "normal": {
                "model": "cube_all"
            },
            "inventory": {
                "model": "cube_all"
            }
        }
    }

     

    What this leads to however, is blocks not having a texture in the inventory, in item frames, or when dropped. However, the textures work when the block is placed. So the issue is just registering the itemblock properly to work with the .json file in blockstates.

     

     

  3. Hmm...That makes me think that I messed up registering my items. Let me go take a look at ModBlocks.java

     

    Here is ModBlocks.java from 1.9

     

    package com.bored.morefuelsmod.block;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.ItemBlock;
    import net.minecraftforge.fml.common.registry.GameRegistry;
    import com.bored.morefuelsmod.block.BlockBase;
    
    public class ModBlocks {
    
    public static BlockBase pelletBlock;
    public static BlockBase concentratedPelletBlock;
    public static BlockBase cokeBlock;
    
    public static void init() {
    	pelletBlock = register(new BlockBase(Material.WOOD, "pelletBlock"));
    	concentratedPelletBlock = register(new BlockBase(Material.WOOD, "concentratedPelletBlock"));
    	cokeBlock = register(new BlockBase(Material.ROCK, "cokeBlock"));
    }
    
    private static <T extends Block> T register(T block, ItemBlock itemBlock) {
    	GameRegistry.register(block);
    	GameRegistry.register(itemBlock);
    
    	if (block instanceof BlockBase) {
    		((BlockBase)block).registerItemModel(itemBlock);
    	}
    
    	return block;
    }
    
    private static <T extends Block> T register(T block) {
    	ItemBlock itemBlock = new ItemBlock(block);
    	itemBlock.setRegistryName(block.getRegistryName());
    	return register(block, itemBlock);
    }
    
    }

     

    And here is ModBlocks.java from 1.8.9:

     

    package com.bored.morefuelsmod.block;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.ItemBlock;
    import net.minecraftforge.fml.common.registry.GameRegistry;
    import com.bored.morefuelsmod.block.BlockBase;
    
    public class ModBlocks {
    
    public static BlockBase pelletBlock;
    public static BlockBase concentratedPelletBlock;
    public static BlockBase cokeBlock;
    
    public static void init() {
    	pelletBlock = register(new BlockBase(Material.wood, "pelletBlock"));
    	concentratedPelletBlock = register(new BlockBase(Material.wood, "concentratedPelletBlock"));
    	cokeBlock = register(new BlockBase(Material.rock, "cokeBlock"));
    }
    
    private static <T extends Block> T register(T block, ItemBlock itemBlock) {
    	GameRegistry.registerBlock(block);
    
    	if (block instanceof BlockBase) {
    		((BlockBase)block).registerItemModel(itemBlock);
    	}
    
    	return block;
    }
    
    private static <T extends Block> T register(T block) {
    	ItemBlock itemBlock = new ItemBlock(block);
    	itemBlock.setRegistryName(block.getRegistryName());
    	return register(block, itemBlock);
    }
    
    }

     

    The only difference is that 1.8.9 doesnt have

     

    GameRegistry.register(itemBlock);

     

    I just tried inserting that but it doesn't work because your only two choices are

    GameRegistry.registerBlock(block) and GameRegistry.registerItem(Item)

    I tried doing this:

     

    package com.bored.morefuelsmod.block;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.ItemBlock;
    import net.minecraftforge.fml.common.registry.GameRegistry;
    import com.bored.morefuelsmod.block.BlockBase;
    
    public class ModBlocks {
    
    public static BlockBase pelletBlock;
    public static BlockBase concentratedPelletBlock;
    public static BlockBase cokeBlock;
    
    public static void init() {
    	pelletBlock = register(new BlockBase(Material.wood, "pelletBlock"));
    	concentratedPelletBlock = register(new BlockBase(Material.wood, "concentratedPelletBlock"));
    	cokeBlock = register(new BlockBase(Material.rock, "cokeBlock"));
    }
    
    private static <T extends Block> T register(T block, ItemBlock itemBlock) {
    	GameRegistry.registerBlock(block);
    	GameRegistry.registerItem(itemBlock);
    
    	if (block instanceof BlockBase) {
    		((BlockBase)block).registerItemModel(itemBlock);
    	}
    
    	return block;
    }
    
    private static <T extends Block> T register(T block) {
    	ItemBlock itemBlock = new ItemBlock(block);
    	itemBlock.setRegistryName(block.getRegistryName());
    	return register(block, itemBlock);
    }
    
    }

     

    but that just gives me this crash report:

     

    2016-07-18 21:06:04,779 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 21:06:04,781 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [21:06:04] [main/INFO] [GradleStart]: Extra: []
    [21:06:04] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Noah/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [21:06:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:06:04] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1902 for Minecraft 1.8.9 loading
    [21:06:04] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_92
    [21:06:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [21:06:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [21:06:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [21:06:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [21:06:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:06:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [21:06:05] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [21:06:05] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [21:06:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [21:06:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [21:06:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [21:06:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [21:06:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [21:06:06] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    2016-07-18 21:06:06,511 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 21:06:06,528 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 21:06:06,528 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [21:06:06] [Client thread/INFO]: Setting user: Player188
    [21:06:08] [Client thread/INFO]: LWJGL Version: 2.9.4
    [21:06:09] [Client thread/WARN] [FML]: =============================================================
    [21:06:09] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
    [21:06:09] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
    [21:06:09] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
    [21:06:09] [Client thread/WARN] [FML]: =============================================================
    [21:06:09] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
    // I feel sad now 
    
    Time: 7/18/16 9:06 PM
    Description: Loading screen debug info
    
    This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_92, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 823671752 bytes (785 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13441 Compatibility Profile Context 16.200.1035.1001' Renderer: 'AMD Radeon (TM) R9 Fury Series'
    [21:06:09] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1902 Initialized
    [21:06:09] [Client thread/INFO] [FML]: Replaced 229 ore recipies
    [21:06:09] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [21:06:09] [Client thread/INFO] [FML]: Searching C:\Users\Noah\Desktop\Coding\MoreFuelsMod\morefuelsmod-1.8\run\mods for mods
    [21:06:10] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [21:06:10] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, morefuelsmod-1.8.9] at CLIENT
    [21:06:10] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, morefuelsmod-1.8.9] at SERVER
    [21:06:11] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:§4More Fuels Mod
    [21:06:11] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [21:06:11] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [21:06:11] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [21:06:11] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [21:06:11] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [21:06:11] [Client thread/INFO] [sTDOUT]: [com.bored.morefuelsmod.Main:preInit:37]: More Fuels Mod is loading!
    [21:06:11] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [21:06:11] [Client thread/INFO] [FML]: Applying holder lookups
    [21:06:11] [Client thread/INFO] [FML]: Holder lookups applied
    [21:06:11] [Client thread/INFO] [FML]: Injecting itemstacks
    [21:06:11] [Client thread/INFO] [FML]: Itemstack injection complete
    [21:06:11] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
    [21:06:11] [Client thread/ERROR] [FML]: 
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCH	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar) 
    UCH	Forge{11.15.1.1902} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar) 
    UCE	morefuelsmod-1.8.9{1.4.0} [§4More Fuels Mod] (bin) 
    [21:06:11] [Client thread/ERROR] [FML]: The following problems were captured during this phase
    [21:06:11] [Client thread/ERROR] [FML]: Caught exception from morefuelsmod-1.8.9
    java.lang.IllegalArgumentException: The name morefuelsmod-1.8.9:pelletBlock has been registered twice, for net.minecraft.item.ItemBlock@73790bb5 and net.minecraft.item.ItemBlock@3d3709d0.
    at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:456) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:120) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:152) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at com.bored.morefuelsmod.block.ModBlocks.register(ModBlocks.java:24) ~[bin/:?]
    at com.bored.morefuelsmod.block.ModBlocks.register(ModBlocks.java:36) ~[bin/:?]
    at com.bored.morefuelsmod.block.ModBlocks.init(ModBlocks.java:17) ~[bin/:?]
    at com.bored.morefuelsmod.Main.preInit(Main.java:45) ~[bin/:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    [21:06:11] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ----
    // But it works on my machine.
    
    Time: 7/18/16 9:06 PM
    Description: Initializing game
    
    java.lang.IllegalArgumentException: The name morefuelsmod-1.8.9:pelletBlock has been registered twice, for net.minecraft.item.ItemBlock@73790bb5 and net.minecraft.item.ItemBlock@3d3709d0.
    at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:456)
    at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:120)
    at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:152)
    at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
    at com.bored.morefuelsmod.block.ModBlocks.register(ModBlocks.java:24)
    at com.bored.morefuelsmod.block.ModBlocks.register(ModBlocks.java:36)
    at com.bored.morefuelsmod.block.ModBlocks.init(ModBlocks.java:17)
    at com.bored.morefuelsmod.Main.preInit(Main.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:451)
    at net.minecraft.client.Minecraft.run(Minecraft.java:360)
    at net.minecraft.client.main.Main.main(Main.java:116)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:456)
    at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:120)
    at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:152)
    at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
    at com.bored.morefuelsmod.block.ModBlocks.register(ModBlocks.java:24)
    at com.bored.morefuelsmod.block.ModBlocks.register(ModBlocks.java:36)
    at com.bored.morefuelsmod.block.ModBlocks.init(ModBlocks.java:17)
    at com.bored.morefuelsmod.Main.preInit(Main.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:451)
    
    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:360)
    at net.minecraft.client.main.Main.main(Main.java:116)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)
    
    -- System Details --
    Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_92, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 645284656 bytes (615 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.19 Powered by Forge 11.15.1.1902 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCH	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar) 
    UCH	Forge{11.15.1.1902} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1902-1.8.9.jar) 
    UCE	morefuelsmod-1.8.9{1.4.0} [§4More Fuels Mod] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13441 Compatibility Profile Context 16.200.1035.1001' Renderer: 'AMD Radeon (TM) R9 Fury Series'
    Launched Version: 1.8.9
    LWJGL: 2.9.4
    OpenGL: AMD Radeon (TM) R9 Fury Series GL version 4.5.13441 Compatibility Profile Context 16.200.1035.1001, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
    Using GL 1.3 texture combiners.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Shaders are available because OpenGL 2.1 is supported.
    VBOs are available because OpenGL 1.5 is supported.
    
    Using VBOs: No
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 8x Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
    [21:06:11] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Noah\Desktop\Coding\MoreFuelsMod\morefuelsmod-1.8\run\.\crash-reports\crash-2016-07-18_21.06.11-client.txt
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

     

  4. Hey, So i figured out that for items, (using coke as an example here) I can use the model builtin/generated and define some standard first and third person display values like this:

     

    models/item/coke.json

    {
        "parent": "builtin/generated",
        "textures": {
            "layer0": "morefuelsmod-1.8.9:items/coke"
        },
        "display": {
            "thirdperson": {
                "rotation": [ -90, 0, 0 ],
                "translation": [ 0, 1, -3 ],
                "scale": [ 0.55, 0.55, 0.55 ]
            },
            "firstperson": {
                "rotation": [ 0, -135, 25 ],
                "translation": [ 0, 4, 2 ],
                "scale": [ 1.7, 1.7, 1.7 ]
            }
        }
    }

     

    This makes all the items work again. However for blocks something seems different. The model I need to use from my understanding is block/cube_all. But It seems I also need to make another json file in models/items. Either way, I couldn't get things working. I eventually tried this tutorial http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-8/model-files/.

     

    For example: blockstates/coalBlock.json

    {
        "parent": "block/cube_all",
        "textures": {
            "all": "morefuelsmod-1.8.9:blocks/cokeBlock"
        }
    }

     

    and models/item/cokeBlock.json

    {
        "parent": "block/dirt",
        "display": {
            "thirdperson": {
                "rotation": [ 10, -45, 170 ],
                "translation": [ 0, 1.5, -2.75 ],
                "scale": [ 0.375, 0.375, 0.375 ]
            }
        }
    }

     

    EDIT: Here is the startup/error log when I use the above mentioned tutorial code: Appears to be some kind of json syntax issue to me.

    2016-07-18 20:58:35,686 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 20:58:35,687 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [20:58:35] [main/INFO] [GradleStart]: Extra: []
    [20:58:35] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Noah/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [20:58:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [20:58:35] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1902 for Minecraft 1.8.9 loading
    [20:58:35] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_92
    [20:58:35] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [20:58:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [20:58:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [20:58:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [20:58:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [20:58:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [20:58:35] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [20:58:36] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [20:58:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [20:58:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [20:58:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [20:58:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [20:58:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [20:58:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    2016-07-18 20:58:37,385 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 20:58:37,413 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 20:58:37,414 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [20:58:37] [Client thread/INFO]: Setting user: Player70
    [20:58:39] [Client thread/INFO]: LWJGL Version: 2.9.4
    [20:58:40] [Client thread/WARN] [FML]: =============================================================
    [20:58:40] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
    [20:58:40] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
    [20:58:40] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
    [20:58:40] [Client thread/WARN] [FML]: =============================================================
    [20:58:40] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
    // But it works on my machine.
    
    Time: 7/18/16 8:58 PM
    Description: Loading screen debug info
    
    This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_92, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 826297208 bytes (788 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13441 Compatibility Profile Context 16.200.1035.1001' Renderer: 'AMD Radeon (TM) R9 Fury Series'
    [20:58:40] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1902 Initialized
    [20:58:40] [Client thread/INFO] [FML]: Replaced 229 ore recipies
    [20:58:40] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [20:58:40] [Client thread/INFO] [FML]: Searching C:\Users\Noah\Desktop\Coding\MoreFuelsMod\morefuelsmod-1.8\run\mods for mods
    [20:58:41] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [20:58:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, morefuelsmod-1.8.9] at CLIENT
    [20:58:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, morefuelsmod-1.8.9] at SERVER
    [20:58:42] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:§4More Fuels Mod
    [20:58:42] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [20:58:42] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [20:58:42] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [20:58:42] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [20:58:42] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [20:58:42] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [20:58:42] [Client thread/INFO] [sTDOUT]: [com.bored.morefuelsmod.Main:preInit:37]: More Fuels Mod is loading!
    [20:58:42] [Client thread/INFO] [FML]: Applying holder lookups
    [20:58:42] [Client thread/INFO] [FML]: Holder lookups applied
    [20:58:42] [Client thread/INFO] [FML]: Injecting itemstacks
    [20:58:42] [Client thread/INFO] [FML]: Itemstack injection complete
    [20:58:42] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: AHEAD Target: null
    [20:58:42] [sound Library Loader/INFO]: Starting up SoundSystem...
    [20:58:42] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [20:58:42] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [20:58:42] [Thread-9/INFO]: OpenAL initialized.
    [20:58:42] [sound Library Loader/INFO]: Sound engine started
    [20:58:45] [Client thread/INFO] [FML]: Max texture size: 16384
    [20:58:45] [Client thread/INFO]: Created: 16x16 textures-atlas
    [20:58:45] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:cokeBlock#normal for blockstate "morefuelsmod-1.8.9:cokeBlock"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:cokeBlock#normal
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:170) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:115) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of 'morefuelsmod-1.8.9:cokeBlock#normal' from: 'morefuelsmod-1.8.9:blockstates/cokeBlock.json' in resourcepack: 'FMLFileResourcePack:§4More Fuels Mod'
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:155) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 20 more
    Caused by: com.google.gson.JsonSyntaxException: Missing variants, expected to find a JsonObject
    at net.minecraft.util.JsonUtils.getJsonObject(JsonUtils.java:271) ~[JsonUtils.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition$Deserializer.parseVariantsList(ModelBlockDefinition.java:99) ~[ModelBlockDefinition$Deserializer.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition$Deserializer.deserialize(ModelBlockDefinition.java:93) ~[ModelBlockDefinition$Deserializer.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition$Deserializer.deserialize(ModelBlockDefinition.java:87) ~[ModelBlockDefinition$Deserializer.class:?]
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[TreeTypeAdapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
    at net.minecraftforge.client.model.BlockStateLoader.load(BlockStateLoader.java:81) ~[blockStateLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(ModelBlockDefinition.java:32) ~[ModelBlockDefinition.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:150) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 20 more
    [20:58:45] [Client thread/ERROR] [FML]: Model definition for location morefuelsmod-1.8.9:cokeBlock#normal not found
    [20:58:46] [Client thread/INFO] [FML]: Injecting itemstacks
    [20:58:46] [Client thread/INFO] [FML]: Itemstack injection complete
    [20:58:46] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [20:58:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:§4More Fuels Mod
    [20:58:46] [Client thread/INFO]: SoundSystem shutting down...
    [20:58:46] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [20:58:46] [sound Library Loader/INFO]: Starting up SoundSystem...
    [20:58:46] [Thread-11/INFO]: Initializing LWJGL OpenAL
    [20:58:46] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [20:58:46] [Thread-11/INFO]: OpenAL initialized.
    [20:58:47] [sound Library Loader/INFO]: Sound engine started
    [20:58:49] [Client thread/INFO] [FML]: Max texture size: 16384
    [20:58:49] [Client thread/INFO]: Created: 512x512 textures-atlas
    [20:58:49] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:cokeBlock#normal for blockstate "morefuelsmod-1.8.9:cokeBlock"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:cokeBlock#normal
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:170) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:115) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of 'morefuelsmod-1.8.9:cokeBlock#normal' from: 'morefuelsmod-1.8.9:blockstates/cokeBlock.json' in resourcepack: 'FMLFileResourcePack:§4More Fuels Mod'
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:155) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 23 more
    Caused by: com.google.gson.JsonSyntaxException: Missing variants, expected to find a JsonObject
    at net.minecraft.util.JsonUtils.getJsonObject(JsonUtils.java:271) ~[JsonUtils.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition$Deserializer.parseVariantsList(ModelBlockDefinition.java:99) ~[ModelBlockDefinition$Deserializer.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition$Deserializer.deserialize(ModelBlockDefinition.java:93) ~[ModelBlockDefinition$Deserializer.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition$Deserializer.deserialize(ModelBlockDefinition.java:87) ~[ModelBlockDefinition$Deserializer.class:?]
    at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) ~[TreeTypeAdapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:741) ~[Gson.class:?]
    at net.minecraftforge.client.model.BlockStateLoader.load(BlockStateLoader.java:81) ~[blockStateLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition.parseFromReader(ModelBlockDefinition.java:32) ~[ModelBlockDefinition.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:150) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 23 more
    [20:58:49] [Client thread/ERROR] [FML]: Model definition for location morefuelsmod-1.8.9:cokeBlock#normal not found
    [20:58:50] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
    [20:59:02] [Client thread/INFO]: Stopping!
    [20:59:02] [Client thread/INFO]: SoundSystem shutting down...
    [20:59:02] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

     

     

     

    I am generally bad at following tutorials, but I am a bit confused about how 1.8.x handles blocks and itemblocks. In 1.9+, you simply make one file per block, in the blockstates folder. For example:

     

    blockstates/cokeBlock.json

    {
        "forge_marker": 1,
        "defaults": {
            "textures": {
                "all": "morefuelsmod-1.9.4:blocks/cokeBlock"
            }
        },
        "variants": {
            "normal": {
                "model": "cube_all"
            },
            "inventory": {
                "model": "cube_all"
            }
        }
    }

     

     

  5. Hi, I developed version 1.4 of my mod on 1.9 and was able to port it to 1.10 fine. However, when trying to backport to 1.8.9 I ran into a few issues but managed to fix them so the code has no errors. However when I launch there are errors and no textures load. Wondering if someone could help me with what I need to change. My source code is available for 1.8.9 here: https://github.com/boredherobrine13/morefuelsmod-1.8 Here is the working 1.9 source code: https://github.com/boredherobrine13/morefuelsmod-1.9. In addition, here is the errors I get during launching the 1.8.9 backport of the 1.9 code in eclipse:

     

    NOTE: I HAVE NOTICED THAT BLOCKS HAVE A TEXTURE WHEN BEING PLACED, BUT ITEMS AND BLOCKS DO NOT HAVE TEXTURES IN INVENTORY AND WHEN DROPPED ON THE GROUND.

     

    2016-07-18 16:14:32,206 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 16:14:32,207 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [16:14:32] [main/INFO] [GradleStart]: Extra: []
    [16:14:32] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Noah/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [16:14:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [16:14:32] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1902 for Minecraft 1.8.9 loading
    [16:14:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_92
    [16:14:32] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [16:14:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [16:14:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [16:14:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [16:14:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [16:14:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [16:14:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [16:14:33] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [16:14:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [16:14:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [16:14:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [16:14:33] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [16:14:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [16:14:33] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    2016-07-18 16:14:34,184 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 16:14:34,206 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-07-18 16:14:34,207 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [16:14:34] [Client thread/INFO]: Setting user: Player875
    [16:14:36] [Client thread/INFO]: LWJGL Version: 2.9.4
    [16:14:37] [Client thread/WARN] [FML]: =============================================================
    [16:14:37] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
    [16:14:37] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
    [16:14:37] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
    [16:14:37] [Client thread/WARN] [FML]: =============================================================
    [16:14:37] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
    // Quite honestly, I wouldn't worry myself about that.
    
    Time: 7/18/16 4:14 PM
    Description: Loading screen debug info
    
    This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_92, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 826490616 bytes (788 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13441 Compatibility Profile Context 16.200.1035.1001' Renderer: 'AMD Radeon (TM) R9 Fury Series'
    [16:14:37] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1902 Initialized
    [16:14:37] [Client thread/INFO] [FML]: Replaced 229 ore recipies
    [16:14:37] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [16:14:37] [Client thread/INFO] [FML]: Searching C:\Users\Noah\Desktop\Coding\MoreFuelsMod\morefuelsmod-1.8\run\mods for mods
    [16:14:38] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [16:14:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, morefuelsmod-1.8.9] at CLIENT
    [16:14:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, morefuelsmod-1.8.9] at SERVER
    [16:14:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:§4More Fuels Mod
    [16:14:38] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [16:14:38] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
    [16:14:38] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [16:14:38] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [16:14:39] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [16:14:39] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [16:14:39] [Client thread/INFO] [sTDOUT]: [com.bored.morefuelsmod.Main:preInit:37]: More Fuels Mod is loading!
    [16:14:39] [Client thread/INFO] [FML]: Applying holder lookups
    [16:14:39] [Client thread/INFO] [FML]: Holder lookups applied
    [16:14:39] [Client thread/INFO] [FML]: Injecting itemstacks
    [16:14:39] [Client thread/INFO] [FML]: Itemstack injection complete
    [16:14:39] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: AHEAD Target: null
    [16:14:39] [sound Library Loader/INFO]: Starting up SoundSystem...
    [16:14:39] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [16:14:39] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [16:14:39] [Thread-9/INFO]: OpenAL initialized.
    [16:14:39] [sound Library Loader/INFO]: Sound engine started
    [16:14:42] [Client thread/INFO] [FML]: Max texture size: 16384
    [16:14:42] [Client thread/INFO]: Created: 16x16 textures-atlas
    [16:14:42] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:coke#inventory for item "morefuelsmod-1.8.9:coke"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:coke#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/coke.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/coke.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    [16:14:42] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:bitumen#inventory for item "morefuelsmod-1.8.9:bitumen"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:bitumen#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/bitumen.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/bitumen.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    [16:14:42] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:bituminousCoal#inventory for item "morefuelsmod-1.8.9:bituminousCoal"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:bituminousCoal#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/bituminousCoal.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/bituminousCoal.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    [16:14:42] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:canSlimoline#inventory for item "morefuelsmod-1.8.9:canSlimoline"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:canSlimoline#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/canSlimoline.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/canSlimoline.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 19 more
    [16:14:42] [Client thread/ERROR] [FML]: Suppressed additional 14 model loading errors for domain morefuelsmod-1.8.9
    [16:14:43] [Client thread/INFO] [FML]: Injecting itemstacks
    [16:14:43] [Client thread/INFO] [FML]: Itemstack injection complete
    [16:14:43] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [16:14:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:§4More Fuels Mod
    [16:14:43] [Client thread/INFO]: SoundSystem shutting down...
    [16:14:43] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [16:14:43] [sound Library Loader/INFO]: Starting up SoundSystem...
    [16:14:43] [Thread-11/INFO]: Initializing LWJGL OpenAL
    [16:14:43] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [16:14:43] [Thread-11/INFO]: OpenAL initialized.
    [16:14:43] [sound Library Loader/INFO]: Sound engine started
    [16:14:46] [Client thread/INFO] [FML]: Max texture size: 16384
    [16:14:46] [Client thread/INFO]: Created: 512x512 textures-atlas
    [16:14:46] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:coke#inventory for item "morefuelsmod-1.8.9:coke"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:coke#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/coke.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/coke.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    [16:14:46] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:bitumen#inventory for item "morefuelsmod-1.8.9:bitumen"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:bitumen#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/bitumen.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/bitumen.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    [16:14:46] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:bituminousCoal#inventory for item "morefuelsmod-1.8.9:bituminousCoal"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:bituminousCoal#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/bituminousCoal.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/bituminousCoal.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    [16:14:46] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-1.8.9:canSlimoline#inventory for item "morefuelsmod-1.8.9:canSlimoline"
    java.lang.Exception: Could not load model definition for variant morefuelsmod-1.8.9:canSlimoline#inventory
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:259) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:116) ~[ModelLoader.class:?]
    at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model morefuelsmod-1.8.9:blockstates/canSlimoline.json
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    Caused by: java.io.FileNotFoundException: morefuelsmod-1.8.9:blockstates/canSlimoline.json
    at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?]
    ... 22 more
    [16:14:46] [Client thread/ERROR] [FML]: Suppressed additional 14 model loading errors for domain morefuelsmod-1.8.9
    [16:14:47] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
    [16:14:49] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
    [16:14:49] [server thread/INFO]: Starting integrated minecraft server version 1.8.9
    [16:14:49] [server thread/INFO]: Generating keypair
    [16:14:49] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [16:14:49] [server thread/INFO] [FML]: Applying holder lookups
    [16:14:49] [server thread/INFO] [FML]: Holder lookups applied
    [16:14:49] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@4dfa7f5e)
    [16:14:49] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@4dfa7f5e)
    [16:14:49] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@4dfa7f5e)
    [16:14:49] [server thread/INFO]: Preparing start region for level 0
    [16:14:50] [server thread/INFO]: Changing view distance to 12, from 10
    [16:14:51] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
    [16:14:52] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [16:14:52] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [16:14:52] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
    [16:14:52] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [16:14:52] [server thread/INFO] [FML]: [server thread] Server side modded connection established
    [16:14:52] [server thread/INFO]: Player875[local:E:538362ec] logged in with entity id 66 at (185.4139044056834, 4.0, 1322.7955745200463)
    [16:14:52] [server thread/INFO]: Player875 joined the game
    [16:14:56] [server thread/INFO]: Player875 has just earned the achievement [Taking Inventory]
    [16:14:56] [Client thread/INFO]: [CHAT] Player875 has just earned the achievement [Taking Inventory]
    [16:15:08] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@17445c2d[id=4c4af65a-e991-33a8-a762-2d145c215578,name=Player875,properties={},legacy=false]
    com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
    at net.minecraft.client.Minecraft.func_181037_M(Minecraft.java:2915) [Minecraft.class:?]
    at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [skinManager$3.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_92]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_92]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_92]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_92]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_92]
    [16:15:18] [server thread/INFO]: Saving and pausing game...
    [16:15:18] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [16:15:18] [server thread/INFO]: Saving chunks for level 'New World'/Nether
    [16:15:18] [server thread/INFO]: Saving chunks for level 'New World'/The End
    [16:15:20] [server thread/INFO]: Stopping server
    [16:15:20] [server thread/INFO]: Saving players
    [16:15:20] [server thread/INFO]: Saving worlds
    [16:15:20] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [16:15:20] [server thread/INFO]: Saving chunks for level 'New World'/Nether
    [16:15:20] [server thread/INFO]: Saving chunks for level 'New World'/The End
    [16:15:20] [server thread/INFO] [FML]: Unloading dimension 0
    [16:15:20] [server thread/INFO] [FML]: Unloading dimension -1
    [16:15:20] [server thread/INFO] [FML]: Unloading dimension 1
    [16:15:20] [server thread/INFO] [FML]: Applying holder lookups
    [16:15:20] [server thread/INFO] [FML]: Holder lookups applied
    [16:15:20] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
    [16:15:21] [Client thread/INFO]: Stopping!
    [16:15:21] [Client thread/INFO]: SoundSystem shutting down...
    [16:15:21] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

  6. Hi, I have a mod where I need different numbers of different items to be craftable into a certain item. IE,

     

    10 stacked deadbushes = 1 of item in a crafting table. So it can't be like, two stacks of 5, or 9 deadbushes throughout the table. It has to be a stack of 10. I have tried to do this by making itemstacks, but this does not seem to work. any ideas? Here is my recipe code...

     

    GameRegistry.addShapelessRecipe(new ItemStack(ModItems.pelletsFuel,1),new Object[]{new ItemStack(Blocks.DEADBUSH, 10)});

     

    The problem is, if i put 1 deadbush in the table, it outputs one of these items. If i put in 10, it will output 10. I need to put in 10 and output 1. Please help.

  7. Here is my original .json file:

     

    {
    "parent": "item/generated",
    "textures": {
    	"layer0": "morefuelsmod:items/pelletsFuel.png"
    }
    }

     

    And here is my ModItems.java

     

    package com.bored.morefuelsmod.item;
    
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import net.minecraftforge.fml.common.registry.GameRegistry;
    
    public class ModItems {
    
    public static ItemBase pelletsFuel;
    
    public static void init() {
    	pelletsFuel = register(new ItemBase("pelletsFuel").setCreativeTab(CreativeTabs.MATERIALS));
    }
    
    private static <T extends Item> T register(T item) {
    	GameRegistry.register(item);
    
    	if (item instanceof ItemBase) {
    		((ItemBase)item).registerItemModel();
    	}
    
    	return item;
    }
    
    }

     

    Any Idea what to change...? I have tried messing with file paths alot but for some reason It will not change.

  8. Hi...so when running the test run in eclipse and when running the compiled mode, console outputs this:

     

    [01:45:58] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-bleeding:pelletsFuel#inventory for item "morefuelsmod-bleeding:pelletsFuel", normal location exception: 
    net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model morefuelsmod-bleeding:item/pelletsFuel with loader VanillaLoader.INSTANCE, skipping
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:131) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:112) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:797) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:559) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: java.io.FileNotFoundException: morefuelsmod-bleeding:models/item/pelletsFuel.json
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:69) ~[simpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:311) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:849) ~[ModelLoader$VanillaLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
    ... 23 more
    [01:45:58] [Client thread/ERROR] [FML]: Exception loading model for variant morefuelsmod-bleeding:pelletsFuel#inventory for item "morefuelsmod-bleeding:pelletsFuel", blockstate location exception: 
    net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model morefuelsmod-bleeding:pelletsFuel#inventory with loader VariantLoader.INSTANCE, skipping
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:306) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:131) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:112) [simpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:797) [Minecraft.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:332) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:559) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:384) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_92]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_92]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
    Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?]
    at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1164) ~[ModelLoader$VariantLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
    ... 23 more

     

    When I load into the game, the item texture is just the default blank black and purple texture block. I am not sure why it is not loading my textures. My source code for the mod is available here: https://github.com/boredherobrine13/morefuelsmod-bleeding. Let me know if anything seems amiss. I couldn't find anything.

  9. Hi, I am doing a quick backport of my code to 1.6.4 due to a few requests. I know this version is outdated, and I have no plans to continually support it for future versions of my mod. This is simply a one time basic feature backport for those who might want to use my mod with older mods that have been abandoned and or not updated past 1.6. So please spare me the "Why are you using 1.6.4?" I am well aware of why I shouldn't be using it for active development.

     

    Anyways, my issue is this. In newer versions (1.7+) I have been able to add items as fuels using

     

    if(fuel.getItem() == Item.itemname){
    		return xticks;
    	}

     

    This function works from 1.6.4 to 1.9.4 and probably even earlier versions which I won't be exploring.

     

    However, the function I have used to add blocks as fuels:

     

    if(fuel.getItem() == Item.getItemFromBlock(Blocks.itemname)){
    				return xticks;
    			}

     

    Does not work in 1.6.4 because there is no "Item.getItemFromBlock" that I can use. I am not sure how to set it up and all attempts have failed thus far.

     

    Here is my current source code as is. (just so you can see how I have my mod set up if it will help you with finding a solution.

     

    Main.java:

     

    package com.bored.morefuelsmod;
    
    import net.minecraft.block.Block;
    import net.minecraftforge.common.Configuration;
    import net.minecraft.block.*;
    import net.minecraft.block.material.*;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    
    @Mod(modid = Main.MODID, version = Main.VERSION, name = Main.MODNAME)
    public class Main
    {
        public static final String MODID = "morefuelsmod-1.6.4";
        public static final String VERSION = "1.3.1-alpha";
        public static final String MODNAME = "More Fuels Mod";
        
        @EventHandler
        public void preinit(FMLPreInitializationEvent event){
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
        	config.load();
        	boolean enableRFtLrecipe = config.get(Configuration.CATEGORY_GENERAL, "enableRFtLrecipe", true).getBoolean(true);
        	if(enableRFtLrecipe)
        		GameRegistry.addSmelting(367, new ItemStack(Item.leather), 0.3F);
        	config.save();
        }
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
    	GameRegistry.registerFuelHandler(new Fuels());
    
        }
    }
    

     

     

    Fuels.java:

     

    package com.bored.morefuelsmod;
    
    import cpw.mods.fml.common.IFuelHandler;
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockSand;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    
    public class Fuels implements IFuelHandler {
    
    @Override
    public int getBurnTime(ItemStack fuel) {
    	if(fuel.getItem() == Item.itemFrame){
    		return 900;
    	}
    	if(fuel.getItem() == Item.bed){
    		return 1500;
    	}
    	if(fuel.getItem() == Item.painting){
    		return 1000;
    	}
    	if(fuel.getItem() == Item.sign){
    		return 640;
    	}
    	if(fuel.getItem() == Item.arrow){
    		return 60;
    	}
    	if(fuel.getItem() == Item.feather){
    		return 100;
    	}
    	if(fuel.getItem() == Item.wheat){
    		return 100;
    	}
    	if(fuel.getItem() == Item.seeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.melonSeeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.pumpkinSeeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.doorWood){
    		return 600;
    	}
    	if(fuel.getItem() == Item.minecartCrate){
    		return 400;
    	}
    	if(fuel.getItem() == Item.minecartTnt){
    		return 8180;
    	}
    	return 0;
    }
    
    }

     

     

  10. Hi, I am doing a quick backport of my code to 1.6.4 due to a few requests. I know this version is outdated, and I have no plans to continually support it for future versions of my mod. This is simply a one time basic feature backport for those who might want to use my mod with older mods that have been abandoned and or not updated past 1.6. So please spare me the "Why are you using 1.6.4?" I am well aware of why I shouldn't be using it for active development.

     

    Anyways, my issue is this. In newer versions (1.7+) I have been able to add items as fuels using

     

    if(fuel.getItem() == Item.itemname){
    		return xticks;
    	}

     

    This function works from 1.6.4 to 1.9.4 and probably even earlier versions which I won't be exploring.

     

    However, the function I have used to add blocks as fuels:

     

    if(fuel.getItem() == Item.getItemFromBlock(Blocks.itemname)){
    				return xticks;
    			}

     

    Does not work in 1.6.4 because there is no "Item.getItemFromBlock" that I can use. I am not sure how to set it up and all attempts have failed thus far.

     

    Here is my current source code as is. (just so you can see how I have my mod set up if it will help you with finding a solution.

     

    Main.java:

     

    package com.bored.morefuelsmod;
    
    import net.minecraft.block.Block;
    import net.minecraftforge.common.Configuration;
    import net.minecraft.block.*;
    import net.minecraft.block.material.*;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    
    @Mod(modid = Main.MODID, version = Main.VERSION, name = Main.MODNAME)
    public class Main
    {
        public static final String MODID = "morefuelsmod-1.6.4";
        public static final String VERSION = "1.3.1-alpha";
        public static final String MODNAME = "More Fuels Mod";
        
        @EventHandler
        public void preinit(FMLPreInitializationEvent event){
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
        	config.load();
        	boolean enableRFtLrecipe = config.get(Configuration.CATEGORY_GENERAL, "enableRFtLrecipe", true).getBoolean(true);
        	if(enableRFtLrecipe)
        		GameRegistry.addSmelting(367, new ItemStack(Item.leather), 0.3F);
        	config.save();
        }
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
    	GameRegistry.registerFuelHandler(new Fuels());
    
        }
    }
    

     

     

    Fuels.java:

     

    package com.bored.morefuelsmod;
    
    import cpw.mods.fml.common.IFuelHandler;
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockSand;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    
    public class Fuels implements IFuelHandler {
    
    @Override
    public int getBurnTime(ItemStack fuel) {
    	if(fuel.getItem() == Item.itemFrame){
    		return 900;
    	}
    	if(fuel.getItem() == Item.bed){
    		return 1500;
    	}
    	if(fuel.getItem() == Item.painting){
    		return 1000;
    	}
    	if(fuel.getItem() == Item.sign){
    		return 640;
    	}
    	if(fuel.getItem() == Item.arrow){
    		return 60;
    	}
    	if(fuel.getItem() == Item.feather){
    		return 100;
    	}
    	if(fuel.getItem() == Item.wheat){
    		return 100;
    	}
    	if(fuel.getItem() == Item.seeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.melonSeeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.pumpkinSeeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.doorWood){
    		return 600;
    	}
    	if(fuel.getItem() == Item.minecartCrate){
    		return 400;
    	}
    	if(fuel.getItem() == Item.minecartTnt){
    		return 8180;
    	}
    	return 0;
    }
    
    }

     

     

  11. Hi, yes, I know 1.6.4 is dead. However this is for a modpack and for compatibility sake. I am backporting some basic code from my mod to 1.6.4, and so far it has worked fine. However, the fuels that I added, while they show no code errors, don't actually work once minecraft has been launched. What gives? Here is my code:

     

    Main.java:

     

    package com.bored.morefuelsmod;
    
    import net.minecraft.block.Block;
    import net.minecraftforge.common.Configuration;
    import net.minecraft.block.*;
    import net.minecraft.block.material.*;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    
    @Mod(modid = Main.MODID, version = Main.VERSION, name = Main.MODNAME)
    public class Main
    {
        public static final String MODID = "morefuelsmod-1.6.4";
        public static final String VERSION = "1.3.2a";
        public static final String MODNAME = "More Fuels Mod";
        
        @EventHandler
        public void preinit(FMLPreInitializationEvent event){
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
        	config.load();
        	boolean enableRFtLrecipe = config.get(Configuration.CATEGORY_GENERAL, "enableRFtLrecipe", true).getBoolean(true);
        	if(enableRFtLrecipe)
        		GameRegistry.addSmelting(367, new ItemStack(Item.leather), 0.3F);
        	config.save();
        	
        }
        public void init(FMLInitializationEvent event)
        {
    	GameRegistry.registerFuelHandler(new Fuels());
        }
    }
    

     

     

    Fuels.java

     

    package com.bored.morefuelsmod;
    
    import cpw.mods.fml.common.IFuelHandler;
    import net.minecraft.block.Block;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    
    public class Fuels implements IFuelHandler {
    
    @Override
    public int getBurnTime(ItemStack fuel) {
    	if(fuel.getItem() == Item.itemFrame){
    		return 900;
    	}
    	if(fuel.getItem() == Item.bed){
    		return 1500;
    	}
    	if(fuel.getItem() == Item.painting){
    		return 1000;
    	}
    	if(fuel.getItem() == Item.sign){
    		return 640;
    	}
    	if(fuel.getItem() == Item.arrow){
    		return 60;
    	}
    	if(fuel.getItem() == Item.feather){
    		return 100;
    	}
    	if(fuel.getItem() == Item.wheat){
    		return 100;
    	}
    	if(fuel.getItem() == Item.seeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.melonSeeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.pumpkinSeeds){
    		return 100;
    	}
    	if(fuel.getItem() == Item.doorWood){
    		return 600;
    	}
    	if(fuel.getItem() == Item.minecartCrate){
    		return 400;
    	}
    	if(fuel.getItem() == Item.minecartTnt){
    		return 8180;
    	}
    	return 0;
    }
    
    }
    

     

     

    Also, does anyone know how to use blocks. I have only been able to figure out how to do items using this method? There doesnt seem to be a Item.getitemfromblock() which I used. In case anyone is wondering, I am backporting from the 1.7.x source code available on my github https://github.com/boredherobrine13/morefuelsmod-1.7

  12. Okay, so basically. My mod makes items burnable. I want to make it so that DRY sponge is burnable but WET sponge is not burnable. However, every time i have tried to specify metadata, it doesn't work. I think its just a syntax thing or import I don't know. Here is my code for sponges:

     

    //Sponges. Wet sponge burns too, need to figure out how to disable that.
    			if (fuel.getItem() == Item.getItemFromBlock(Blocks.sponge)){
    				return 200;
    			}

     

    Code examples are appreciated. I want to specify sponge:0 so that sponge:1 doesn't burn. the normal ids are 19:0 and 19:1 but I couldn't get that to work even after I changed

    Item.getItemFromBlock(Blocks.sponge)

    to

    Item.getItemFromId(19:0)

×
×
  • Create New...

Important Information

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