Texture
-
j’ai rectifier et toujour pas
-
Envoies les logs d’eclipse au lancement.
-
Jen e peut pas lancer le launcher avec mod avec eclipse sa me mes des erreur
[17:31:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[17:31:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[17:31:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[17:31:09] [main/INFO] [FML]: Forge Mod Loader version 7.2.217.1147 for Minecraft 1.7.2 loading
[17:31:09] [main/INFO] [FML]: Java is Java HotSpot
64-Bit Server VM, version 1.7.0_79, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7
[17:31:09] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:31:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:31:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[17:31:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:31:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:31:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:31:10] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:31:14] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Alexandre/.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!
[17:31:14] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[17:31:14] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Alexandre/.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
[17:31:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:31:14] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:31:14] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[17:31:16] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[17:31:21] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79]
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_79]
at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_79]
at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_79]
at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_79]
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 more</clinit> -
Passe en 1.7.10, la 1.7.10 n’a pas ce problème.
-
Ouais mais le mod sera compatible 1.7.2
-
La 1.7.2 est vieille et remplit de bug. Il n’y a aucune raison de continuer à utiliser cette version.
Et de toute façon oui, si tu fais un mod 1.7.10 sans toucher aux nouveautés de la 1.7.10 (uuid) il fonctionnera en 1.7.2. -
uuid ??
-
http://fr.wikipedia.org/wiki/Universal_Unique_Identifier
Depuis la 1.7.9 Minecraft utilise les UUID pour identifier les joueurs contrairement à avant où ça passait par le pseudo. -
Mes item ne s’afiche pas quand je fais gradlew build et que je mes le mod dans mon .minecraft/mods
-
Mais il marche lorsque tu le lance avec eclipse ?
-
Oui sa marche
Ps:Si vous avez skype et si vous pouvez maider plus en pronfondeur ajouter alexandre55875
-
Oui sa marche
Ps:Si vous avez skype et si vous pouvez maider plus en pronfondeur ajouter alexandre55875
-
Envoi ta classe principale et une image de l’arborescence de tes dossiers (Eclipse en donne une à droite).
-
Tu as mit la texture dans src/main/java ou dans src/main/resources ?
-
scr/main/resource
-
Ça devrait être bon alors

Dans le .jar final est-ce que les textures sont présentes ? -
les texture sont présente mais il y un des Thumbs.db
-
src/main/ressources et non src/main/ressource je crois et le Thumbs.db est un fichier crée par windows qui sert juste à l’affichage du cache, donc inutile de s’en préoccuper.
-
avec src/main/resources marche pas
-
Vérifies les majuscules / minuscule.
Les dossiers assets/modid/textures doivent être en minuscule, même ton modid, et même dans le cas ou tu as mit des majuscules dedans. Les dossiers blocks et items doivent aussi être en minuscule. Les noms des fichiers ça dépend de ce que tu as mit dans le setTextureName