Posted June 29, 20196 yr Hi I was creating a Directional Block (a Furnace) and i received an exception. Console Error: Spoiler [20:15:11] [main/INFO] [GradleStart]: Extra: [] [20:15:11] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/MisterGamer _/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [20:15:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:15:11] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:15:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [20:15:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [20:15:12] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading [20:15:12] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_212, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_212 [20:15:12] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory. [20:15:12] [main/ERROR] [FML]: Full: C:\Users\MisterGamer _\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar [20:15:12] [main/ERROR] [FML]: Trimmed: c:/users/mistergamer _/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/ [20:15:12] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:15:12] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs. 2019-06-29 20:15:12,975 main WARN Disabling terminal, you're running in an unsupported environment. [20:15:12] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin [20:15:12] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin [20:15:13] [main/INFO] [FML]: Searching C:\Users\MisterGamer _\Desktop\Mystical Mod\MysticalMod\run\.\mods for mods [20:15:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [20:15:13] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [20:15:13] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:15:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:15:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:15:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:15:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:15:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:15:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:15:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [20:15:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:15:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:15:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:15:14] [main/INFO] [GradleStart]: Remapping AccessTransformer rules... [20:15:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [20:15:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [20:15:14] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:15:15] [main/INFO] [minecraft/Minecraft]: Setting user: Player932 [20:15:17] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer: [20:15:18] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4 [20:15:18] [main/INFO] [FML]: -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_212, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3096271808 bytes (2952 MB) / 4116185088 bytes (3925 MB) up to 4116185088 bytes (3925 MB) JVM Flags: 2 total; -Xmx4G -Xms4G IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.5063' Renderer: 'Intel(R) Iris(TM) Pro Graphics 6200' [20:15:18] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized [20:15:18] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients. [20:15:18] [main/INFO] [FML]: Replaced 1036 ore ingredients [20:15:19] [main/INFO] [FML]: Searching C:\Users\MisterGamer _\Desktop\Mystical Mod\MysticalMod\run\.\mods for mods [20:15:20] [main/INFO] [FML]: Forge Mod Loader has identified 9 mods to load [20:15:20] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mysticalmod, jei, mekanism, modnametooltip, tpworks] at CLIENT [20:15:20] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mysticalmod, jei, mekanism, modnametooltip, tpworks] at SERVER [20:15:21] [Thread-3/INFO] [FML]: Using alternative sync timing : 200 frames of Display.update took 1127813900 nanos [20:15:22] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mystical Mod, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:Mekanism, FMLFileResourcePack:Mod Name Tooltip, FMLFileResourcePack:Teleportation Works [20:15:22] [main/INFO] [FML]: Processing ObjectHolder annotations [20:15:23] [main/INFO] [FML]: Found 1230 ObjectHolder annotations [20:15:23] [main/INFO] [FML]: Identifying ItemStackHolder annotations [20:15:23] [main/INFO] [FML]: Found 0 ItemStackHolder annotations [20:15:23] [main/INFO] [FML]: Configured a dormant chunk cache size of 0 [20:15:23] [main/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `mysticalmod_compactor_block`, expected `mysticalmod`. This could be a intended override, but in most cases indicates a broken mod. [20:15:23] [Forge Version Check/INFO] [forge.VersionCheck]: [tpworks] Starting version check at https://raw.githubusercontent.com/willihay/teleportation-works/master/update.json [20:15:23] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 6/29/19 8:15 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Mystical Mod (mysticalmod) Caused by: java.lang.ExceptionInInitializerError at com.mistergamer.mysticalmod.world.biome.BiomeMystical.<init>(BiomeMystical.java:14) at com.mistergamer.mysticalmod.init.BiomeInit.<clinit>(BiomeInit.java:15) at com.mistergamer.mysticalmod.Main.PreInit(Main.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:626) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252) at net.minecraft.client.Minecraft.init(Minecraft.java:513) at net.minecraft.client.Minecraft.run(Minecraft.java:421) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:25) Caused by: java.lang.IllegalArgumentException: Cannot get property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]} as it does not exist in BlockStateContainer{block=null, properties=[]} at net.minecraft.block.state.BlockStateContainer$StateImplementation.getValue(BlockStateContainer.java:204) at com.mistergamer.mysticalmod.blocks.reversing_furnace.ReversingFurnaceBlock.getMetaFromState(ReversingFurnaceBlock.java:80) at net.minecraft.block.Block.setHarvestLevel(Block.java:2284) at net.minecraft.block.Block.setHarvestLevel(Block.java:2266) at com.mistergamer.mysticalmod.blocks.reversing_furnace.ReversingFurnaceBlock.<init>(ReversingFurnaceBlock.java:46) at com.mistergamer.mysticalmod.init.ModBlocks.<clinit>(ModBlocks.java:41) ... 50 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_212, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3186517672 bytes (3038 MB) / 4116185088 bytes (3925 MB) up to 4116185088 bytes (3925 MB) JVM Flags: 2 total; -Xmx4G -Xms4G IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2768 9 mods loaded, 9 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:----- |:-------------- |:---------------- |:----------------------------------- |:---------------------------------------- | | UCH | minecraft | 1.12.2 | minecraft.jar | None | | UCH | mcp | 9.42 | minecraft.jar | None | | UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None | | UCH | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None | | UCEE | mysticalmod | 2.0 | bin | None | | UC | jei | 4.15.0.268 | jei_1.12.2-4.15.0.268.jar | None | | UC | mekanism | 1.12.2-9.7.2.373 | Mekanism-1.12.2-9.7.2.373.jar | None | | UC | modnametooltip | 1.10.0 | modnametooltip_1.12.2-1.10.0.jar | None | | UC | tpworks | 1.12.2-1.0.0 | TeleportationWorks-1.12.2-1.0.0.jar | 8d6adeb651e78da00458bf87eb9848f871f8e72a | Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.5063' Renderer: 'Intel(R) Iris(TM) Pro Graphics 6200' [20:15:23] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\MisterGamer _\Desktop\Mystical Mod\MysticalMod\run\.\crash-reports\crash-2019-06-29_20.15.23-client.txt Even if the Error says: "Caused by: at com.mistergamer.mysticalmod.world.biome.BiomeMystical.<init>(BiomeMystical.java:14), at com.mistergamer.mysticalmod.init.BiomeInit.<clinit>(BiomeInit.java:15), at com.mistergamer.mysticalmod.Main.PreInit(Main.java:58)", there are no errors here, so it's a createBlockState() method error. Here it is the code: public final PropertyDirection FACING = PropertyDirection.create("facing"); public ReversingFurnaceBlock(String name, Material material) { super(name, material); setSoundType(SoundType.METAL); setHardness(12.0F); setResistance(52.0F); setHarvestLevel("pickaxe", 2); setCreativeTab(Main.tabMystical); this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH)); } @Override protected BlockStateContainer createBlockState() { return new BlockStateContainer(this, new IProperty[] {FACING}); } @Override public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) { worldIn.setBlockState(pos, state.withProperty(FACING, placer.getHorizontalFacing())); } public int getMetaFromState(IBlockState state) { return ((EnumFacing)state.getValue(FACING)).getIndex(); } public IBlockState getStateFromMeta(int meta) { EnumFacing enumfacing = EnumFacing.getFront(meta); if (enumfacing.getAxis() == EnumFacing.Axis.Y) { enumfacing = EnumFacing.NORTH; } return this.getDefaultState().withProperty(FACING, enumfacing); } @Override public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { ReversingFurnaceTileEntity te = (ReversingFurnaceTileEntity)world.getTileEntity(pos); if(te != null && te.hasCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, EnumFacing.NORTH)) { player.openGui(Main.instance, GuiHandler.REVERSING_FURNACE_GUI, world, pos.getX(), pos.getY(), pos.getZ()); return true; } return super.onBlockActivated(world, pos, state, player, hand, facing, hitX, hitY, hitZ); } @Override public TileEntity createNewTileEntity(World worldIn, int meta) { return new ReversingFurnaceTileEntity(); } Thank you very much.
June 29, 20196 yr This is the real error: 2 minutes ago, MisterGamer _ said: Caused by: java.lang.IllegalArgumentException: Cannot get property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]} as it does not exist in BlockStateContainer{block=null, properties=[]} Originating at: 3 minutes ago, MisterGamer _ said: at com.mistergamer.mysticalmod.init.ModBlocks.<clinit>(ModBlocks.java:41) Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 29, 20196 yr Author 1 minute ago, Draco18s said: This is the real error: Originating at: ModBlocks line 41 is this: public static final Block REVERSING_FURNACE = new ReversingFurnaceBlock("reversing_furnace", Material.IRON);
June 29, 20196 yr Would've been nice if you included more than that, but sure, that's sufficient. Problematic code #14 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 29, 20196 yr Author 8 minutes ago, Draco18s said: Would've been nice if you included more than that, but sure, that's sufficient. Problematic code #14 Ok, I removed "static", but now the block isn't in the game. Edited June 29, 20196 yr by MisterGamer _
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.