Posted August 15, 20169 yr I am extending Block to make a multi-state block that can be placed facing different directions. It has two different textures that are used to make the block. When transitioning from preinitialisation to initialisation, minecraft crashes. Here is a spoiler with the crash log 2016-08-15 11:04:03,013 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:04:03,019 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [11:04:03] [main/INFO] [GradleStart]: Extra: [] [11:04:03] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/james_000/.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] [11:04:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [11:04:03] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading [11:04:03] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_91, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_91\jre [11:04:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [11:04:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [11:04:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [11:04:03] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [11:04:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:04:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [11:04:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [11:04:07] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [11:04:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [11:04:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [11:04:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [11:04:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [11:04:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [11:04:08] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2016-08-15 11:04:13,945 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:04:14,155 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:04:14,160 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [11:04:15] [Client thread/INFO]: Setting user: Player892 [11:04:25] [Client thread/INFO]: LWJGL Version: 2.9.4 [11:04:27] [Client thread/WARN] [FML]: ============================================================= [11:04:27] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [11:04:27] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V [11:04:27] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead [11:04:27] [Client thread/WARN] [FML]: ============================================================= [11:04:28] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ---- // You're mean. Time: 15/08/16 11:04 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 761258752 bytes (725 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel® HD Graphics' [11:04:28] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [11:04:28] [Client thread/INFO] [FML]: Replaced 204 ore recipies [11:04:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [11:04:30] [Client thread/INFO] [FML]: Searching D:\Forge-1.8.9-Dev\run\mods for mods [11:04:34] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [11:04:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at CLIENT [11:04:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at SERVER [11:04:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Epic Mod [11:04:37] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [11:04:37] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [11:04:37] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [11:04:37] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [11:04:37] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [11:04:37] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [11:04:38] [Client thread/INFO] [FML]: Applying holder lookups [11:04:38] [Client thread/INFO] [FML]: Holder lookups applied [11:04:38] [Client thread/INFO] [FML]: Injecting itemstacks [11:04:38] [Client thread/INFO] [FML]: Itemstack injection complete [11:04:38] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [11:04:38] [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.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE epicmod{1.0.0} [Epic Mod] (bin) [11:04:38] [Client thread/ERROR] [FML]: The following problems were captured during this phase [11:04:38] [Client thread/ERROR] [FML]: Caught exception from epicmod java.lang.ExceptionInInitializerError at com.james.epicmod.CommonProxy.preInit(CommonProxy.java:17) ~[bin/:?] at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:15) ~[bin/:?] at com.james.epicmod.Main.preInit(Main.java:39) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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.1722.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} as it does not exist in BlockState{block=null, properties=[]} at net.minecraft.block.state.BlockState$StateImplementation.withProperty(BlockState.java:156) ~[blockState$StateImplementation.class:?] at com.james.epicmod.Blocks.BlockAtomExtractor.<init>(BlockAtomExtractor.java:32) ~[blockAtomExtractor.class:?] at com.james.epicmod.Blocks.ModBlocks.<clinit>(ModBlocks.java:16) ~[ModBlocks.class:?] ... 46 more [11:04:38] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3 Time: 15/08/16 11:04 Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.ExceptionInInitializerError at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) Caused by: java.lang.ExceptionInInitializerError at com.james.epicmod.CommonProxy.preInit(CommonProxy.java:17) at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:15) at com.james.epicmod.Main.preInit(Main.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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) ... 16 more Caused by: java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} as it does not exist in BlockState{block=null, properties=[]} at net.minecraft.block.state.BlockState$StateImplementation.withProperty(BlockState.java:156) at com.james.epicmod.Blocks.BlockAtomExtractor.<init>(BlockAtomExtractor.java:32) at com.james.epicmod.Blocks.ModBlocks.<clinit>(ModBlocks.java:16) ... 46 more 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 825361600 bytes (787 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.1722 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.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE epicmod{1.0.0} [Epic Mod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel® HD Graphics' [11:04:38] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Forge-1.8.9-Dev\run\.\crash-reports\crash-2016-08-15_11.04.38-client.txt Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release And here is a spoiler with the class of the block package com.james.epicmod.Blocks; import java.util.Random; import com.james.epicmod.CreativeTab; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.properties.PropertyDirection; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.util.BlockPos; import net.minecraft.util.EnumFacing; import net.minecraft.world.World; import net.minecraftforge.fml.common.registry.GameRegistry; public class BlockAtomExtractor extends Block { public static final PropertyDirection FACING = PropertyDirection.create ( "facing" , EnumFacing.Plane.HORIZONTAL ); public BlockAtomExtractor ( ) { super( Material.rock ); this.setUnlocalizedName ( "atomExtractor" ); this.setCreativeTab ( CreativeTab.ModBlocksTab ); this.setHardness ( 2.0f ); this.setResistance ( 10.0f ); this.setDefaultState ( this.blockState.getBaseState( ).withProperty( FACING , EnumFacing.NORTH ) ); } public Item getItemDropped( IBlockState state , Random rand , int fortune ) { return Item.getItemFromBlock( this ); } public void onBlockAdded ( World worldIn , BlockPos pos , IBlockState state ) { this.setDefaultFacing ( worldIn , pos , state ); } private void setDefaultFacing ( World worldIn , BlockPos pos , IBlockState state ) { if ( !worldIn.isRemote ) { Block block = worldIn.getBlockState ( pos.north ( ) ).getBlock ( ); Block block1 = worldIn.getBlockState ( pos.south ( ) ).getBlock ( ); Block block2 = worldIn.getBlockState ( pos.west ( ) ).getBlock ( ); Block block3 = worldIn.getBlockState ( pos.east ( ) ).getBlock ( ); EnumFacing enumfacing = ( EnumFacing ) state.getValue ( FACING ); if ( enumfacing == EnumFacing.NORTH && block.isFullBlock ( ) && !block1.isFullBlock ( ) ) { enumfacing = EnumFacing.SOUTH; } else if ( enumfacing == EnumFacing.SOUTH && block1.isFullBlock ( ) && !block.isFullBlock ( ) ) { enumfacing = EnumFacing.NORTH; } else if ( enumfacing == EnumFacing.WEST && block2.isFullBlock ( ) && !block3.isFullBlock ( ) ) { enumfacing = EnumFacing.EAST; } else if ( enumfacing == EnumFacing.EAST && block3.isFullBlock ( ) && !block2.isFullBlock ( ) ) { enumfacing = EnumFacing.WEST; } worldIn.setBlockState ( pos , state.withProperty ( FACING , enumfacing ) , 2 ); } } public int getRenderType( ) { return 3; } } Not sure what is wrong but I would appreciate any and all help with this. I am pretty amateur at forge modding so extending blocks is something new to me and the minecraft code is packed so it is hard to look at all the functions. If I am missing anything, please just tell me what I am missing but if you do that, please explain why it is needed so that I can actually understand the code and what is going on. I love learning new things in programming and the most enjoyable way to program is to actually understand what is happening otherwise all sorts of things can derail the project and... ragequit. I don't want that to happen so... yeah. GitHub page of the project here https://github.com/JamesYeoman/EpicMod I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr Could you post your MainMod file and proxies. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author Main mod file spoiler package com.james.epicmod; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod ( modid = Main.MODID , name = Main.MODNAME , version = Main.VERSION ) public class Main { public static final String MODID = "epicmod"; public static final String MODNAME = "James's Epic Mod"; public static final String VERSION = "1.0.0"; @Instance public static Main instance = new Main ( ); @SidedProxy ( clientSide="com.james.epicmod.ClientProxy" , serverSide="com.james.epicmod.ServerProxy" ) public static CommonProxy proxy; @EventHandler public void preInit ( FMLPreInitializationEvent e ) { this.proxy.preInit ( e ); } @EventHandler public void init ( FMLInitializationEvent e ) { this.proxy.init ( e ); } @EventHandler public void postInit ( FMLPostInitializationEvent e ) { this.proxy.postInit ( e ); } } Common proxy modfile spoiler package com.james.epicmod; import com.james.epicmod.Blocks.ModBlocks; import com.james.epicmod.Items.ModItems; import com.james.epicmod.crafting.ModCrafting; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; public class CommonProxy { public void preInit ( FMLPreInitializationEvent e ) { ModItems.CreateItems ( ); ModBlocks.CreateBlocks ( ); ModCrafting.initCrafting ( ); } public void init ( FMLInitializationEvent e ) { } public void postInit ( FMLPostInitializationEvent e ) { } } Client proxy modfile spoiler package com.james.epicmod; import com.james.epicmod.render.Blocks.BlockRenderRegister; import com.james.epicmod.render.Items.ItemRenderRegister; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; public class ClientProxy extends CommonProxy { @Override public void preInit ( FMLPreInitializationEvent e ) { super.preInit ( e ); } @Override public void init ( FMLInitializationEvent e ) { super.init ( e ); ItemRenderRegister.registerItemRenderer( ); BlockRenderRegister.RegisterBlockRenderer ( ); } @Override public void postInit ( FMLPostInitializationEvent e ) { super.postInit ( e ); } } I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr You need to override Block#createBlockState to create a BlockStateContainer with your property. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 15, 20169 yr Item/Block Rendering code should be in your preInit method. You should also be using ModelLoader.setCustomModelResourcelocation() if you are not already. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author Now getting this error 2016-08-15 11:45:44,319 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:45:44,325 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [11:45:44] [main/INFO] [GradleStart]: Extra: [] [11:45:44] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/james_000/.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] [11:45:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [11:45:44] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading [11:45:44] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_91\jre [11:45:44] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [11:45:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [11:45:44] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [11:45:44] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [11:45:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:45:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [11:45:45] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [11:45:48] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [11:45:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [11:45:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [11:45:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [11:45:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [11:45:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [11:45:50] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2016-08-15 11:45:51,429 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:45:51,503 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:45:51,507 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [11:45:52] [Client thread/INFO]: Setting user: Player923 [11:46:02] [Client thread/INFO]: LWJGL Version: 2.9.4 [11:46:03] [Client thread/WARN] [FML]: ============================================================= [11:46:03] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [11:46:03] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V [11:46:03] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead [11:46:03] [Client thread/WARN] [FML]: ============================================================= [11:46:04] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ---- // Shall we play a game? Time: 15/08/16 11:46 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 730495312 bytes (696 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel(R) HD Graphics' [11:46:05] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [11:46:05] [Client thread/INFO] [FML]: Replaced 204 ore recipies [11:46:06] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [11:46:06] [Client thread/INFO] [FML]: Searching D:\Forge-1.8.9-Dev\run\mods for mods [11:46:11] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [11:46:12] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at CLIENT [11:46:12] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at SERVER [11:46:13] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Epic Mod [11:46:14] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [11:46:14] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [11:46:14] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [11:46:14] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [11:46:14] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [11:46:14] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [11:46:14] [Client thread/ERROR] [FML]: Caught an exception during block registration java.lang.IllegalArgumentException: Don't know how to convert epicmod:atomExtractor[facing=north] back into data... at net.minecraft.block.Block.getMetaFromState(Block.java:272) ~[block.class:?] at net.minecraftforge.fml.common.registry.GameData$BlockStateCapture.onAdd(GameData.java:231) ~[GameData$BlockStateCapture.class:?] at net.minecraftforge.fml.common.registry.GameData$BlockStateCapture.onAdd(GameData.java:222) ~[GameData$BlockStateCapture.class:?] at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.addObjectRaw(FMLControlledNamespacedRegistry.java:573) ~[FMLControlledNamespacedRegistry.class:?] at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:479) ~[FMLControlledNamespacedRegistry.class:?] at net.minecraftforge.fml.common.registry.GameData.registerBlock(GameData.java:125) ~[GameData.class:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:276) [GameRegistry.class:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:226) [GameRegistry.class:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:203) [GameRegistry.class:?] at com.james.epicmod.Blocks.ModBlocks.CreateBlocks(ModBlocks.java:21) [ModBlocks.class:?] at com.james.epicmod.CommonProxy.preInit(CommonProxy.java:17) [CommonProxy.class:?] at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:15) [ClientProxy.class:?] at com.james.epicmod.Main.preInit(Main.java:39) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) [FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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) [LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) [LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [11:46:14] [Client thread/INFO] [FML]: Applying holder lookups [11:46:15] [Client thread/INFO] [FML]: Holder lookups applied [11:46:15] [Client thread/INFO] [FML]: Injecting itemstacks [11:46:15] [Client thread/INFO] [FML]: Itemstack injection complete [11:46:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [11:46:15] [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.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE epicmod{1.0.0} [Epic Mod] (bin) [11:46:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase [11:46:15] [Client thread/ERROR] [FML]: Caught exception from epicmod net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException: Don't know how to convert epicmod:atomExtractor[facing=north] back into data... at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:286) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:226) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:203) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at com.james.epicmod.Blocks.ModBlocks.CreateBlocks(ModBlocks.java:21) ~[bin/:?] at com.james.epicmod.CommonProxy.preInit(CommonProxy.java:17) ~[bin/:?] at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:15) ~[bin/:?] at com.james.epicmod.Main.preInit(Main.java:39) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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.1722.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.IllegalArgumentException: Don't know how to convert epicmod:atomExtractor[facing=north] back into data... at net.minecraft.block.Block.getMetaFromState(Block.java:272) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameData$BlockStateCapture.onAdd(GameData.java:231) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameData$BlockStateCapture.onAdd(GameData.java:222) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.addObjectRaw(FMLControlledNamespacedRegistry.java:573) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:479) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameData.registerBlock(GameData.java:125) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:276) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] ... 49 more [11:46:15] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ---- // Ouch. That hurt Time: 15/08/16 11:46 Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException: Don't know how to convert epicmod:atomExtractor[facing=north] back into data... at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:286) at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:226) at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:203) at com.james.epicmod.Blocks.ModBlocks.CreateBlocks(ModBlocks.java:21) at com.james.epicmod.CommonProxy.preInit(CommonProxy.java:17) at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:15) at com.james.epicmod.Main.preInit(Main.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) Caused by: java.lang.IllegalArgumentException: Don't know how to convert epicmod:atomExtractor[facing=north] back into data... at net.minecraft.block.Block.getMetaFromState(Block.java:272) at net.minecraftforge.fml.common.registry.GameData$BlockStateCapture.onAdd(GameData.java:231) at net.minecraftforge.fml.common.registry.GameData$BlockStateCapture.onAdd(GameData.java:222) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.addObjectRaw(FMLControlledNamespacedRegistry.java:573) at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:479) at net.minecraftforge.fml.common.registry.GameData.registerBlock(GameData.java:125) at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:276) ... 49 more 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 791316288 bytes (754 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.1722 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.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE epicmod{1.0.0} [Epic Mod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel(R) HD Graphics' [11:46:15] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Forge-1.8.9-Dev\run\.\crash-reports\crash-2016-08-15_11.46.15-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr Did you override getMetaFromState() VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author New error 2016-08-15 11:51:56,161 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:51:56,165 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [11:51:56] [main/INFO] [GradleStart]: Extra: [] [11:51:56] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/james_000/.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] [11:51:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [11:51:56] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading [11:51:56] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_91\jre [11:51:56] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [11:51:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [11:51:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [11:51:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [11:51:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [11:51:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [11:51:57] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [11:52:00] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [11:52:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [11:52:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [11:52:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [11:52:01] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [11:52:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [11:52:01] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2016-08-15 11:52:03,199 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:52:03,401 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 11:52:03,419 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [11:52:04] [Client thread/INFO]: Setting user: Player4 [11:52:13] [Client thread/INFO]: LWJGL Version: 2.9.4 [11:52:14] [Client thread/WARN] [FML]: ============================================================= [11:52:14] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [11:52:14] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V [11:52:14] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead [11:52:14] [Client thread/WARN] [FML]: ============================================================= [11:52:16] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 15/08/16 11:52 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 809336216 bytes (771 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel(R) HD Graphics' [11:52:16] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [11:52:16] [Client thread/INFO] [FML]: Replaced 204 ore recipies [11:52:17] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [11:52:17] [Client thread/INFO] [FML]: Searching D:\Forge-1.8.9-Dev\run\mods for mods [11:52:24] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [11:52:25] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at CLIENT [11:52:25] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at SERVER [11:52:27] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Epic Mod [11:52:27] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [11:52:27] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [11:52:27] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [11:52:27] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [11:52:28] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [11:52:28] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [11:52:28] [Client thread/INFO] [FML]: Applying holder lookups [11:52:28] [Client thread/INFO] [FML]: Holder lookups applied [11:52:28] [Client thread/INFO] [FML]: Injecting itemstacks [11:52:28] [Client thread/INFO] [FML]: Itemstack injection complete [11:52:28] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [11:52:28] [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.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE epicmod{1.0.0} [Epic Mod] (bin) [11:52:28] [Client thread/ERROR] [FML]: The following problems were captured during this phase [11:52:28] [Client thread/ERROR] [FML]: Caught exception from epicmod java.lang.NullPointerException at com.james.epicmod.render.Blocks.BlockRenderRegister.reg(BlockRenderRegister.java:21) ~[bin/:?] at com.james.epicmod.render.Blocks.BlockRenderRegister.RegisterBlockRenderer(BlockRenderRegister.java:15) ~[bin/:?] at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:16) ~[bin/:?] at com.james.epicmod.Main.preInit(Main.java:39) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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.1722.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [11:52:28] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 15/08/16 11:52 Description: Initializing game java.lang.NullPointerException: Initializing game at com.james.epicmod.render.Blocks.BlockRenderRegister.reg(BlockRenderRegister.java:21) at com.james.epicmod.render.Blocks.BlockRenderRegister.RegisterBlockRenderer(BlockRenderRegister.java:15) at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:16) at com.james.epicmod.Main.preInit(Main.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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 com.james.epicmod.render.Blocks.BlockRenderRegister.reg(BlockRenderRegister.java:21) at com.james.epicmod.render.Blocks.BlockRenderRegister.RegisterBlockRenderer(BlockRenderRegister.java:15) at com.james.epicmod.ClientProxy.preInit(ClientProxy.java:16) at com.james.epicmod.Main.preInit(Main.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 889636768 bytes (848 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.1722 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.1722.jar) UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCE epicmod{1.0.0} [Epic Mod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel(R) HD Graphics' Launched Version: 1.8.9 LWJGL: 2.9.4 OpenGL: Intel(R) HD Graphics GL version 4.0.0 - Build 10.18.10.3958, Intel 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: 4x Intel(R) Pentium(R) CPU N3540 @ 2.16GHz [11:52:28] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Forge-1.8.9-Dev\run\.\crash-reports\crash-2016-08-15_11.52.28-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr Post updated ClientProxy. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author Sorry, my internet crashed. Here you go package com.james.epicmod; import com.james.epicmod.render.Blocks.BlockRenderRegister; import com.james.epicmod.render.Items.ItemRenderRegister; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; public class ClientProxy extends CommonProxy { @Override public void preInit ( FMLPreInitializationEvent e ) { super.preInit ( e ); BlockRenderRegister.RegisterBlockRenderer ( ); } @Override public void init ( FMLInitializationEvent e ) { super.init ( e ); ItemRenderRegister.registerItemRenderer( ); } @Override public void postInit ( FMLPostInitializationEvent e ) { super.postInit ( e ); } } I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr Author There was no crash when I put the block renderer thingy back into init() but the block doesn't rotate. The block renderer code is here package com.james.epicmod.render.Blocks; import com.james.epicmod.Blocks.ModBlocks; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; public class BlockRenderRegister { public static void RegisterBlockRenderer ( ) { reg( ModBlocks.atomExtractor ); } public static void reg( Block block ) { Minecraft.getMinecraft ( ).getRenderItem ( ).getItemModelMesher ( ) .register ( Item.getItemFromBlock ( block ) , 0 , new ModelResourceLocation ( "epicmod:atomExtractor" , "inventory" ) ); } } I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr You should be using ModelLoader.setCustomModelResourceLocation instead of getItemModelMesher(), and then put it in preInit. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author Where can I find documentation on this? I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr Where can I find documentation on this? I don't think there are any forge provided ones what questions do you have? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author how to use the setCustomModelResourceLocation I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr It has to be called in preInit, it takes in three parameters the Item, the metadata of the item and a ModelResourceLocation. This works for blocks as well. a ModelResourceLocation takes in Strings one is the name of the JSON and the other is optional usually it is "inventory". You do not need to add your modid here. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author So what should I put into item, metadata and model? And is this a substitute for the Minecraft.getMinecraft... .register? I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr So what should I put into item, metadata and model? And is this a substitute for the Minecraft.getMinecraft... .register? It is a replacement ItemModelMesher had some problems so forge created a better one. Are the parameters not obvious enough? Item is the Item the resource location goes to, and the metadata is the metadata of the item. What do you mean model? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author I let eclipse generate the parameter names of the method package com.james.epicmod.render.Blocks; import com.james.epicmod.Blocks.ModBlocks; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; public class BlockRenderRegister { public static void RegisterBlockRenderer ( ) { reg( ModBlocks.atomExtractor ); } public static void reg( Block block ) { ModelLoader.setCustomModelResourceLocation ( item , metadata , model ); } public static void RegCustomModel() { } } I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr You can get the Item version of a block from Item.getItemFromBlock(block), the metadata is most of the time 0. model is a new ModelResourceLocation. But you should be able to look at that in eclipse by holding controll and clicking on setCustomModelResourceLocation VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author Now it doesn't even render... :'( By render, I mean the textures. It is just the pink/black checkerboard texture I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr Post your code for ModelLoader.setCustomModelResourceLocation and the console log. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Author Console log 2016-08-15 13:22:52,226 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 13:22:52,234 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [13:22:52] [main/INFO] [GradleStart]: Extra: [] [13:22:52] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/james_000/.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] [13:22:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [13:22:52] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading [13:22:52] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_91, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_91\jre [13:22:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [13:22:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [13:22:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [13:22:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [13:22:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [13:22:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [13:22:53] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [13:22:56] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [13:22:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [13:22:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [13:22:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [13:22:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [13:22:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [13:22:57] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2016-08-15 13:22:58,996 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 13:22:59,065 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-08-15 13:22:59,075 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [13:23:00] [Client thread/INFO]: Setting user: Player216 [13:23:11] [Client thread/INFO]: LWJGL Version: 2.9.4 [13:23:12] [Client thread/WARN] [FML]: ============================================================= [13:23:12] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [13:23:12] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V [13:23:12] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead [13:23:12] [Client thread/WARN] [FML]: ============================================================= [13:23:13] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ---- // Everything's going to plan. No, really, that was supposed to happen. Time: 15/08/16 13:23 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 8.1 (amd64) version 6.3 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 782418616 bytes (746 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'Intel' Version: '4.0.0 - Build 10.18.10.3958' Renderer: 'Intel® HD Graphics' [13:23:14] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [13:23:15] [Client thread/INFO] [FML]: Replaced 204 ore recipies [13:23:16] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [13:23:16] [Client thread/INFO] [FML]: Searching D:\Forge-1.8.9-Dev\run\mods for mods [13:23:20] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [13:23:21] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at CLIENT [13:23:21] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, epicmod] at SERVER [13:23:22] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Epic Mod [13:23:23] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [13:23:23] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [13:23:23] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [13:23:23] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [13:23:23] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [13:23:23] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [13:23:23] [Client thread/INFO] [FML]: Applying holder lookups [13:23:23] [Client thread/INFO] [FML]: Holder lookups applied [13:23:23] [Client thread/INFO] [FML]: Injecting itemstacks [13:23:23] [Client thread/INFO] [FML]: Itemstack injection complete [13:23:24] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null [13:23:24] [sound Library Loader/INFO]: Starting up SoundSystem... [13:23:24] [Thread-9/INFO]: Initializing LWJGL OpenAL [13:23:24] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [13:23:25] [Thread-9/INFO]: OpenAL initialized. [13:23:25] [sound Library Loader/INFO]: Sound engine started [13:23:42] [Client thread/INFO] [FML]: Max texture size: 8192 [13:23:42] [Client thread/INFO]: Created: 16x16 textures-atlas [13:23:45] [Client thread/INFO] [FML]: Injecting itemstacks [13:23:45] [Client thread/INFO] [FML]: Itemstack injection complete [13:23:47] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [13:23:47] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Epic Mod [13:23:47] [Client thread/INFO]: SoundSystem shutting down... [13:23:47] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [13:23:47] [sound Library Loader/INFO]: Starting up SoundSystem... [13:23:48] [Thread-11/INFO]: Initializing LWJGL OpenAL [13:23:48] [Thread-11/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [13:23:48] [Thread-11/INFO]: OpenAL initialized. [13:23:48] [sound Library Loader/INFO]: Sound engine started [13:24:00] [Client thread/INFO] [FML]: Max texture size: 8192 [13:24:01] [Client thread/INFO]: Created: 512x512 textures-atlas [13:24:01] [Client thread/ERROR] [FML]: Exception loading model for variant minecraft:atomExtractor#inventory java.lang.Exception: Could not load model definition for variant minecraft:atomExtractor#inventory at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] 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 minecraft:blockstates/atomExtractor.json at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?] ... 22 more Caused by: java.io.FileNotFoundException: minecraft:blockstates/atomExtractor.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:215) ~[ModelLoader.class:?] ... 22 more [13:24:01] [Client thread/ERROR] [FML]: Model definition for location minecraft:atomExtractor#inventory not found [13:24:04] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [13:24:07] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [13:24:07] [server thread/INFO]: Starting integrated minecraft server version 1.8.9 [13:24:07] [server thread/INFO]: Generating keypair [13:24:07] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [13:24:08] [server thread/INFO] [FML]: Applying holder lookups [13:24:08] [server thread/INFO] [FML]: Holder lookups applied [13:24:08] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@9d9156e) [13:24:08] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@9d9156e) [13:24:08] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@9d9156e) [13:24:08] [server thread/INFO]: Preparing start region for level 0 [13:24:09] [server thread/INFO]: Preparing spawn area: 4% [13:24:10] [server thread/INFO]: Preparing spawn area: 18% [13:24:11] [server thread/INFO]: Preparing spawn area: 50% [13:24:13] [server thread/INFO]: Changing view distance to 8, from 10 [13:24:13] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [13:24:15] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [13:24:15] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [13:24:15] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [13:24:15] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [13:24:15] [server thread/INFO] [FML]: [server thread] Server side modded connection established [13:24:15] [server thread/INFO]: Player216[local:E:9ddbec6d] logged in with entity id 130 at (197.93200814813892, 64.0, 280.549804064722) [13:24:15] [server thread/INFO]: Player216 joined the game [13:24:18] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@6edeebf6[id=549b60df-91f3-34d3-a6e5-12d11bc37565,name=Player216,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(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_91] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91] [13:24:24] [server thread/INFO]: Player216 has just earned the achievement [Taking Inventory] [13:24:25] [Client thread/INFO]: [CHAT] Player216 has just earned the achievement [Taking Inventory] [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.NullPointerException [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.jcraft.jogg.SyncState.pageseek(SyncState.java:116) [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.jcraft.jogg.SyncState.pageout(SyncState.java:236) [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at paulscode.sound.codecs.CodecJOrbis.readBytes(CodecJOrbis.java:559) [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at paulscode.sound.codecs.CodecJOrbis.read(CodecJOrbis.java:356) [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at paulscode.sound.Source.stream(Source.java:953) [13:24:30] [Thread-12/INFO] [sTDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at paulscode.sound.StreamThread.run(StreamThread.java:129) Exception in thread "Thread-12" [13:24:32] [server thread/INFO]: Saving and pausing game... [13:24:32] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [13:24:32] [server thread/INFO]: Saving chunks for level 'New World'/Nether [13:24:32] [server thread/INFO]: Saving chunks for level 'New World'/The End [13:24:32] [server thread/INFO]: Stopping server [13:24:32] [server thread/INFO]: Saving players [13:24:32] [server thread/INFO]: Saving worlds [13:24:32] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [13:24:32] [server thread/INFO]: Saving chunks for level 'New World'/Nether [13:24:32] [server thread/INFO]: Saving chunks for level 'New World'/The End [13:24:33] [server thread/INFO] [FML]: Unloading dimension 0 [13:24:33] [server thread/INFO] [FML]: Unloading dimension -1 [13:24:33] [server thread/INFO] [FML]: Unloading dimension 1 [13:24:34] [server thread/INFO] [FML]: Applying holder lookups [13:24:34] [server thread/INFO] [FML]: Holder lookups applied [13:24:34] [Client thread/INFO]: Stopping! [13:24:34] [Client thread/INFO]: SoundSystem shutting down... [13:24:34] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [13:24:39] [Client thread/ERROR]: Error in class 'LibraryLWJGLOpenAL' [13:24:39] [Client thread/ERROR]: Stream thread did not die! [13:24:39] [Client thread/INFO]: Ignoring errors... continuing clean-up. [13:24:39] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release Code package com.james.epicmod.render.Blocks; import com.james.epicmod.Blocks.ModBlocks; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; public class BlockRenderRegister { public static void RegisterBlockRenderer ( ) { reg( ModBlocks.atomExtractor ); } public static void reg( Block block ) { ModelLoader.setCustomModelResourceLocation ( Item.getItemFromBlock ( block ) , 0 , new ModelResourceLocation ( "atomExtractor" , "inventory" ) ); } } I love solving puzzles and also coding. What a great combo! I also want to have a career in programming when I have gone through university. 9GAG and Quora stand in the way of me ascending from mediocre programmer to ...meh programmer and beyond! I am always looking for fun projects to look at and maybe be a part of. If you have a project and want to co-operate, email me via [email protected] Keep coding
August 15, 20169 yr It says you do not have a blockstate named atomExtractor.json and why are you hardcoding the model name when you create a new ModelResourceLocation just do block.getRegistryName() VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 15, 20169 yr Github would be better. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.