Résolu Texture de l item qui ne s affiche pas
-
Bonjour , j ai commencé a créer mon mod en suivant les tuto de la chaine minecraft forge france , voici mon problème :
Donc voila , j ai commencé mon mod , créé la base du mod et commencé a créé un item mais , bizzarement , ayant pourtant mis la texture de l item dans le bon dossier mais pourtant le jeu ne la trouve pas , voici les logs au lancement :
[21:21:09] [main/INFO] [GradleStart]: Extra: []
[21:21:09] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/LouisetMaxime/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[21:21:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:21:09] [main/INFO] [FML]: Forge Mod Loader version 7.99.30.1492 for Minecraft 1.7.10 loading
[21:21:09] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_51, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_51
[21:21:09] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:21:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:21:09] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[21:21:09] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[21:21:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:21:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:21:09] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:21:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:21:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:21:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:21:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:21:11] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[21:21:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[21:21:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:21:11] [main/INFO]: Setting user: Player182
[21:21:12] [Client thread/INFO]: LWJGL Version: 2.9.1
[21:21:13] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
// Oops.Time: 1/08/15 21:21
Description: Loading screen debug infoThis is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 801724736 bytes (764 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ’ Vendor: ‘Intel’ Version: ‘4.2.0 - Build 10.18.10.3496’ Renderer: ‘Intel HD Graphics 4600’
[21:21:13] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[21:21:13] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1492 Initialized
[21:21:13] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[21:21:13] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[21:21:13] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[21:21:13] [Client thread/INFO] [FML]: Searching C:\Users\LouisetMaxime\Desktop\modding\eclipse\mods for mods
[21:21:19] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[21:21:19] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mod hardegans] at CLIENT
[21:21:19] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mod hardegans] at SERVER
[21:21:19] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:test
[21:21:19] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[21:21:19] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[21:21:19] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[21:21:19] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[21:21:19] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[21:21:19] [Client thread/INFO] [FML]: Applying holder lookups
[21:21:19] [Client thread/INFO] [FML]: Holder lookups applied
[21:21:19] [Client thread/INFO] [FML]: Injecting itemstacks
[21:21:19] [Client thread/INFO] [FML]: Itemstack injection complete
[21:21:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[21:21:20] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[21:21:20] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[21:21:20] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[21:21:20] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:20] [Sound Library Loader/INFO]: Sound engine started
[21:21:21] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[21:21:21] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[21:21:21] [Client thread/INFO] [STDOUT]: [fr.hardegans.test.common.test:Init:52]: initialisation
[21:21:21] [Client thread/INFO] [FML]: Injecting itemstacks
[21:21:21] [Client thread/INFO] [FML]: Itemstack injection complete
[21:21:21] [Client thread/INFO] [STDOUT]: [fr.hardegans.test.common.test:postInit:58]: post initialisation
[21:21:21] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[21:21:21] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:test
[21:21:21] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[21:21:21] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[21:21:21] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:21] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[21:21:21] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[21:21:21] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[21:21:22] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[21:21:22] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[21:21:22] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[21:21:22] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:22] [Sound Library Loader/INFO]: Sound engine started
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN minecraft
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft is missing 1 texture
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft has 3 locations:
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: mod FML resources at C:\Users\LouisetMaxime.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1492-1.7.10\forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: mod Forge resources at C:\Users\LouisetMaxime.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1492-1.7.10\forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain minecraft are:
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: textures/items/testbean.png
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain minecraft
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[21:21:22] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:21:24] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[21:21:24] [Server thread/INFO]: Generating keypair
[21:21:24] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[21:21:24] [Server thread/INFO] [FML]: Applying holder lookups
[21:21:24] [Server thread/INFO] [FML]: Holder lookups applied
[21:21:24] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@3c27f843)
[21:21:24] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@3c27f843)
[21:21:24] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@3c27f843)
[21:21:24] [Server thread/INFO]: Preparing start region for level 0
[21:21:25] [Server thread/INFO]: Changing view distance to 12, from 10
[21:21:26] [Netty Client IO #0/INFO] [FML]: Server protocol version 2
[21:21:26] [Netty IO #1/INFO] [FML]: Client protocol version 2
[21:21:26] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@7.10.99.99,mod hardegans@1.0,Forge@10.13.4.1492,mcp@9.05
[21:21:26] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[21:21:26] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[21:21:26] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[21:21:26] [Server thread/INFO]: Player182[local:E:a4b4c94b] logged in with entity id 306 at (-191.50507672711282, 58.0, 282.49342248330225)
[21:21:26] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[21:21:26] [Server thread/INFO]: Player182 joined the game
[21:21:27] [Server thread/INFO]: Player182 has just earned the achievement [Taking Inventory]
[21:21:27] [Client thread/INFO]: [CHAT] Player182 has just earned the achievement [Taking Inventory]
[21:21:31] [Client thread/INFO]: Stopping!
[21:21:31] [Server thread/INFO]: Stopping server
[21:21:31] [Server thread/INFO]: Saving players
[21:21:31] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:31] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[21:21:31] [Server thread/INFO]: Saving worlds
[21:21:31] [Server thread/INFO]: Saving chunks for level ‘New World’/Overworld
[21:21:31] [Server thread/INFO]: Saving chunks for level ‘New World’/Nether
[21:21:31] [Server thread/INFO]: Saving chunks for level ‘New World’/The End
[21:21:31] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[21:21:31] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:21:31] [Client Shutdown Thread/INFO]: Stopping server
[21:21:31] [Client Shutdown Thread/INFO]: Saving players -
Salut,
Tu as oublié de mettre ton modid dans la fonction setTextureName -
je note MODID = ou bien juste mon modid?
sinon merci d avoir répondu rapidement
-
Bonjour Maxime Louiset, vérifie si tu as bien ceci dans la classe de ton item :
@Override public void registerIcons(IIconRegister ir) { this.itemIcon = ir.registerIcon(ModTutoriel.MODID + ":" + "testbean"); }
-
@‘Sasukz’:
Bonjour Maxime Louiset, vérifie si tu as bien ceci dans la classe de ton item :
@Override public void registerIcons(IIconRegister ir) { this.itemIcon = ir.registerIcon(ModTutoriel.MODID + ":" + "testbean"); }
le MODID etait présent robin mais le code de Sasukz n était pas présent , merci beaucoup je vais pouvoir continuer mon mod
-
C’est écrit dans les tutoriels.
Soit tu fais
setTextureName(“tonmodid:nomDeLaTexture”)
soit :
setTextureName(ClassePrincipale.MODID + “:nomDeLaTexture”) -
yop et si ton block a plusieurs texture avec un IIcon utilise String.format(“%s:%s”, MODID.toLowercase(), “folder/texturename”)
Edit: désoler je n’avait pas vu le résolut
-
@‘robin4002’:
C’est écrit dans les tutoriels.
Soit tu fais
setTextureName(“tonmodid:nomDeLaTexture”)
soit :
setTextureName(ClassePrincipale.MODID + “:nomDeLaTexture”)J avais mal compris , j ai regardé tes tutos sur la chaine minecraft forge france mais j avais mal noté le nom de la texture , merci de ton aide , ca m a aidé pour mon bloc