Mod Résolu textures items forge

lordnatt

Nouveau
17 Mars 2021
14
0
1
21
Bonjour,

J'aurais besoin de votre aide , je suis entrain d'avancer sur un mod tout se déroule bien mais une textures d'un item ne veux pas s'afficher et je n'e c'est pas comment régler ce problème car je vient de commencer dans le java donc je m'aide encore de tuto sauf que la personne qui fait c'est tuto a arrêter c'est vidéo donc je suis perdue, j'arrive pourtant à créer de nouveau blocks avec des textures mais je n'arrive pas a ajouter une textures a mon 2ème item (item_rubis) mais bizarrement pour le premier item (item_tuto) que j'ai créer sa marche parfaitement 0_o quelqu'un aurais la gentillesse de me dire ce qui ne va pas dans mon code ci dessous

JavaScript:
package fr.lekingnatt.leki.init;

import fr.lekingnatt.leki.References;
import fr.lekingnatt.leki.items.ItemMod;
import fr.lekingnatt.leki.items.ItemRubis;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;

@Mod.EventBusSubscriber(modid=References.MODID)
public class ItemsMod
{
    public static Item item_tuto, item_rubis;
   
    public static void init()
    {
        item_tuto = new ItemMod("item_tuto");
        item_rubis = new ItemRubis("item_rubis");
    }
   
    @SubscribeEvent
    public static void registerItems(RegistryEvent.Register<Item> event)
    {
        event.getRegistry().registerAll(item_tuto);
        event.getRegistry().registerAll(item_rubis);
    }
   
    @SubscribeEvent
    public static void registerRenders(ModelRegistryEvent event)
    {
        registerRender(item_tuto);
        registerRender(item_rubis);
    }
   
    private static void registerRender(Item item)
    {
        ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
    }
}


Merci ,
Bien Cordialement,
Lordnatt
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
18 834
78
2 888
347
24
Alsace
www.minecraftforgefrance.fr
Bonjour,

C'était du spam, j'ai supprimé le message.
Pour ton problème, as-tu une erreur dans les logs ?
 

lordnatt

Nouveau
17 Mars 2021
14
0
1
21
Merci pour avoir supprimer le spam robin 4002 :),
oui j'en ai mais je ne pense pas qui viennent de la textures
mais j'ai réussi a prendre le code de la console quand je lance mon mod
JavaScript:
[11:06:56] [main/INFO] [GradleStart]: Extra: []
[11:06:56] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/RTX/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[11:06:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[11:06:56] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[11:06:56] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_211\jre
[11:06:56] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[11:06:56] [main/ERROR] [FML]: Full: C:\Users\RTX\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[11:06:56] [main/ERROR] [FML]: Trimmed: c:/users/rtx/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[11:06:56] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[11:06:56] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2021-05-27 11:06:56,821 main WARN Disabling terminal, you're running in an unsupported environment.
[11:06:56] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[11:06:56] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[11:06:56] [main/INFO] [FML]: Searching C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[11:06:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[11:06:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[11:06:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[11:06:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:06:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:06:58] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[11:06:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:06:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:06:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[11:06:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:06:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:06:58] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[11:06:58] [main/INFO] [minecraft/Minecraft]: Setting user: Player173
[11:07:00] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[11:07:00] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[11:07:01] [main/INFO] [FML]: -- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_211, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 3609902464 bytes (3442 MB) / 4181590016 bytes (3987 MB) up to 4181590016 bytes (3987 MB)
    JVM Flags: 3 total; -Xincgc -Xmx4G -Xms4G
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 466.47' Renderer: 'NVIDIA GeForce RTX 3070/PCIe/SSE2'
[11:07:01] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[11:07:01] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[11:07:01] [main/INFO] [FML]: Replaced 1036 ore ingredients
[11:07:01] [main/INFO] [FML]: Searching C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[11:07:02] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[11:07:02] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, leki] at CLIENT
[11:07:02] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, leki] at SERVER
[11:07:03] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod leki
[11:07:03] [main/INFO] [FML]: Processing ObjectHolder annotations
[11:07:03] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[11:07:03] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[11:07:03] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[11:07:03] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[11:07:03] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[11:07:03] [main/INFO] [FML]: Applying holder lookups
[11:07:03] [main/INFO] [FML]: Holder lookups applied
[11:07:03] [main/INFO] [FML]: Applying holder lookups
[11:07:03] [main/INFO] [FML]: Holder lookups applied
[11:07:03] [main/INFO] [FML]: Applying holder lookups
[11:07:03] [main/INFO] [FML]: Holder lookups applied
[11:07:03] [main/INFO] [FML]: Applying holder lookups
[11:07:03] [main/INFO] [FML]: Holder lookups applied
[11:07:03] [main/INFO] [FML]: Injecting itemstacks
[11:07:03] [main/INFO] [FML]: Itemstack injection complete
[11:07:03] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 196006100 nanos
[11:07:04] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: OUTDATED Target: 14.23.5.2855
[11:07:06] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[11:07:06] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[11:07:06] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:07:06] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[11:07:06] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[11:07:10] [main/INFO] [FML]: Max texture size: 16384
[11:07:10] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[11:07:10] [main/ERROR] [FML]: Exception loading model for variant leki:item_rubis#inventory for item "leki:item_rubis", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model leki:item/item_rubis with loader VanillaLoader.INSTANCE, skipping
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:302) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:151) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: java.io.FileNotFoundException: leki:models/item/item_rubis.json
    at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:69) ~[FallbackResourceManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:334) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.access$1400(ModelLoader.java:115) ~[ModelLoader.class:?]
    at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:861) ~[ModelLoader$VanillaLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]
    ... 20 more
