Obfuscated mod sur eclipse ?
-
Bonjour !
Y a t’il possiblilité de faire tourner chisel obfuscated(parce que j’ai pas trouvé de deobfuscated) sur mon client eclipse ? -
Salut, tu peux le faire tourner en l’ajoutant dans ton dossier run/mods, ou en l’ajoutant à ton classpath (via eclipse ou via le dossier libs à la racine de ta workspace + gradlew setupDecompWorkspace eclipse), mais l’ajouter avec ses sources à côté des tiennes, impossible, à moins de décompiler, mais tu dois probablement connaître les restrictions à ce niveau là
-
Il faut mettre le fichier en temps que dépendance gradle du type deobfCompile
-
@robin4002 je sais mais je y arrive pas
-
moi je créer un dossier “libs” dans le dossier de mon mod puis je met le .jar voulu dedans et ensuite je l’ajoute en buildpath
-
CurseForge utilise un repo sous la forme ivy.
On peut trouver le chemin du repo en regardant l’url du fichier qu’on télécharge.repositories { ivy { name "Chisel" artifactPattern "https://addons-origin.cursecdn.com/files/2465/85/[module]-[revision].[ext]" } } dependencies { deobfCompile group: 'team.chisel', name: 'Chisel', version: 'MC1.12-0.0.13.16', ext: 'jar' }
-
Mais ça va pas poser problème que j’aie l’api chisel ajoutée a mon build path?
Les classes de l’api qui sont dans le mod également vont pas créer une confusion ? -
Essaies, tu verra bien.
-
Ca crash:
–-- Minecraft Crash Report ---- // I feel sad now :( Time: 8/30/17 3:30 PM Description: Initializing game java.lang.NoSuchMethodError: team.chisel.client.ClientProxy.preInit_impl()V at team.chisel.client.ClientProxy.registerModels(ClientProxy.java:63) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_10_ClientProxy_registerModels_ModelRegistryEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:143) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1083) at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:757) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:606) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266) at net.minecraft.client.Minecraft.init(Minecraft.java:508) at net.minecraft.client.Minecraft.run(Minecraft.java:416) 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:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at team.chisel.client.ClientProxy.registerModels(ClientProxy.java:63) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_10_ClientProxy_registerModels_ModelRegistryEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:143) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) at net.minecraftforge.fml.client.FMLClientHandler.fireSidedRegistryEvents(FMLClientHandler.java:1083) at net.minecraftforge.fml.common.FMLCommonHandler.fireSidedRegistryEvents(FMLCommonHandler.java:757) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:606) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266) at net.minecraft.client.Minecraft.init(Minecraft.java:508) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:416) 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:26) -- System Details -- Details: Minecraft Version: 1.12 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_121, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 808623264 bytes (771 MB) / 1038876672 bytes (990 MB) up to 2112618496 bytes (2014 MB) JVM Flags: 3 total; -Xincgc -Xmx2048M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.40 Powered by Forge 14.21.1.2443 6 mods loaded, 6 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH minecraft{1.12} [Minecraft] (minecraft.jar) UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.12-14.21.1.2443.jar) UCH forge{14.21.1.2443} [Minecraft Forge] (forgeSrc-1.12-14.21.1.2443.jar) UCH chiselplus{0.01} [Chisel +] (bin) UCH chisel{MC1.12-0.0.13.16} [Chisel] (Chisel-MC1.12-0.0.13.16.jar) Loaded coremods (and transformers): GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 384.94' Renderer: 'GeForce 840M/PCIe/SSE2' Launched Version: 1.12 LWJGL: 2.9.4 OpenGL: GeForce 840M/PCIe/SSE2 GL version 4.5.0 NVIDIA 384.94, NVIDIA Corporation 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: Yes Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Current Language: Français (France) Profiler Position: N/A (disabled) CPU: 4x Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
-
Étrange, une fonction semble manquante, aucun rapport avec l’api par contre.
Je ne sais pas quoi faire pour corriger ça
-
Pas grave.
( le truc le plus grave pour moi en ce moment est que mon mod qui est scencé être un add-on de chisel, fait crash chisel )