[Help needed] Struggling defining an uncompiled gradle project as a dependency
By
InfinityRaider, in ForgeGradle
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
I have no idea if this is a correct place to ask, but my question in #tech-support on Forge discord was unfortunately ignored, so I must assume forum is the place. So, basically, this have happended: Just yesterday I out the blue discovered that I cannot comment on any repositories owned by MinecraftForge, nor can I react, star, fork and do similar actions. I initially assumed it might be a temporary bug of some kind, but turns out other users didn't experience any issues like this, and it persited until today, so that's unlikely. My username on GitHub is identical to that on this forum, if it matters.
-
---- Minecraft Crash Report ---- WARNING: coremods are present: CXLibraryCore (cxlibrary-1.1.0-1.9.4.jar) LoadingPlugin (Bloodmoon-MC1.9.4-1.4.1.jar) NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar) LoadingPlugin (RandomThings-MC1.9.4-3.7.3.jar) FMLPlugin (InventoryTweaks-1.61-58.jar) IC2core (industrialcraft-2-2.5.63-ex19.jar) llibrary (llibrary-1.5.1-1.9.4.jar) EnderCorePlugin (EnderCore-1.9.4-0.4.0.26-alpha.jar) MalisisCorePlugin (malisiscore-1.9.4-4.1.1.jar) Contact their authors BEFORE contacting forge // This doesn't make any sense! Time: 1/18/21 9:44 PM 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:179) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:589) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:437) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349) 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:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.ExceptionInInitializerError at net.malisis.core.MalisisCore.preInit(MalisisCore.java:176) 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:497) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:566) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) 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:228) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206) 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:497) 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:135) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:586) ... 10 more Caused by: java.lang.NullPointerException at net.malisis.core.asm.AsmUtils.changeFieldAccess(AsmUtils.java:343) at net.malisis.core.asm.AsmUtils.changeFieldAccess(AsmUtils.java:314) at net.malisis.core.util.blockdata.BlockDataHandler.<clinit>(BlockDataHandler.java:62) ... 37 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.9.4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1102810272 bytes (1051 MB) / 1873805312 bytes (1787 MB) up to 3817865216 bytes (3641 MB) JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m -XX:PermSize=256m IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.28 Powered by Forge 12.17.0.2051 Optifine OptiFine_1.9.4_HD_U_H5 52 mods loaded, 52 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] (forge-1.9.4-12.17.0.2051.jar) UCH Forge{12.17.0.2051} [Minecraft Forge] (forge-1.9.4-12.17.0.2051.jar) UCH Baubles{1.2.1.0} [Baubles] (Baubles-1.9.4-1.2.1.0.jar) UCH betterbuilderswands{0.6.6} [Better Builder's Wands] (BetterBuildersWands-0.6.6-1.9.4r143+f4959e8.jar) UCH bettertitlescreen{1.2c} [Better Title Screen] (BetterTitleScreen-1.9.4-1.2c.jar) UCH BiomesOPlenty{4.1.0.2065} [Biomes O' Plenty] (BiomesOPlenty-1.9.4-4.1.0.2065-universal.jar) UCH Bloodmoon{1.2} [Bloodmoon] (Bloodmoon-MC1.9.4-1.4.1.jar) UCH bookshelfapi{3.1.0} [Bookshelf] (Bookshelf-API-1.9.4-3.1.0.jar) UCH chancecubes{1.9.4-2.2.1.119} [Chance Cubes] (ChanceCubes-1.9.4-2.2.1.119.jar) UCH chisel{MC1.9.4-0.0.6.44} [Chisel] (Chisel-MC1.9.4-0.0.6.44.jar) UCH chiselsandbits{10.16} [Chisels & Bits] (chiselsandbits-10.16.jar) UCH cxlibrary{1.1.0} [CXLibrary] (cxlibrary-1.1.0-1.9.4.jar) UCH EnderBags{2.0.1} [EnderBags] (EnderBags-1.9.4-2.0.0.jar) UCH endercore{1.9.4-0.4.0.26-alpha} [EnderCore] (EnderCore-1.9.4-0.4.0.26-alpha.jar) UCH Waila{1.7.0} [Waila] (Waila-1.7.0-B3_1.9.4.jar) UCH EnderIO{1.9.4-3.0.0.46_alpha} [Ender IO] (EnderIO-1.9.4-3.0.0.46_alpha.jar) UCH fastleafdecay{v11} [Fast Leaf Decay] (FastLeafDecay-v11.jar) UCH IC2{2.5.63-ex19} [IndustrialCraft 2] (industrialcraft-2-2.5.63-ex19.jar) UCH JEI{3.6.8.225} [Just Enough Items] (jei_1.9.4-3.6.8.225.jar) UCH forestry{5.0.24.0} [Forestry] (forestry_1.9.4-5.0.24.0.jar) UCH gravestone{1.3.4} [Gravestone] (Gravestone Mod 1.3.4.jar) UCH hopperducts{1.4.8} [Hopper Ducts] (hopperducts-mc1.9.4-1.4.8.jar) UCH IGWMod{1.3.0-5} [In-Game wiki Mod] (IGW-Mod-1.9.4-1.3.0-5-universal.jar) UCH inventorytweaks{1.61-58-a1fd884} [Inventory Tweaks] (InventoryTweaks-1.61-58.jar) UCH IronChest{6.0.146.788} [Iron Chest] (ironchest-1.9.4-6.0.146.788.jar) UCH journeymap{1.9.4-5.2.4} [JourneyMap] (journeymap-1.9.4-5.2.4-unlimited.jar) UCH examplemod-jm{1.2} [Example for JourneyMap API] (journeymap-api-1.9.4-1.2-examplemod.jar) UCH llibrary{1.5.1} [LLibrary] (llibrary-1.5.1-1.9.4.jar) UCH jurassicraft{2.0.2} [JurassiCraft] (JurassiCraft-2.0.2.jar) UCH jeresources{0.4.6.39} [Just Enough Resources] (JustEnoughResources-1.9.4-0.4.6.39.jar) UCE malisiscore{1.9.4-4.1.1} [MalisisCore] (malisiscore-1.9.4-4.1.1.jar) UCE malisisblocks{1.9.4-4.0.1} [Malisis Blocks] (malisisblocks-1.9.4-4.0.1.jar) UCE malisisdoors{1.9.4-5.0.4} [MalisisDoors] (malisisdoors-1.9.4-5.0.4.jar) UCH mantle{1.9.4-0.10.3.jenkins211} [Mantle] (Mantle-1.9.4-0.10.3.jar) UCH MoreFurnaces{1.7.1} [More Furnaces] (MoreFurnaces-1.7.1-1.9.4.jar) UCH Neat{GRADLE:VERSION-GRADLE:BUILD} [Neat] (Neat 1.2-9.jar) UCH tconstruct{1.9.4-2.3.3.jenkins263} [Tinkers' Construct] (TConstruct-1.9.4-2.3.3.jar) UCH neotech{3.1.0} [NeoTech] (NeoTech-1.9.4-3.1.0.jar) UCH fodc{1.8.2} [Ore Dictionary Converter] (OreDictionaryConverter-1.8.2.jar) UCH progressiveautomation{1.6.47} [Progressive Automation] (ProgressiveAutomation-1.9.4-1.6.47.jar) UCH ProjectE{1.9.4-PE1.0.5B} [ProjectE] (ProjectE-1.9.4-PE1.0.5B.jar) UCH Psi{r1.0-35} [Psi] (Psi-r1.0-35.jar) UCH quantumflux{2.0.7} [QuantumFlux] (quantumflux-1.9.4-2.0.7.jar) UCH randomthings{3.7.3} [Random Things] (RandomThings-MC1.9.4-3.7.3.jar) UCH redstonepaste{1.7.4} [Redstone Paste] (redstonepaste-mc1.9.4-1.7.4.jar) UCH rftools{5.07b} [RFTools] (rftools-1.9.4-5.07b.jar) UCH soulshardstow{1.9.4-2.4.5-33} [Soul Shards - The Old Ways] (SoulShards-TOW-1.9.4-2.4.5-33.jar) UCH TinkersAddons{1.0.2} [Tinkers' Addons] (Tinkers' Addons-1.9.4-1.0.2.jar) UCH WailaHarvestability{1.1.7} [Waila Harvestability] (WailaHarvestability-mc1.9-1.1.7.jar) UCH icse{1.1.0.0} [I Can See Everything] (Wawla-1.10.2-2.3.0.203.jar) UCH wawla{2.3.0.202} [What Are We Looking At] (Wawla-1.10.2-2.3.0.203.jar) Loaded coremods (and transformers): CXLibraryCore (cxlibrary-1.1.0-1.9.4.jar) cubex2.cxlibrary.CoreModTransformer LoadingPlugin (Bloodmoon-MC1.9.4-1.4.1.jar) lumien.bloodmoon.asm.ClassTransformer NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar) net.fybertech.nwr.NWRTransformer LoadingPlugin (RandomThings-MC1.9.4-3.7.3.jar) lumien.randomthings.asm.ClassTransformer FMLPlugin (InventoryTweaks-1.61-58.jar) invtweaks.forge.asm.ContainerTransformer IC2core (industrialcraft-2-2.5.63-ex19.jar) llibrary (llibrary-1.5.1-1.9.4.jar) net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher EnderCorePlugin (EnderCore-1.9.4-0.4.0.26-alpha.jar) com.enderio.core.common.transform.EnderCoreTransformer MalisisCorePlugin (malisiscore-1.9.4-4.1.1.jar) net.malisis.core.util.chunkcollision.ChunkCollisionTransformer net.malisis.core.util.chunkblock.ChunkBlockTransformer net.malisis.core.renderer.transformer.MalisisRendererTransformer net.malisis.core.renderer.icon.asm.TextureMapTransformer net.malisis.core.util.clientnotif.ClientNotifTransformer GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13559 Compatibility Profile Context 26.20.11022.3001' Renderer: 'AMD Radeon(TM) Vega 8 Graphics' Pulsar/tconstruct loaded Pulses: - TinkerCommons (Enabled/Forced) - TinkerWorld (Enabled/Not Forced) - TinkerTools (Enabled/Not Forced) - TinkerSmeltery (Enabled/Not Forced) - TinkerGadgets (Enabled/Not Forced) - TinkerOredict (Enabled/Forced) - TinkerIntegration (Enabled/Forced) - TinkerFluids (Enabled/Forced) - TinkerMaterials (Enabled/Forced) - chiselsandbitsIntegration (Enabled/Not Forced) - WailaIntegration (Enabled/Not Forced) EnderIO: Found the following problem(s) with your installation (That does NOT mean that Ender IO caused the crash or was involved in it in any way. We add this information to help finding common problems, not as an invitation to post any crash you encounter to Ender IO's issue tracker.): * Optifine is installed. This is NOT supported. This may (look up the meaning of 'may' in the dictionary if you're not sure what it means) have caused the error. Try reproducing the crash WITHOUT this/these mod(s) before reporting it. OptiFine Version: OptiFine_1.9.4_HD_U_H5 OptiFine Build: 20191204-142613 Render Distance Chunks: 8 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.13559 Compatibility Profile Context 26.20.11022.3001 OpenGlRenderer: AMD Radeon(TM) Vega 8 Graphics OpenGlVendor: ATI Technologies Inc. CpuCount: 4
-
By diesieben07 · Posted
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. -
I implementing screen, where user may select option and server should be notified about it. Simple case. I found tutorial and implemented this feature uses SimpleImp. Maybe I missed something - packet from server sends to client successfully, but when I tries to use sendToServer client get message instead server. My network class public class ModNetworking { private static final String PROTOCOL_VERSION = "1.0"; private static SimpleChannel INSTANCE; private static int ID = 0; public static int nextId () { return ID++; } public static void registerMessages() { INSTANCE = NetworkRegistry.newSimpleChannel(new ResourceLocation(ArtOfFood.MOD_ID, "mod_channel"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals); INSTANCE.messageBuilder(SSetConceptResultSlotPacket.class, nextId()) .encoder(SSetConceptResultSlotPacket::writePacketData) .decoder(SSetConceptResultSlotPacket::new) .consumer(SSetConceptResultSlotPacket::processPacket) .add(); INSTANCE.messageBuilder(CUpdateConceptPacket.class, nextId()) .encoder(CUpdateConceptPacket::writePacketData) .decoder(CUpdateConceptPacket::new) .consumer(CUpdateConceptPacket::processPacket) .add(); } public static void sendToClient(Object packet, ServerPlayerEntity player) { INSTANCE.sendTo(packet, player.connection.netManager, NetworkDirection.PLAY_TO_CLIENT); } public static void sendToServer(Object packet) { INSTANCE.sendToServer(packet); } } Problem packet is CUpdateConceptPacket: public class CUpdateConceptPacket { private String conceptId; public CUpdateConceptPacket(String conceptId) { this.conceptId = conceptId; } public void processPacket(Supplier<NetworkEvent.Context> ctx) { PlayerEntity playerEntity = Minecraft.getInstance().player; if (playerEntity.openContainer instanceof IUpdateConceptPacketHandler) { IUpdateConceptPacketHandler handler = (IUpdateConceptPacketHandler) playerEntity.openContainer; handler.handleConceptUpdate(conceptId); } ctx.get().setPacketHandled(true); } public CUpdateConceptPacket(PacketBuffer buf) { this.readPacketData(buf); } public void readPacketData(PacketBuffer buf) { this.conceptId = buf.readString(); } public void writePacketData(PacketBuffer buf) { buf.writeString(this.conceptId); } public String getConceptId() { return this.conceptId; } } Minimalistic handler: public interface IUpdateConceptPacketHandler { void handleConceptUpdate(String conceptId); } This is how I call it: @OnlyIn(Dist.CLIENT) public void setConcept(MBConcept concept) { this.concept = concept; CUpdateConceptPacket packet = new CUpdateConceptPacket(concept.conceptId); ModNetworking.sendToServer(packet); } And get client call (see screen) P.S. Can't find spoiler for hiding code listings. Is it available here?
-
-
Topics
-
Who's Online (See full list)