Résolu Problème Texture.
-
Bonjour, J’ai actuellement un problème avec mes textures de mes blocs , elle ne s’affichent pas en jeu pourtant je ne pense pas m’avoir trompé dans le code (chemin)
Si quelqu’un pourrait m’aider cela serai fort sympathique , merci
J’ai une image ci-dessous à disposition .
-
Je déplaces dans la section support pour les moddeurs. Merci de faire plus attention à l’avenir.
Il faudrait le code complet. Vu l’erreur dans la console il cherche la texture dans le domaine minecraft au lieu de chercher dans le domaine kaoticube c’est pour ça que ça ne fonctionne pas. Par contre sans ton code je ne peux pas te dire pourquoi il cherche au mauvais endroit. -
@‘robin4002’:
Je déplaces dans la section support pour les moddeurs. Merci de faire plus attention à l’avenir.
Il faudrait le code complet. Vu l’erreur dans la console il cherche la texture dans le domaine minecraft au lieu de chercher dans le domaine kaoticube c’est pour ça que ça ne fonctionne pas. Par contre sans ton code je ne peux pas te dire pourquoi il cherche au mauvais endroit.Merci d’avoir si vite répondu , j’ai mis tout mon code concernant l’un des blocs :
J’ai aussi également donner plus d’info venant de la console :
[16:06:23] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[16:06:23] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1517 Initialized
[16:06:23] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[16:06:23] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[16:06:23] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[16:06:23] [Client thread/INFO] [FML]: Searching C:\Users\mickael\Desktop\KaoTiCubeMod\eclipse\mods for mods
[16:06:30] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:06:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, kaoticube] at CLIENT
[16:06:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, kaoticube] at SERVER
[16:06:31] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:kaoticube Mod
[16:06:31] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:06:31] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[16:06:31] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[16:06:31] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:06:31] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_adamiteblock$BlockAdamiteblock@13879c47 has been registered twice for the same name kaoticube:Adamiteblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_apatiteblock$BlockApatiteblock@7f9c22ac has been registered twice for the same name kaoticube:Apatiteblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_graphiteblock$BlockGraphiteblock@6cfbdf32 has been registered twice for the same name kaoticube:Graphiteblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_lazuliteblock$BlockLazuliteblock@59920243 has been registered twice for the same name kaoticube:Lazuliteblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_mithrilblock$BlockMithrilblock@549f11e0 has been registered twice for the same name kaoticube:Mithrilblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_rubyblock$BlockRubyblock@2235ab04 has been registered twice for the same name kaoticube:Rubyblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/WARN] [FML]: * The object kaoticube.kaoticube_titaniumblock$BlockTitaniumblock@252d6ea6 has been registered twice for the same name kaoticube:Titaniumblock.
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:397)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:890)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:865)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[16:06:31] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)…
[16:06:31] [Client thread/WARN] [FML]: ****************************************
[16:06:31] [Client thread/INFO] [FML]: Applying holder lookups
[16:06:31] [Client thread/INFO] [FML]: Holder lookups applied
[16:06:31] [Client thread/INFO] [FML]: Injecting itemstacks
[16:06:31] [Client thread/INFO] [FML]: Itemstack injection complete
[16:06:31] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[16:06:31] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[16:06:32] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[16:06:32] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[16:06:33] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[16:06:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[16:06:33] [Sound Library Loader/INFO]: Sound engine started
[16:06:43] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[16:06:43] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[16:06:43] [Client thread/INFO] [FML]: Injecting itemstacks
[16:06:43] [Client thread/INFO] [FML]: Itemstack injection complete
[16:06:43] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[16:06:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:kaoticube Mod
[16:06:43] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[16:06:44] [Client thread/INFO]: Created: 1024x1024 textures/items-atlas
[16:06:44] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[16:06:44] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[16:06:44] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[16:06:44] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[16:06:44] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[16:06:44] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[16:06:44] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[16:06:44] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[16:06:44] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[16:06:45] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[16:06:45] [Sound Library Loader/INFO]: Sound engine started
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN minecraft
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft is missing 7 textures
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft has 3 locations:
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: mod FML resources at C:\Users\mickael.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1517-1.7.10\forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: mod Forge resources at C:\Users\mickael.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1517-1.7.10\forgeSrc-1.7.10-10.13.4.1517-1.7.10.jar
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain minecraft are:
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Graphite.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Lazulite.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Titanium.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Ruby.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Mithril.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Adamite.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Apatite CaOH.png
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain minecraft
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:06:45] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= -
-
this.gor = reg.registerIcon(“Titanium”);
-
this.dol = reg.registerIcon(“Titanium”);
-
this.st1 = reg.registerIcon(“Titanium”);
-
this.st2 = reg.registerIcon(“Titanium”);
-
this.st3 = reg.registerIcon(“Titanium”);
-
this.st4 = reg.registerIcon(“Titanium”);
-
this.gor = reg.registerIcon(MODID +“Titanium”);
-
this.dol = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st1 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st2 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st3 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st4 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
-
@‘SpyMan’:
-
this.gor = reg.registerIcon(“Titanium”);
-
this.dol = reg.registerIcon(“Titanium”);
-
this.st1 = reg.registerIcon(“Titanium”);
-
this.st2 = reg.registerIcon(“Titanium”);
-
this.st3 = reg.registerIcon(“Titanium”);
-
this.st4 = reg.registerIcon(“Titanium”);
-
this.gor = reg.registerIcon(MODID +“Titanium”);
-
this.dol = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st1 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st2 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st3 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
-
this.st4 = reg.registerIcon([color=#000000MODI][size=x-smallD +]“Titanium”);
Merci d’avoir répondu , j’ai remplacer comme vous avez demander mais le problème persiste
(Image ci-dessous)
-
-
reg.registerIcon(MODID + ":Titanium");
Il faut les deux point : entre le modid et le nom de la texture il me semble
-
-
this.gor = reg.registerIcon(MODID+“:Titanium”);
-
this.dol = reg.registerIcon([color=#000000MOD][size=x-smallID+“:][size=x-smallTitanium”]);
-
%(#000000)[this.st1 = reg.registerIconcolor=#000000;
-
this.st2 = reg.registerIcon([color=#000000MOD][size=x-smallID+“:][size=x-smallTitanium”]);
-
this.st3 = reg.registerIcon([color=#000000MOD][size=x-smallID+“:][size=x-smallTitanium”]);
-
this.st4 = reg.registerIcon([color=#000000MOD][size=x-smallID+“:][size=x-smallTitanium”]);
-
-
Merci beaucoup ! Problème résolut