[11:07:10] [main/ERROR] [FML]: Exception loading model for variant leki:item_rubis#inventory for item "leki:item_rubis", blockstate location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model leki:item_rubis#inventory with loader VariantLoader.INSTANCE, skipping
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
    at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:296) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:175) ~[ModelBakery.class:?]
    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:151) ~[ModelLoader.class:?]
    at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?]
    at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
    at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?]
    at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1175) ~[ModelLoader$VariantLoader.class:?]
    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]
    ... 20 more
[11:07:11] [main/ERROR] [FML]: Parsing error loading recipe leki:block_tuto
com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 11 column 4 path $.key.#.item
    at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:439) ~[JsonUtils.class:?]
    at net.minecraft.util.JsonUtils.fromJson(JsonUtils.java:485) ~[JsonUtils.class:?]
    at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:708) ~[CraftingHelper.class:?]
    at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:822) ~[CraftingHelper.class:?]
    at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:668) ~[CraftingHelper.class:?]
    at java.util.ArrayList.forEach(ArrayList.java:1257) [?:1.8.0_211]
    at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:620) [CraftingHelper.class:?]
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 11 column 4 path $.key.#.item
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:491) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[TypeAdapters$35$1.class:?]
    at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:435) ~[JsonUtils.class:?]
    ... 23 more
