Posted December 10, 20168 yr Hey there, I have the following class: public abstract class AbstractBlockHut extends Block implements ITileEntityProvider { public static final PropertyDirection FACING = BlockHorizontal.FACING; Users get the following errors: ---- Minecraft Crash Report ---- WARNING: coremods are present: LoadingPlugin (ChunkAnimator-MC1.11-1.2.jar) FMLPlugin (InventoryTweaks-1.62-dev-74.jar) Contact their authors BEFORE contacting forge // Why is it breaking Time: 12/10/16 3:42 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 MineColonies (minecolonies) Caused by: java.lang.NoSuchFieldError: FACING at com.minecolonies.coremod.blocks.AbstractBlockHut.<clinit>(AbstractBlockHut.java:40) at com.minecolonies.coremod.blocks.ModBlocks.<clinit>(ModBlocks.java:15) at com.minecolonies.coremod.util.RecipeHandler.init(RecipeHandler.java:31) at com.minecolonies.coremod.MineColonies.init(MineColonies.java:100) 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:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:616) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:243) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221) 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:483) 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:145) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:796) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:331) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:350) at net.minecraft.client.main.Main.main(SourceFile:124) 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:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.11 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 229474744 bytes (218 MB) / 606007296 bytes (577 MB) up to 4281597952 bytes (4083 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.35 Powered by Forge 13.19.1.2188 Optifine OptiFine_1.11_HD_U_B2 18 mods loaded, 18 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.11-13.19.1.2188.jar) UCHI forge{13.19.1.2188} [Minecraft Forge] (forge-1.11-13.19.1.2188.jar) UCHI AutoSapling{1.3.4} [AutoSapling] (Autosapling-1.3.4-MC1.11.jar) UCHI biomesoplenty{6.0.0.2125} [biomes O' Plenty] (BiomesOPlenty-1.11-6.0.0.2125-universal.jar) UCHI ChunkAnimator{1.2} [Chunk Animator] (ChunkAnimator-MC1.11-1.2.jar) UCHI gravestone{1.6.1} [Gravestone] (GraveStone Mod 1.6.1.jar) UCHI inventorytweaks{1.62-dev-74-f3105ea} [inventory Tweaks] (InventoryTweaks-1.62-dev-74.jar) UCHI jei{4.0.4.199} [Just Enough Items] (jei_1.11-4.0.4.199.jar) UCHI levelup{${version}} [Level Up!] (LevelUp!-0.13-1.11.jar) UCHE minecolonies{1.11-0.6.1977} [MineColonies] (minecolonies-universal-1.11-0.6.1977.jar) UCHI oreexcavation{1.3.52} [OreExcavation] (OreExcavation-1.3.52.jar) UCHI subcommonlib{1.1.3.0} [subaraki's Common Library] (petbuddy-1.11-2.3.1.1.jar) UCHI petbuddy{1.10.2 2.3.1.1} [Pet Buddy] (petbuddy-1.11-2.3.1.1.jar) UCHI roughmobs{1.0} [Rough Mobs] (roughMobs1.0.9-1.11.jar) UCHI torohealthmod{1.10.2-1} [ToroHealth Damage Indicators] (torohealth-1.11-2.jar) UCHI vc{v4.0.0a-mc1.11.0} [ViesCraft] (ViesCraft-4.0.0a-mc1.11.0.jar) UCHI xaerominimap{1.11.5} [Xaero's Minimap] (Xaeros_Minimap_FP1.11.5_Forge_1.11.jar) Loaded coremods (and transformers): LoadingPlugin (ChunkAnimator-MC1.11-1.2.jar) lumien.chunkanimator.asm.ClassTransformer FMLPlugin (InventoryTweaks-1.62-dev-74.jar) invtweaks.forge.asm.ContainerTransformer GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 376.09' Renderer: 'GeForce GTX 970M/PCIe/SSE2' OptiFine Version: OptiFine_1.11_HD_U_B2 Render Distance Chunks: 8 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.5.0 NVIDIA 376.09 OpenGlRenderer: GeForce GTX 970M/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 8 Thanks
December 10, 20168 yr By the way, don't implement ITileEntityProvider. Use the hasTileEntity and getTileEntity methods already present in the Block class. 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.
December 10, 20168 yr Author I'm building it like always, like I did in 1.10. We use a build engine to do that for us.
December 10, 20168 yr Author https://www.dropbox.com/sh/9cnqcjl0nan57cy/AAAOKw2mIOZKB4TxgLe7Dmbaa/branch/version/1.11/minecolonies-universal-1.11-0.6.1977.jar?dl=0
December 10, 20168 yr Author where can I check this? We cleaned the cache: https://www.dropbox.com/sh/9cnqcjl0nan57cy/AABwIl1FNcVF-SL_ak1tlv1ea/branch/version/1.11/minecolonies-universal-1.11-0.6.1982.jar?dl=0 And build again, does this work?
December 10, 20168 yr Author When I build it locally with gradle it also doesn't deobfuscate it, seems like a problem with gradle.
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.