Créer la base de votre mod
-
@‘robin4002’:
Le deux problèmes reviennent au même. Les assets sont manquantes. Il me semble qu’en 1.7.2 les assets ne fonctionnent plus, il faut passer en 1.7.10
Mais genial j’ai deja galerer a passer en 1.7.2 et maintenant je doit changer wtf bon faut t’il fait quelque chose avec gradlew pour passer la maj ou je doit refaire tout depuis le debut avec en télecharger forge sur le site?
je tien a précisé que j’ai les assets dans les referenced Libraries -
Il n’y a presque pas de différence en 1.7.10
http://www.minecraftforgefrance.fr/showthread.php?tid=777
Sinon tu peux essayer d’ajouter les arguments suivants dans les paramètres de run : –assetsDir C:\Users<ta session=“”>\AppData\Roaming.minecraft\assets</ta> -
@‘robin4002’:
Il n’y a presque pas de différence en 1.7.10
http://www.minecraftforgefrance.fr/showthread.php?tid=777
Sinon tu peux essayer d’ajouter les arguments suivants dans les paramètres de run : –assetsDir C:\Users<ta session=“”>\AppData\Roaming.minecraft\assets</ta>Alors bonne nouvelle j’ai passer sous 1.7.10 apparament
mauvaise nouvelle sa ne se lance pas:
[13:15:41] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [13:15:41] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [13:15:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [13:15:41] [main/INFO] [FML]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading [13:15:41] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_65, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [13:15:41] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [13:15:41] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:15:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [13:15:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:15:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:15:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [13:15:42] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [13:15:43] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [13:15:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [13:15:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [13:15:43] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [13:15:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [13:15:43] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [13:15:44] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties'] at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?] at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?] at net.minecraft.client.main.Main.main(Main.java:89) ~[Main.class:?] … 6 moreune idée?
-
Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']Il te manque l’argument “–userProperties {}” dans les arguments de lancement
-
@‘robin4002’:
Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']Il te manque l’argument “–userProperties {}” dans les arguments de lancement
Ok mais je suppose que c’est dans debug Configurations mais il y a deux client et deux serveur et dans client il y a ceci
–version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken FMLEt rien dans serveur
que doit-je faire?
-
Dans client tu ajoutes en plus :
–userProperties {} -
@‘robin4002’:
Dans client tu ajoutes en plus :
–userProperties {}merci de l’aide robin le jeu fonctionne mais j’ai toujours le probleme du son qui ne se lance pas ni les langues
je trouve que il y a beaucoup de chose dans la console
:[20:22:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [20:22:46] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [20:22:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [20:22:46] [main/INFO] [FML]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading [20:22:46] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_65, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [20:22:46] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:22:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:22:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [20:22:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:22:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:22:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [20:22:47] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:22:48] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [20:22:48] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [20:22:48] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [20:22:48] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [20:22:48] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [20:22:48] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:22:49] [main/INFO]: Setting user: Player927 [20:22:50] [main/INFO] [STDOUT]: [net.minecraft.client.main.Main:main:160]: Completely ignored arguments: [#73, Il, y, a, 3, minutes, Dans, client, tu, ajoutes, en, plus, :] [20:22:50] [Client thread/INFO]: LWJGL Version: 2.9.1 [20:22:50] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@32d62eb9\. This is a critical error and should be impossible java.lang.Throwable at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?] at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?] at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:21) [MinecraftForge.class:?] at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?] at net.minecraftforge.fluids.FluidRegistry.<clinit>(FluidRegistry.java:50) [FluidRegistry.class:?] at net.minecraftforge.client.ForgeHooksClient.<clinit>(ForgeHooksClient.java:425) [ForgeHooksClient.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:50] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@1514b420\. This is a critical error and should be impossible java.lang.Throwable at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?] at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?] at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:22) [MinecraftForge.class:?] at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?] at net.minecraftforge.fluids.FluidRegistry.<clinit>(FluidRegistry.java:50) [FluidRegistry.class:?] at net.minecraftforge.client.ForgeHooksClient.<clinit>(ForgeHooksClient.java:425) [ForgeHooksClient.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:50] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@23dabb0\. This is a critical error and should be impossible java.lang.Throwable at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?] at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?] at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:23) [MinecraftForge.class:?] at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?] at net.minecraftforge.fluids.FluidRegistry.<clinit>(FluidRegistry.java:50) [FluidRegistry.class:?] at net.minecraftforge.client.ForgeHooksClient.<clinit>(ForgeHooksClient.java:425) [ForgeHooksClient.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:51] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@6b01af7\. This is a critical error and should be impossible java.lang.Throwable at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?] at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?] at cpw.mods.fml.common.FMLCommonHandler.<init>(FMLCommonHandler.java:90) [FMLCommonHandler.class:?] at cpw.mods.fml.common.FMLCommonHandler.<clinit>(FMLCommonHandler.java:77) [FMLCommonHandler.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:188) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:51] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [20:22:51] [Client thread/INFO] [FML]: MinecraftForge v10.13.1.1217 Initialized [20:22:51] [Client thread/INFO] [FML]: Replaced 182 ore recipies [20:22:51] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [20:22:51] [Client thread/INFO] [FML]: Searching C:\Users\Romain\Desktop\forge-1.7.2-10.12.2.1121-src\eclipse\mods for mods [20:22:51] [Client thread/INFO] [examplemod]: Mod examplemod is missing the required element 'name'. Substituting examplemod [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:815) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:768) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:717) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:689) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraftforge.common.ForgeVersion$1.run(ForgeVersion.java:94) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:803) [20:22:51] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: … 4 more [20:22:53] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [20:22:53] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, pulganrmod] at CLIENT [20:22:53] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, pulganrmod] at SERVER [20:22:54] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:pulganr mod [20:22:54] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [20:22:54] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [20:22:54] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [20:22:54] [Client thread/INFO] [FML]: Applying holder lookups [20:22:54] [Client thread/INFO] [FML]: Holder lookups applied [20:22:54] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:22:54] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [20:22:54] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [20:22:54] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [20:22:54] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [20:22:55] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:22:55] [Sound Library Loader/INFO]: Sound engine started [20:22:55] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [20:22:55] [Client thread/INFO]: Created: 256x256 textures/items-atlas [20:22:55] [Client thread/INFO] [STDOUT]: [com.example.examplemod.ExampleMod:init:18]: DIRT BLOCK >> tile.dirt [20:22:55] [Client thread/INFO] [STDOUT]: [com.google.pulganr.client.ClientProxy:registerRender:14]: méthode côté client [20:22:55] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [20:22:55] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:pulganr mod [20:22:55] [Client thread/ERROR]: Using missing texture, unable to load modtutoriel:textures/items/axe_tutoriel.png java.io.FileNotFoundException: modtutoriel:textures/items/axe_tutoriel.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:55] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/modtutorielConfusedword_tutoriel.png java.io.FileNotFoundException: minecraft:textures/items/modtutorielConfusedword_tutoriel.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:55] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/modtutorielConfusedhovel_tutoriel.png java.io.FileNotFoundException: minecraft:textures/items/modtutorielConfusedhovel_tutoriel.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:55] [Client thread/ERROR]: Using missing texture, unable to load modtutoriel:textures/items/pickaxe_tutoriel.png java.io.FileNotFoundException: modtutoriel:textures/items/pickaxe_tutoriel.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:55] [Client thread/ERROR]: Using missing texture, unable to load modtutoriel:textures/items/hoe_tutoriel.png java.io.FileNotFoundException: modtutoriel:textures/items/hoe_tutoriel.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_65] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [20:22:55] [Client thread/INFO]: Created: 256x256 textures/items-atlas [20:22:55] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [20:22:55] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:22:55] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [20:22:56] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [20:22:56] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:22:56] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:22:56] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [20:22:56] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [20:22:56] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [20:22:56] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [20:22:56] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:22:56] [Sound Library Loader/INFO]: Sound engine started [20:22:58] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [20:22:59] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [20:22:59] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [20:23:01] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menuje devrais normalement avoir les assets</clinit></init></init></clinit></clinit></clinit></init></clinit></clinit></clinit></init></clinit></clinit></clinit></init>
-
Refait un setup propre de 0, ça sera mieux.
-
@‘robin4002’:
Refait un setup propre de 0, ça sera mieux.
OUI enfin cela marche merci robin de ta patience pour mon problème je vais pouvoir me lancer dans mon mod
EDIT: Le son ne marche pas lorsque j’ajoute les fichiers de mon mod

REDIT enfaite je ne sais pas je test et je vois
REREDIT sa marche c’est juste que 2 eclipse a la fois c’est plus dur -
Moi mon problème c’est quand je clique sur le bouton RUN, minecraft ne s’ouvre pas et dans la console sa m’affiche:
[09:46:25] [main/INFO] [GradleStart]: No arguments specified, assuming client.
[09:46:25] [main/INFO] [GradleStart]: Extra: []
[09:46:25] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Dylan/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker]
[09:46:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[09:46:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[09:46:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[09:46:25] [main/INFO] [FML]: Forge Mod Loader version 7.10.18.1180 for Minecraft 1.7.10 loading
[09:46:25] [main/INFO] [FML]: Java is Java HotSpot
64-Bit Server VM, version 1.8.0_20, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_20
[09:46:25] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[09:46:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:46:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[09:46:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[09:46:25] [main/ERROR] [LaunchWrapper]: Unable to launch
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_20]
at java.util.ArrayList$Itr.remove(Unknown Source) ~[?:1.8.0_20]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:117) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_20]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_20]
at GradleStart.bounce(GradleStart.java:107) [start/:?]
at GradleStart.startClient(GradleStart.java:100) [start/:?]
at GradleStart.main(GradleStart.java:55) [start/:?]
Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0
at GradleStart.main(GradleStart.java:59)
Java HotSpot
64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseArriveriez vous a trouver une solution?, merci d’avance
-
Avec java 1.8.20 forge marche pas, donc change de version java.
-
sa marche c’est bon merci!
-
[21:00:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [21:00:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [21:00:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker java.io.IOException: Server returned HTTP response code: 403 for URL: https://authserver.mojang.com/authenticate at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at cpw.mods.fml.common.launcher.Yggdrasil.login(Yggdrasil.java:108) at cpw.mods.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java:103) at net.minecraft.launchwrapper.Launch.launch(Launch.java:113) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [21:00:06] [main/INFO] [FML]: Forge Mod Loader version 7.2.217.1147 for Minecraft 1.7.2 loading [21:00:06] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_67, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7 [21:00:06] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [21:00:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:00:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [21:00:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:00:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:00:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [21:00:06] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [21:00:10] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/creep_000/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeSrc-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [21:00:10] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [21:00:10] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/creep_000/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeSrc-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [21:00:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [21:00:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [21:00:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [21:00:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [21:00:12] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_67] at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_67] at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_67] at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_67] at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?] at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?] at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?] at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2675) ~[Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?] … 6 moreJe viens de regarder les réponses aux problèmes semblables , j’ai bien vérifié le Bonus , ça ne marche toujours pas, j’ai ça :
–version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username creepclem@gmail.com --password ********</clinit> -
c’est lorsque tu met ton compte que sa crash?
-
-
robin ? normale que je vois plus de bonus ?
-
Car il n’y en a pas dans ce tutoriel.
-
A oui xD. J’ai crue que c’étais un autre tuto ^^.
-
Bonjour, voila le mod marche bien appart le render le mob et rose est noir il me semble bien avoir mit mon image .png au bonne endroit ainsi de suite c’est poour cela que je demande a vous mon image ce trouve C:\Users\Baptiste\Documents\java\forge\src\main\resources\assets\baba\textures\entity
et elle et nomer baba.pngVoici ma class render:
package fr.baba.protocraft.client; import fr.baba.protocraft.common.EntityBaba; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.RenderBiped; import net.minecraft.entity.EntityLiving; import net.minecraft.util.ResourceLocation; public class RenderBaba extends RenderBiped { public final ResourceLocation texture = new ResourceLocation ("textures/entity/baba.png"); public RenderBaba(ModelBiped par1ModelBiped) { super(par1ModelBiped, 0.5F); // TODO Auto-generated constructor stub } public ResourceLocation TextureBaba(EntityBaba baba) { return texture; } protected ResourceLocation getEntityTexture(EntityLiving entity) { return TextureBaba((EntityBaba)entity); } }Ma class principale:
package fr.baba.protocraft.common; import net.minecraft.entity.Entity; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.EntityRegistry; import fr.baba.protocraft.proxy.CommonProxy; @Mod(modid = "baba", name= "ProtoMob", version = "2.0") public class Main { @Instance("baba") public static Main instance; @SidedProxy(clientSide = "fr.baba.protocraft.proxy.ClientProxy", serverSide = "fr.baba.protocraft.proxy.CommonProxy") public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { } @EventHandler public void Init(FMLInitializationEvent event) { addEntity(EntityBaba.class, "baba", 420, 0,0); proxy.RegisterRender(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { } public void addEntity(Class entityClass, String name, int id, int backgroundColor, int foregroundColor) { EntityRegistry.registerGlobalEntityID(entityClass, name, EntityRegistry.findGlobalUniqueEntityId(), backgroundColor, foregroundColor); EntityRegistry.registerModEntity(entityClass, name, id, this, 40, 1, true); } }Entity:
package fr.baba.protocraft.common; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.monster.EntityMob; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.world.World; public class EntityBaba extends EntityMob { public EntityBaba(World p_i1738_1_) { super(p_i1738_1_); // TODO Auto-generated constructor stub } public void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D); this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(2D); } public Item getDropItem() { return Items.apple; } }Proxy:
package fr.baba.protocraft.proxy; import net.minecraft.client.model.ModelBiped; import cpw.mods.fml.client.registry.RenderingRegistry; import fr.baba.protocraft.client.RenderBaba; import fr.baba.protocraft.common.EntityBaba; import fr.baba.protocraft.proxy.CommonProxy; public class ClientProxy extends CommonProxy { @Override public void RegisterRender() { RenderingRegistry.registerEntityRenderingHandler(EntityBaba.class, new RenderBaba(new ModelBiped())); } }Common:
package fr.baba.protocraft.proxy; public class CommonProxy { public void RegisterRender() { } } -
Bonsoir , j’ai un problème quand je fais mon RUN j’ai un message en rouge qui s’affiche
" [00:21:45] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\forge\eclipse.\crash-reports\crash-2014-12-02_00.21.45-client.txt
%(#ff3333)[Java HotSpot
64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release]Quelqu’un a une idée de ou sa peu venir ? Merci d’avance