[11:07:11] [main/INFO] [FML]: Applying holder lookups
[11:07:11] [main/INFO] [FML]: Holder lookups applied
[11:07:11] [main/INFO] [FML]: Injecting itemstacks
[11:07:11] [main/INFO] [FML]: Itemstack injection complete
[11:07:11] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[11:07:11] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[11:07:11] [main/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
[11:07:12] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id
[11:07:17] [Server thread/INFO] [minecraft/IntegratedServer]: Starting integrated minecraft server version 1.12.2
[11:07:17] [Server thread/INFO] [minecraft/IntegratedServer]: Generating keypair
[11:07:17] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[11:07:17] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world tuto:block_ore_tuto
[11:07:17] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world tuto:block_tuto
[11:07:17] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world modleki:block_tuto
[11:07:17] [Server thread/INFO] [FML]: Applying holder lookups
[11:07:17] [Server thread/INFO] [FML]: Holder lookups applied
[11:07:17] [Server thread/INFO] [FML]: Loading dimension 0 (New World) ([email protected])
[11:07:17] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 488 advancements
[11:07:17] [Server thread/INFO] [FML]: Loading dimension -1 (New World) ([email protected])
[11:07:18] [Server thread/INFO] [FML]: Loading dimension 1 (New World) ([email protected])
[11:07:18] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for level 0
[11:07:18] [Server thread/INFO] [FML]: Unloading dimension -1
[11:07:18] [Server thread/INFO] [FML]: Unloading dimension 1
[11:07:18] [Server thread/INFO] [minecraft/IntegratedServer]: Changing view distance to 12, from 10
[11:07:19] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[11:07:19] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[11:07:19] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
[11:07:19] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[11:07:19] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[11:07:19] [Server thread/INFO] [minecraft/PlayerList]: Player173[local:E:b775913c] logged in with entity id 115 at (-764.5139430720543, 5.054893347032071, 3.8505488408133424)
[11:07:19] [Server thread/INFO] [minecraft/MinecraftServer]: Player173 a rejoint la partie
[11:07:19] [Server thread/INFO] [minecraft/MinecraftServer]: Player173 a réalisé le progr?s [Bonne pioche !]
[11:07:20] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
[11:07:20] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
[11:07:20] [main/INFO] [minecraft/GuiNewChat]: [CHAT] Player173 a réalisé le progr?s [Bonne pioche !]
[11:07:20] [main/INFO] [minecraft/AdvancementList]: Loaded 18 advancements
[11:07:42] [main/INFO] [minecraft/GuiNewChat]: [CHAT] leki:block_ore_tuto, leki:block_rubis, leki:block_tuto, leki:item_rubis, leki:item_tuto
[11:07:43] [main/INFO] [minecraft/GuiNewChat]: [CHAT] leki:block_ore_tuto, leki:block_rubis, leki:block_tuto, leki:item_rubis, leki:item_tuto
[11:07:43] [main/INFO] [minecraft/GuiNewChat]: [CHAT] leki:block_ore_tuto, leki:block_rubis, leki:block_tuto, leki:item_rubis, leki:item_tuto
[11:07:44] [main/INFO] [minecraft/GuiNewChat]: [CHAT] leki:block_ore_tuto, leki:block_rubis, leki:block_tuto, leki:item_rubis, leki:item_tuto
[11:07:45] [Server thread/INFO] [minecraft/MinecraftServer]: [Player173 : Don de 1 [Rubis] ? Player173]
[11:07:45] [main/INFO] [minecraft/GuiNewChat]: [CHAT] Don de 1 [Rubis] ? Player173
[11:07:51] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
[11:07:51] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
[11:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[11:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[11:07:52] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Player173 lost connection: Déconnecté(e)
[11:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Player173 a quitté la partie
[11:07:52] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Stopping singleplayer server as player logged out
[11:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[11:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
[11:07:52] [Server thread/INFO] [FML]: Unloading dimension 0
[11:07:52] [Server thread/INFO] [FML]: Applying holder lookups
[11:07:52] [Server thread/INFO] [FML]: Holder lookups applied

Bien Cordialement,
Lordnatt
 

lordnatt

Nouveau
17 Mars 2021
14
0
1
21
Mais je crois que le problème vient de mon code que j'ai mal écrit car je n'est pas eu d'aide pour le faire du coup je l'ai fait a la rache .
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
18 834
78
2 888
347
24
Alsace
www.minecraftforgefrance.fr
Caused by: java.io.FileNotFoundException: leki:models/item/item_rubis.json

Ce fichier json est manquant.
 

lordnatt

Nouveau
17 Mars 2021
14
0
1
21
Salut tu avait raisson je me suis tromper a la place de item_rubis j'ai mis rubis :fou: mais après avoir lancer le jeux la textures ne veux toujours pas s'afficher :mad:pourtant j'ai bien changer le nom de models/item/item_rubis.json
maintenant voici le code quand je lance mon jeux
JavaScript:
[13:03:38] [main/INFO] [GradleStart]: Extra: []
[13:03:39] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/RTX/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[13:03:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[13:03:39] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[13:03:39] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_211\jre
[13:03:39] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[13:03:39] [main/ERROR] [FML]: Full: C:\Users\RTX\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[13:03:39] [main/ERROR] [FML]: Trimmed: c:/users/rtx/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[13:03:39] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[13:03:39] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2021-05-27 13:03:39,911 main WARN Disabling terminal, you're running in an unsupported environment.
[13:03:39] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[13:03:39] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[13:03:39] [main/INFO] [FML]: Searching C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[13:03:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:03:39] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[13:03:39] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[13:03:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[13:03:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:03:41] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[13:03:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[13:03:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[13:03:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[13:03:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:03:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[13:03:41] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[13:03:41] [main/INFO] [minecraft/Minecraft]: Setting user: Player320
[13:03:43] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[13:03:43] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[13:03:44] [main/INFO] [FML]: -- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_211, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 3655931384 bytes (3486 MB) / 4181590016 bytes (3987 MB) up to 4181590016 bytes (3987 MB)
    JVM Flags: 3 total; -Xincgc -Xmx4G -Xms4G
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 466.47' Renderer: 'NVIDIA GeForce RTX 3070/PCIe/SSE2'
[13:03:44] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[13:03:44] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[13:03:44] [main/INFO] [FML]: Replaced 1036 ore ingredients
[13:03:44] [main/INFO] [FML]: Searching C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[13:03:45] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[13:03:45] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, leki] at CLIENT
[13:03:45] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, leki] at SERVER
[13:03:46] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod leki
[13:03:46] [main/INFO] [FML]: Processing ObjectHolder annotations
[13:03:46] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[13:03:46] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[13:03:46] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[13:03:46] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[13:03:46] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[13:03:46] [main/INFO] [FML]: Applying holder lookups
[13:03:46] [main/INFO] [FML]: Holder lookups applied
[13:03:46] [main/INFO] [FML]: Applying holder lookups
[13:03:46] [main/INFO] [FML]: Holder lookups applied
[13:03:46] [main/INFO] [FML]: Applying holder lookups
[13:03:46] [main/INFO] [FML]: Holder lookups applied
[13:03:46] [main/INFO] [FML]: Applying holder lookups
[13:03:46] [main/INFO] [FML]: Holder lookups applied
[13:03:46] [main/INFO] [FML]: Injecting itemstacks
[13:03:46] [main/INFO] [FML]: Itemstack injection complete
[13:03:46] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 87817400 nanos
[13:03:47] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: OUTDATED Target: 14.23.5.2855
[13:03:49] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[13:03:49] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[13:03:49] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[13:03:49] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[13:03:49] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[13:03:53] [main/INFO] [FML]: Max texture size: 16384
[13:03:53] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[13:03:54] [main/ERROR] [FML]: Parsing error loading recipe leki:block_tuto
com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 11 column 4 path $.key.#.item
    at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:439) ~[JsonUtils.class:?]
    at net.minecraft.util.JsonUtils.fromJson(JsonUtils.java:485) ~[JsonUtils.class:?]
    at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:708) ~[CraftingHelper.class:?]
    at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:822) ~[CraftingHelper.class:?]
    at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:668) ~[CraftingHelper.class:?]
    at java.util.ArrayList.forEach(ArrayList.java:1257) [?:1.8.0_211]
    at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:620) [CraftingHelper.class:?]
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 11 column 4 path $.key.#.item
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:491) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[TypeAdapters$29.class:?]
    at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[TypeAdapters$35$1.class:?]
    at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:435) ~[JsonUtils.class:?]
    ... 23 more
[13:03:54] [main/INFO] [FML]: Applying holder lookups
[13:03:54] [main/INFO] [FML]: Holder lookups applied
[13:03:54] [main/INFO] [FML]: Injecting itemstacks
[13:03:54] [main/INFO] [FML]: Itemstack injection complete
[13:03:55] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[13:03:55] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[13:03:55] [main/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:   DOMAIN leki
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:   domain leki is missing 1 texture
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:     domain leki has 1 location:
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:       mod leki resources at C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\bin
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:     The missing resources for domain leki are:
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/items/item_rubis.png
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]:     No other errors exist for domain leki
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[13:03:55] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id

Bien Cordialement,
Lordnatt
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
18 834
78
2 888
347
24
Alsace
www.minecraftforgefrance.fr
Une fois de plus il ne trouve pas le fichier :
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: The missing resources for domain leki are:
[13:03:55] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/items/item_rubis.png
 

lordnatt

Nouveau
17 Mars 2021
14
0
1
21
Merci Robin
Désoler d'avoir perdue ton temp j'avais un 2 fichier item_rubis.json que j'ai oublier de renommer

Bien Cordialement,
Lordnatt