• Récent
  • Mots-clés
  • Populaire
  • Utilisateurs
  • Groupes
  • S'inscrire
  • Se connecter
  • S'inscrire
  • Se connecter
  • Recherche
  • Récent
  • Mots-clés
  • Populaire
  • Utilisateurs
  • Groupes

Créer un bloc basique

Les blocs
1.11.x 1.12.x
12
28
8.9k
Charger plus de messages
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • Pchom
    Pchom dernière édition par robin4002 29 nov. 2021, 01:09 27 févr. 2017, 13:41

    Sommaire

    • Introduction
    • Pré-requis
    • Code
      • La classe des blocs
      • La classe du bloc
      • La classe des items
      • La classe RegisteringHandler
      • Le modèle et la texture
    • Bonus
    • Résultat
    • Crédits

    Introduction

    Dans ce tutoriel, nous allons apprendre comment créer un bloc et lui attribuer une texture simplifiée.

    Pré-requis

    • Créer la base de son mod
    • Créer un item simple

    Code

    Tout d’abord, faites bien attention aux pré-requis. Vous allez devoir créer un item pour que le bloc soit entièrement créé dans le jeu, alors vous devez savoir créer un item simple !

    La classe des blocs :

    Nous allons créer une classe pour enregistrer tous nos blocs. Elle sera très petite, mais au moins, tout ne sera pas dans la classe principale. Vous devez la créer avec le nom [MODID]Blocks, en remplaçant [MODID] par votre modid, en commençant par une majuscule. Dans mon cas, ce sera TutorialBlocks.
    Voici donc la classe :

    public class TutorialBlocks
    {
    // Nous allons ici créer nos blocs.
    public static void setBlockName(Block block, String name)
    {
    // Nous allons ici définir le nom dans le registre du bloc, et son nom non-localisé.
    }
    }

    Pour créer un bloc, nous allons procéder de cette manière :

    public static final Block NOM = new ClasseDuBloc(Material);
    

    Il faut remplacer NOM par le nom de votre variable qui, comme pour les items, doit être entièrement en MAJUSCULE et les espaces remplacés par des underscores _.
    ClasseDuBloc est le nom de la classe du bloc, que nous allons créer après, et Material est le matériau que vous souhaitez utiliser. J’utiliserai pour ce tutoriel Material.ROCK.

    Chaque matériau possède ses propres attributs :

    • replaceable - Détermine si le bloc peut être remplacé par d’autres blocs lorsqu’ils sont posés, par exemple, la neige, l’herbe, …
    • isTranslucent - Détermine si le bloc est translucide.
    • requiresNoTool - Détermine si le bloc peut être cassé sans outil, ou avec le mauvais outil.
    • mobilityFlag - Peut prendre 3 valeurs :
      • 0, qui veut dire que le bloc est normal. (=EnumPushReaction.NORMAL)
      • 1, qui veut dire que le bloc ne peut pas pousser d’autres blocs. (=EnumPushReaction.DESTROY)
      • 2, qui signifie que le bloc ne peut pas être poussé. (=EnumPushReaction.BLOCK)
    • canBurn - Détermine si le bloc peut brûler.

    Vous pouvez créer vos propres matériaux, mais je ne vous apprendrais pas comment le faire dans ce tutoriel. Je vous conseille d’ailleurs d’aller fouiller dans la classe Material, vous pourrez mieux comprendre comment sont faits les matériaux.

    Et donc, le contenu de setBlockName :

    public static void setBlockName(Block block, String name)
    {
    block.setRegistryName(ClassePrincipale.MODID, name).setUnlocalizedName(ClassePrincipale.MODID + "." + name);
    }

    N’oubliez pas de remplacer ClassePrincipale par le nom de votre classe principale.

    Voici donc ce que vous devez obtenir (avec des noms probablement différents) :

    public class TutorialBlocks
    {
    public static final Block TUTORIAL = new TutorialBlock(Material.ROCK);
    public static void setBlockName(Block block, String name)
    {
    block.setRegistryName(ModTutorial.MODID, name).setUnlocalizedName(ModTutorial.MODID + "." + name);
    }
    }

    La classe du bloc :

    Maintenant que vous avez fait ce qu’il fallait dans la classe des blocs, nous allons créer la classe du bloc.
    Vous pouvez l’appeler comme vous voulez, personnellement, j’ai opté pour TutorialBlock.

    Nous allons avoir besoin de définir deux choses.

        public static final string NAME = "tutorial_block";
    

    Nous allons utiliser NAME par la suite. “tutorial_block” sera le nom utilisé pour enregistrer le bloc dans le registre mais aussi pour le nom non-localisé, qui sera sous la forme “modid.NAME”. N’oubliez pas qu’il est conseillé que la valeur de NAME soit entièrement en minuscules, et que les espaces doivent être remplacés par des underscores.

    Ensuite, nous allons définir le constructeur :

    public TutorialBlock(Material material)
    {
    super(material);
    TutorialBlocks.setBlockName(this, NAME);
    setResistance(5.0F);
    setHardness(3.0F);
    setCreativeTab(CreativeTabs.BUILDING_BLOCKS);
    }

    La première ligne sert à appeler le constructeur parent, la seconde appelle notre fonction setBlockName que nous avons définie plus haut, avec comme bloc this et comme nom NAME. setResistance définit la résistance du bloc, c’est la résistance aux explosions. setHardness définit la vitesse de minage du bloc et setCreativeTab sert à choisir dans quel onglet on enregistre le bloc. Ici, nous l’enregistrons dans le premier onglet, où tous les blocs de construction sont présents.

    Nous en avons terminé avec le bloc. Bien sûr, vous pouvez lui donner d’autres fonctions, mais le but ici est de faire un bloc basique.

    La classe des items :

    Pour avoir l’objet dans l’inventaire, il faut avoir un Item. Nous allons donc retourner dans la classe où nous enregistrons nos items.
    À la suite de la définition de vos items, ajoutez cette ligne :

    public static final Item BLOCK_NOMDELOBJET_ITEM = new ItemBlock([MODID]Blocks.NOM).setRegistryName([MODID]Blocks.NOM.getRegistryName());
    

    Nous créons un nouvel Item de la classe ItemBlock. C’est la classe utilisée pour définir les items qui correspondent à un bloc. Nous lui donnons comme paramètre le bloc que nous avons précédemment créé, et nous lui donnons comme nom de registre le même nom que celui que nous avons attribué à notre bloc.
    Vous devez remplacer NOMDELOBJET par le nom de votre objet, [MODID] par votre modid, en commençant par une majuscule (c’est la classe où nous avons créé notre bloc) et NOM par le nom que vous avez donné à la variable dans la classe des blocs.

    Voici ce que ça donne, pour moi :

    public static final Item BLOCK_TUTORIAL_ITEM = new ItemBlock(TutorialBlocks.TUTORIAL).setRegistryName(TutorialBlocks.TUTORIAL.getRegistryName());
    

    Ensuite, dans la fonction registerItemModels(), ajoutez cette ligne :

    registerModel(BLOCK_NOMDELOBJET_ITEM, 0);
    

    N’oubliez pas de modifier le nom de la variable.

    Nous en avons terminé avec la création de l’item.

    La classe RegisteringHandler :

    Maintenant que nous en avons terminé avec la création de l’objet et de son item, nous allons devoir les enregistrer.
    Nous allons commencer avec l’enregistrement de l’item. Placez-vous dans la fonction registerItems. Vous devriez avoir cette ligne :

    event.getRegistry.registerAll(TutorialItems.TUTORIAL);
    

    Modifiez-là comme ceci :

    event.getRegistry.registerAll(TutorialItems.TUTORIAL, TutorialItems.BLOCK_TUTORIAL_ITEM);
    

    Si les noms de votre classe et de vos items sont différents, n’oubliez pas de les modifier.

    Nous allons maintenant enregistrer le bloc.

    @SubscribeEvent
    public void registerBlocks(RegistryEvent.Register<Block> event)
    {
    event.getRegistry.registerAll(TutorialBlocks.TUTORIAL);
    }

    Encore une fois, modifiez les noms que vous avez précédemment définis.
    Dans l’ordre de l’enregistrement, les blocs seront enregistrés avant les items, c’est pourquoi je vous conseille d’écrire cette fonction avant celle pour l’enregistrement des items, comme ceci :

    public class RegisteringHandler
    {
    @SubscribeEvent
    public void registerBlocks(RegistryEvent.Register <block>event)
    {
    event.getRegistry().registerAll(TutorialBlocks.TUTORIAL);
    }
    @SubscribeEvent
    public void registerItems(RegistryEvent.Register event)
    {
    event.getRegistry().registerAll(TutorialItems.TUTORIAL, TutorialItems.BLOCK_TUTORIAL_ITEM);
    }
    }

    Vous pouvez ouvrir le jeu, le bloc existe ! Mais… il a quelques bugs, que ça soit au niveau de l’item ou du bloc. Il faut régler ça.

    Le modèle et la texture :

    Vous vous rappelez du contenu de NAME, que nous avons défini dans la classe du bloc ? Notez-le bien, nous allons l’utiliser.
    Vous allez vous placer dans le dossier resources/assets/modid/blockstates. Remplacez modid par votre modid, évidemment.

    Nous allons créer un fichier nomdubloc.json, en remplaçant nomdubloc par le contenu de la variable NAME. Par la suite, à chaque fois que vous voyez nomdubloc, n’oubliez pas de le modifier.

    {
    "variants": {
    "normal": {
    "model": "modid:nomdubloc"
    }
    }
    }

    Nous n’avons besoin que de ce code. N’oubliez pas de modifier modid et nomdubloc. Nous allons donc créer le modèle que nous appelons. Il se trouve dans le dossier resources/assets/modid/models/block, et il s’appelle nomdubloc.json, lui aussi.

    {
    "parent": "block/cube_all",
    "textures": {
    "all": "modid:blocks/nomdubloc"
    }
    }

    Nous définissons ici la texture, qui devra se trouver dans le dossier resources/assets/modid/textures/blocks.
    Nous devons également définir le modèle de l’item, qui peut être différent de celui du bloc. Il se trouve dans resources/assets/modid/models/item. Définissez-le comme ceci :

    {
    "parent": "modid:block/nomdubloc"
    }

    Ici, nous ne faisons qu’utiliser le modèle du bloc, nous n’y apportons aucune modification.

    Dans vos fichiers de langue, ajoutez cette ligne :

    tile.modid.nomdubloc.name=Nom du bloc
    

    Remplacez modid par votre modid et nomdubloc par la valeur de NAME que nousa vons définie dans la classe du bloc.

    Vous pouvez lancer le jeu, en ayant placé la texture dans son dossier, et hop ! Tout est fonctionnel !

    Vous avez donc créé votre premier bloc, un bloc certes, basique, mais un bloc tout de même !

    Bonus

    Pour aller plus loin, car je ne montre ici que des modèles et textures basiques, vous pouvez consulter ce tutoriel.

    Résultat

    0_1529094783954_tutoriel bloc.png

    Crédits

    Rédaction :

    • @Pchom

    Correction :

    Inspiration :

    • Diangle - Créer un bloc basique [1.8]

    Creative Commons
    Ce tutoriel de Minecraft Forge France est mis à disposition selon les termes de la licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International

    retourRetour vers le sommaire des tutoriels

    > *Si vous ne pouvez expliquer un concept à un enfant de six ans, c’est que vous ne le comprenez pas c…

    1 réponse Dernière réponse Répondre Citer 0
    • A
      aypristyle dernière édition par 10 juin 2017, 15:02

      Bonjour Pchom,

      Je trouve ton tutoriel très bien fait.
      Je crois juste qu’il y a un petit oubli lors de la création de la classe de ton bloc tu as oublié de dire qu’il fallait que cette classe hérite de la classe minecraft block 😉
      Et j’aimrai savoir que dois-je mettre pour que lorsque le bloc est cassé il drop un minerai (comme avec le diamant ou la redstone par exemple)

      **Je suis un membre apprécié et joueur, j'ai déjà obtenu 1[ point de réputation./…

      1 réponse Dernière réponse Répondre Citer 0
      • MrCupCakeMonster
        MrCupCakeMonster dernière édition par 18 juin 2017, 22:40

        Salut, tu as juste à rajouter ceci dans la classe de ton bloc

           @Override
           public Item getItemDropped(IBlockState state, Random rand, int fortune)
           {
               return taClasseDItem.tonItem
           }

        Mes tutos :

        >! Un item mangeable
        [url=http://www.minecraftforgefranc…

        1 réponse Dernière réponse Répondre Citer 0
        • Gollum1er
          Gollum1er dernière édition par 13 avr. 2019, 18:12

          J’ai pas de texture sur mon block xd Cette partie n’est pas claire dans le tuto

          My name is Gollum1er :)

          1 réponse Dernière réponse Répondre Citer 0
          • John_71
            John_71 dernière édition par John_71 6 oct. 2019, 07:52 6 oct. 2019, 07:51

            Moi aucune texture ne s’affiche sur mes blocs dans l’inventaire
            (J’ai forge 1.12.2-14.23.5.2838)

            • Maintient des mods et modpacks en `1.18.2`
            • Je suis un membre apprécié et joueur, j'ai déjà obtenu 2 points de réputation.

            1 réponse Dernière réponse Répondre Citer 0
            • robin4002
              robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 6 oct. 2019, 08:38

              Bonjour,
              Peux-tu envoyer les logs de ton jeu ?

              1 réponse Dernière réponse Répondre Citer 0
              • John_71
                John_71 dernière édition par John_71 6 oct. 2019, 09:20 6 oct. 2019, 09:19

                [11:15:49] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                [11:15:49] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                [11:15:49] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
                [11:15:49] [main/INFO]: Forge Mod Loader version 14.23.5.2838 for Minecraft 1.12.2 loading
                [11:15:49] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\jorda\Twitch\Minecraft\Install\runtime\jre-x64
                [11:15:50] [main/INFO]: Searching C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\mods for mods
                [11:15:50] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                [11:15:50] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                [11:15:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                [11:15:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                [11:15:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                [11:15:54] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
                [11:15:54] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
                [11:15:54] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                [11:15:54] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                [11:15:55] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
                [11:15:55] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
                [11:15:55] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                [11:15:59] [Client thread/INFO]: Setting user: JohnProgammer71
                [11:16:08] [Client thread/WARN]: Skipping bad option: lastServer:
                [11:16:08] [Client thread/INFO]: LWJGL Version: 2.9.4
                [11:16:11] [Client thread/INFO]: -- System Details --
                Details:
                Minecraft Version: 1.12.2
                Operating System: Windows 10 (amd64) version 10.0
                Java Version: 1.8.0_51, Oracle Corporation
                Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                Memory: 862959328 bytes (822 MB) / 1136656384 bytes (1084 MB) up to 6442450944 bytes (6144 MB)
                JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6912m -Xms256m -XX:PermSize=256m
                IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                FML:
                Loaded coremods (and transformers):
                GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.14568 Compatibility Profile Context 24.20.12042.2003' Renderer: 'AMD Radeon(TM) R5 Graphics'
                [11:16:11] [Client thread/INFO]: MinecraftForge v14.23.5.2838 Initialized
                [11:16:11] [Client thread/INFO]: Starts to replace vanilla recipe ingredients with ore ingredients.
                [11:16:12] [Client thread/INFO]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
                [11:16:12] [Client thread/INFO]: Replaced 1227 ore ingredients
                [11:16:14] [Client thread/INFO]: Searching C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\mods for mods
                [11:16:18] [Client thread/WARN]: Mod codechickenlib is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 3.2.3.358
                [11:16:19] [Client thread/WARN]: Mod craftingtweaks is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 8.1.9
                [11:16:19] [Client thread/WARN]: Mod realdrops is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.2.14
                [11:16:20] [Thread-3/INFO]: Using sync timing. 200 frames of Display.update took 952163700 nanos
                [11:16:21] [Client thread/WARN]: Mod voidislandcontrol is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.5.3
                [11:16:21] [Client thread/INFO]: Forge Mod Loader has identified 23 mods to load
                [11:16:22] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, codechickenlib, cofhcore, cofhworld, compressed, controlling, craftingtweaks, fastleafdecay, jei, recipehandler, norecipebook, realdrops, redstoneflux, theoneprobe, thermaldynamics, thermalexpansion, thermalfoundation, tp, ts2k16, voidislandcontrol] at CLIENT
                [11:16:22] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, codechickenlib, cofhcore, cofhworld, compressed, controlling, craftingtweaks, fastleafdecay, jei, recipehandler, norecipebook, realdrops, redstoneflux, theoneprobe, thermaldynamics, thermalexpansion, thermalfoundation, tp, ts2k16, voidislandcontrol] at SERVER
                [11:16:28] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:CodeChicken Lib, FMLFileResourcePack:CoFH Core, FMLFileResourcePack:CoFH World, FMLFileResourcePack:Compressed, FMLFileResourcePack:Controlling, FMLFileResourcePack:Crafting Tweaks, FMLFileResourcePack:Fast Leaf Decay, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:NoMoreRecipeConflict, FMLFileResourcePack:No Recipe Book, FMLFileResourcePack:Realistic Item Drops, FMLFileResourcePack:Redstone Flux, FMLFileResourcePack:The One Probe, FMLFileResourcePack:Thermal Dynamics, FMLFileResourcePack:Thermal Expansion, FMLFileResourcePack:Thermal Foundation, FMLFileResourcePack:Tiny Progressions, FMLFileResourcePack:Twerk-Sim 2K16, FMLFileResourcePack:Void Island Control, Faithful 1.12.2-rv4.zip
                [11:16:29] [Client thread/INFO]: Processing ObjectHolder annotations
                [11:16:29] [Client thread/INFO]: Found 1169 ObjectHolder annotations
                [11:16:29] [Client thread/INFO]: Identifying ItemStackHolder annotations
                [11:16:29] [Client thread/INFO]: Found 0 ItemStackHolder annotations
                [11:16:30] [Client thread/INFO]: Configured a dormant chunk cache size of 0
                [11:16:30] [Forge Version Check/INFO]: [cofhworld] Starting version check at https://raw.github.com/cofh/version/master/cofhworld_update.json
                [11:16:32] [Forge Version Check/INFO]: [cofhworld] Found status: UP_TO_DATE Target: null
                [11:16:32] [Forge Version Check/INFO]: [thermalfoundation] Starting version check at https://raw.github.com/cofh/version/master/thermalfoundation_update.json
                [11:16:33] [Forge Version Check/INFO]: [thermalfoundation] Found status: UP_TO_DATE Target: null
                [11:16:33] [Forge Version Check/INFO]: [codechickenlib] Starting version check at http://chickenbones.net/Files/notification/version.php?query=forge&version=1.12&file=CodeChickenLib
                [11:16:33] [Client thread/INFO]: Registering default Feature Templates...
                [11:16:33] [Forge Version Check/INFO]: [codechickenlib] Found status: BETA Target: null
                [11:16:33] [Forge Version Check/INFO]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                [11:16:33] [Client thread/INFO]: Registering default World Generators...
                [11:16:33] [Forge Version Check/INFO]: [forge] Found status: OUTDATED Target: 14.23.5.2847
                [11:16:33] [Forge Version Check/INFO]: [thermalexpansion] Starting version check at https://raw.github.com/cofh/version/master/thermalexpansion_update.json
                [11:16:33] [Client thread/INFO]: Verifying or creating base world generation directory...
                [11:16:33] [Client thread/INFO]: Complete.
                [11:16:34] [Forge Version Check/INFO]: [thermalexpansion] Found status: UP_TO_DATE Target: null
                [11:16:34] [Forge Version Check/INFO]: [fastleafdecay] Starting version check at http://www.olafkeijsers.net/fastleafdecay-update.json
                [11:16:34] [Forge Version Check/INFO]: [fastleafdecay] Found status: UP_TO_DATE Target: null
                [11:16:34] [Forge Version Check/INFO]: [cofhcore] Starting version check at https://raw.github.com/cofh/version/master/cofhcore_update.json
                [11:16:34] [Forge Version Check/INFO]: [cofhcore] Found status: UP_TO_DATE Target: null
                [11:16:34] [Forge Version Check/INFO]: [thermaldynamics] Starting version check at https://raw.github.com/cofh/version/master/thermaldynamics_update.json
                [11:16:34] [Forge Version Check/INFO]: [thermaldynamics] Found status: UP_TO_DATE Target: null
                [11:16:35] [Client thread/INFO]: The One Probe Detected RedstoneFlux: enabling support
                [11:16:41] [Client thread/INFO]: OBJLoader: Domain voidislandcontrol has been added.
                [11:16:41] [Client thread/INFO]: Applying holder lookups
                [11:16:41] [Client thread/INFO]: Holder lookups applied
                [11:16:42] [Client thread/INFO]: Applying holder lookups
                [11:16:42] [Client thread/INFO]: Holder lookups applied
                [11:16:42] [Client thread/INFO]: Applying holder lookups
                [11:16:42] [Client thread/INFO]: Holder lookups applied
                [11:16:42] [Client thread/INFO]: Applying holder lookups
                [11:16:42] [Client thread/INFO]: Holder lookups applied
                [11:16:42] [Client thread/INFO]: Injecting itemstacks
                [11:16:42] [Client thread/INFO]: Itemstack injection complete
                [11:16:46] [Sound Library Loader/INFO]: Starting up SoundSystem...
                [11:16:47] [Thread-5/INFO]: Initializing LWJGL OpenAL
                [11:16:47] [Thread-5/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
                [11:16:50] [Thread-5/INFO]: OpenAL initialized.
                [11:16:50] [Sound Library Loader/INFO]: Sound engine started
                [11:17:03] [Client thread/INFO]: Max texture size: 16384
                [11:17:09] [Client thread/INFO]: Created: 2048x1024 textures-atlas
                [11:17:19] [Client thread/INFO]: Applying holder lookups
                [11:17:19] [Client thread/INFO]: Holder lookups applied
                [11:17:20] [Client thread/INFO]: Created: 256x128 textures-atlas
                [11:17:20] [Client thread/INFO]: Injecting itemstacks
                [11:17:20] [Client thread/INFO]: Itemstack injection complete
                [11:17:21] [Client thread/INFO]: Thermal Expansion: The One Probe Plugin Enabled.
                [11:17:22] [Client thread/INFO]: CoFH Core: Load Complete.
                [11:17:22] [Client thread/INFO]: Accumulating world generation files from: "C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\config\cofh\world"
                [11:17:22] [Client thread/INFO]: Found a total of 3 world generation files.
                [11:17:25] [Client thread/INFO]: Reading world generation info from: "cofh\world\01_thermalfoundation_ores.json":
                [11:17:26] [Client thread/INFO]: Reading world generation info from: "cofh\world\02_thermalfoundation_oil.json":
                [11:17:26] [Client thread/INFO]: Reading world generation info from: "cofh\world\03_thermalfoundation_clathrates.json":
                [11:17:26] [Client thread/INFO]: CoFH World: Load Complete.
                [11:17:26] [Client thread/INFO]: Starting JEI...
                [11:17:26] [Client thread/INFO]: Registering recipe categories...
                [11:17:27] [Client thread/INFO]: Registering recipe categories took 915.7 ms
                [11:17:27] [Client thread/INFO]: Registering mod plugins...
                [11:17:28] [Client thread/INFO]: Registering mod plugins took 1.039 s
                [11:17:28] [Client thread/INFO]: Building recipe registry...
                [11:17:30] [Client thread/INFO]: Building recipe registry took 1.114 s
                [11:17:30] [Client thread/INFO]: Building ingredient list...
                [11:17:30] [Client thread/INFO]: Building ingredient list took 152.1 ms
                [11:17:30] [Client thread/INFO]: Building ingredient filter...
                [11:17:30] [Client thread/INFO]: Building ingredient filter took 603.8 ms
                [11:17:30] [Client thread/INFO]: Building bookmarks...
                [11:17:30] [Client thread/INFO]: Building bookmarks took 5.794 ms
                [11:17:30] [Client thread/INFO]: Building runtime...
                [11:17:31] [Client thread/INFO]: Building runtime took 256.8 ms
                [11:17:31] [Client thread/INFO]: Starting JEI took 5.018 s
                [11:17:31] [Client thread/INFO]: [Whitelist] Reading established Whitelist from file.
                [11:17:31] [Client thread/INFO]: Thermal Foundation: Load Complete.
                [11:17:31] [Client thread/INFO]: Thermal Expansion: Load Complete.
                [11:17:31] [Client thread/INFO]: Thermal Dynamics: Load Complete.
                [11:17:33] [Client thread/INFO]: Forge Mod Loader has successfully loaded 23 mods
                [11:17:33] [Client thread/WARN]: Skipping bad option: lastServer:
                [11:17:33] [Client thread/INFO]: Narrator library for x64 successfully loaded
                [11:17:33] [Client thread/ERROR]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                [11:17:33] [Client thread/ERROR]: The following texture errors were found.
                [11:17:33] [Client thread/ERROR]: ==================================================
                [11:17:33] [Client thread/ERROR]: DOMAIN compressed
                [11:17:33] [Client thread/ERROR]: --------------------------------------------------
                [11:17:34] [Client thread/ERROR]: domain compressed is missing 1 texture
                [11:17:34] [Client thread/ERROR]: domain compressed has 1 location:
                [11:17:34] [Client thread/ERROR]: mod compressed resources at C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\mods\Compressed-1.12.2-0.0.0.jar
                [11:17:34] [Client thread/ERROR]: -------------------------
                [11:17:34] [Client thread/ERROR]: The missing resources for domain compressed are:
                [11:17:34] [Client thread/ERROR]: textures/blocks/crusher.png
                [11:17:34] [Client thread/ERROR]: -------------------------
                [11:17:34] [Client thread/ERROR]: No other errors exist for domain compressed
                [11:17:34] [Client thread/ERROR]: ==================================================
                [11:17:34] [Client thread/ERROR]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                [11:17:41] [Server thread/INFO]: Starting integrated minecraft server version 1.12.2
                [11:17:41] [Server thread/INFO]: Generating keypair
                [11:17:41] [Server thread/INFO]: Injecting existing registry data into this server instance
                [11:17:42] [Server thread/INFO]: Applying holder lookups
                [11:17:42] [Server thread/INFO]: Holder lookups applied
                [11:17:42] [Server thread/INFO]: Loading dimension 0 (modmaker 280919 0931) (net.minecraft.server.integrated.IntegratedServer@78dd8159)
                [11:17:43] [Server thread/INFO]: Loaded 488 advancements
                [11:17:44] [Server thread/INFO]: Loading dimension -1 (modmaker 280919 0931) (net.minecraft.server.integrated.IntegratedServer@78dd8159)
                [11:17:44] [Server thread/INFO]: Loading dimension 1 (modmaker 280919 0931) (net.minecraft.server.integrated.IntegratedServer@78dd8159)
                [11:17:44] [Server thread/INFO]: Preparing start region for level 0
                [11:17:44] [Server thread/INFO]: Registering Void Island Control commands.
                [11:17:44] [Server thread/INFO]: Finished registering Void Island Control commands.
                [11:17:45] [Server thread/INFO]: Unloading dimension -1
                [11:17:45] [Server thread/INFO]: Unloading dimension 1
                [11:17:48] [Netty Local Client IO #0/INFO]: Server protocol version 2
                [11:17:48] [Netty Server IO #1/INFO]: Client protocol version 2
                [11:17:48] [Netty Server IO #1/INFO]: Client attempting to join with 23 mods : minecraft@1.12.2,ts2k16@1.2.10,FML@8.0.99.99,theoneprobe@1.4.28,thermalexpansion@5.5.4,thermaldynamics@2.5.5,realdrops@1.2.14,redstoneflux@2.1.0,norecipebook@1.2.1,cofhworld@1.3.1,recipehandler@0.13,jei@4.15.0.268,voidislandcontrol@1.5.3,cofhcore@4.6.3,forge@14.23.5.2838,thermalfoundation@2.6.3,codechickenlib@3.2.3.358,fastleafdecay@v14,mcp@9.42,compressed@0.0.0,tp@3.2.34,controlling@3.0.7,craftingtweaks@8.1.9
                [11:17:48] [Netty Server IO #1/INFO]: Skipping config sync, No mods have registered a syncable config.
                [11:17:48] [Netty Local Client IO #0/INFO]: [Netty Local Client IO #0] Client side modded connection established
                [11:17:48] [Server thread/INFO]: [Server thread] Server side modded connection established
                [11:17:48] [Server thread/INFO]: JohnProgammer71[local:E:2d432cc8] logged in with entity id 1 at (-9999.62652006483, 8.0, -9998.618086653)
                [11:17:48] [Server thread/INFO]: JohnProgammer71 joined the game
                [11:17:50] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2200ms behind, skipping 44 tick(s)
                [11:17:54] [Server thread/INFO]: Saving and pausing game...
                [11:17:54] [Server thread/INFO]: Saving chunks for level 'modmaker 280919 0931'/overworld
                [11:17:55] [Client thread/INFO]: Loaded 100 advancements

                Je vois rien de spécial, pourtant aucune texture aux blocs dans l’inventaire

                • Maintient des mods et modpacks en `1.18.2`
                • Je suis un membre apprécié et joueur, j'ai déjà obtenu 2 points de réputation.

                1 réponse Dernière réponse Répondre Citer 0
                • robin4002
                  robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 6 oct. 2019, 09:56

                  [11:17:34] [Client thread/ERROR]: domain compressed is missing 1 texture
                  [11:17:34] [Client thread/ERROR]: domain compressed has 1 location:
                  [11:17:34] [Client thread/ERROR]: mod compressed resources at C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\mods\Compressed-1.12.2-0.0.0.jar
                  [11:17:34] [Client thread/ERROR]: -------------------------
                  [11:17:34] [Client thread/ERROR]: The missing resources for domain compressed are:
                  [11:17:34] [Client thread/ERROR]: textures/blocks/crusher.png

                  C’est bien celle-ci ta texture ?
                  Tu peux montrer le dossier src/main/resources avec la texture visible ?

                  1 réponse Dernière réponse Répondre Citer 0
                  • John_71
                    John_71 dernière édition par John_71 16 oct. 2019, 15:18 16 oct. 2019, 15:16

                    Toujours pas de textures, pourtant j’ai corrigé les problèmes de fichiers manquants/mal orthographiés

                    Les logs si besoin:

                    [17:03:07] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                    [17:03:07] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                    [17:03:07] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
                    [17:03:07] [main/INFO]: Forge Mod Loader version 14.23.5.2838 for Minecraft 1.12.2 loading
                    [17:03:07] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\jorda\Twitch\Minecraft\Install\runtime\jre-x64
                    [17:03:07] [main/INFO]: Searching C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\mods for mods
                    [17:03:07] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                    [17:03:07] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                    [17:03:07] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                    [17:03:07] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                    [17:03:07] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                    [17:03:12] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
                    [17:03:12] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
                    [17:03:12] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                    [17:03:12] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                    [17:03:13] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
                    [17:03:13] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
                    [17:03:13] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                    [17:03:16] [Client thread/INFO]: Setting user: JohnProgammer71
                    [17:03:24] [Client thread/WARN]: Skipping bad option: lastServer:
                    [17:03:24] [Client thread/INFO]: LWJGL Version: 2.9.4
                    [17:03:26] [Client thread/INFO]: -- System Details --
                    Details:
                    Minecraft Version: 1.12.2
                    Operating System: Windows 10 (amd64) version 10.0
                    Java Version: 1.8.0_51, Oracle Corporation
                    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                    Memory: 542476336 bytes (517 MB) / 795869184 bytes (759 MB) up to 6442450944 bytes (6144 MB)
                    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6912m -Xms256m -XX:PermSize=256m
                    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                    FML:
                    Loaded coremods (and transformers):
                    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.14568 Compatibility Profile Context 24.20.12042.2003' Renderer: 'AMD Radeon(TM) R5 Graphics'
                    [17:03:26] [Client thread/INFO]: MinecraftForge v14.23.5.2838 Initialized
                    [17:03:26] [Client thread/INFO]: Starts to replace vanilla recipe ingredients with ore ingredients.
                    [17:03:26] [Client thread/INFO]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
                    [17:03:26] [Client thread/INFO]: Replaced 1227 ore ingredients
                    [17:03:28] [Client thread/INFO]: Searching C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\mods for mods
                    [17:03:31] [Client thread/WARN]: Mod codechickenlib is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 3.2.3.358
                    [17:03:32] [Client thread/WARN]: Mod craftingtweaks is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 8.1.9
                    [17:03:33] [Client thread/WARN]: Mod voidislandcontrol is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.5.3
                    [17:03:33] [Client thread/INFO]: Forge Mod Loader has identified 22 mods to load
                    [17:03:33] [Thread-3/INFO]: Using sync timing. 200 frames of Display.update took 913860803 nanos
                    [17:03:34] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, codechickenlib, cofhcore, cofhworld, compressed, controlling, craftingtweaks, fastleafdecay, jei, recipehandler, norecipebook, redstoneflux, theoneprobe, thermaldynamics, thermalexpansion, thermalfoundation, tp, ts2k16, voidislandcontrol] at CLIENT
                    [17:03:34] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, codechickenlib, cofhcore, cofhworld, compressed, controlling, craftingtweaks, fastleafdecay, jei, recipehandler, norecipebook, redstoneflux, theoneprobe, thermaldynamics, thermalexpansion, thermalfoundation, tp, ts2k16, voidislandcontrol] at SERVER
                    [17:03:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:CodeChicken Lib, FMLFileResourcePack:CoFH Core, FMLFileResourcePack:CoFH World, FMLFileResourcePack:Compressed, FMLFileResourcePack:Controlling, FMLFileResourcePack:Crafting Tweaks, FMLFileResourcePack:Fast Leaf Decay, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:NoMoreRecipeConflict, FMLFileResourcePack:No Recipe Book, FMLFileResourcePack:Redstone Flux, FMLFileResourcePack:The One Probe, FMLFileResourcePack:Thermal Dynamics, FMLFileResourcePack:Thermal Expansion, FMLFileResourcePack:Thermal Foundation, FMLFileResourcePack:Tiny Progressions, FMLFileResourcePack:Twerk-Sim 2K16, FMLFileResourcePack:Void Island Control, Faithful 1.12.2-rv4.zip
                    [17:03:41] [Client thread/INFO]: Processing ObjectHolder annotations
                    [17:03:41] [Client thread/INFO]: Found 1169 ObjectHolder annotations
                    [17:03:41] [Client thread/INFO]: Identifying ItemStackHolder annotations
                    [17:03:41] [Client thread/INFO]: Found 0 ItemStackHolder annotations
                    [17:03:41] [Client thread/INFO]: Configured a dormant chunk cache size of 0
                    [17:03:42] [Forge Version Check/INFO]: [thermaldynamics] Starting version check at https://raw.github.com/cofh/version/master/thermaldynamics_update.json
                    [17:03:44] [Forge Version Check/INFO]: [thermaldynamics] Found status: UP_TO_DATE Target: null
                    [17:03:44] [Forge Version Check/INFO]: [codechickenlib] Starting version check at http://chickenbones.net/Files/notification/version.php?query=forge&version=1.12&file=CodeChickenLib
                    [17:03:44] [Client thread/INFO]: Registering default Feature Templates...
                    [17:03:45] [Forge Version Check/INFO]: [codechickenlib] Found status: BETA Target: null
                    [17:03:45] [Forge Version Check/INFO]: [cofhcore] Starting version check at https://raw.github.com/cofh/version/master/cofhcore_update.json
                    [17:03:45] [Client thread/INFO]: Registering default World Generators...
                    [17:03:45] [Forge Version Check/INFO]: [cofhcore] Found status: UP_TO_DATE Target: null
                    [17:03:45] [Forge Version Check/INFO]: [thermalexpansion] Starting version check at https://raw.github.com/cofh/version/master/thermalexpansion_update.json
                    [17:03:45] [Forge Version Check/INFO]: [thermalexpansion] Found status: UP_TO_DATE Target: null
                    [17:03:45] [Forge Version Check/INFO]: [cofhworld] Starting version check at https://raw.github.com/cofh/version/master/cofhworld_update.json
                    [17:03:45] [Client thread/INFO]: Verifying or creating base world generation directory...
                    [17:03:45] [Client thread/INFO]: Complete.
                    [17:03:45] [Forge Version Check/INFO]: [cofhworld] Found status: UP_TO_DATE Target: null
                    [17:03:45] [Forge Version Check/INFO]: [fastleafdecay] Starting version check at http://www.olafkeijsers.net/fastleafdecay-update.json
                    [17:03:45] [Client thread/INFO]: The One Probe Detected RedstoneFlux: enabling support
                    [17:03:45] [Forge Version Check/INFO]: [fastleafdecay] Found status: UP_TO_DATE Target: null
                    [17:03:45] [Forge Version Check/INFO]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                    [17:03:46] [Forge Version Check/INFO]: [forge] Found status: OUTDATED Target: 14.23.5.2847
                    [17:03:46] [Forge Version Check/INFO]: [thermalfoundation] Starting version check at https://raw.github.com/cofh/version/master/thermalfoundation_update.json
                    [17:03:46] [Forge Version Check/INFO]: [thermalfoundation] Found status: UP_TO_DATE Target: null
                    [17:03:52] [Client thread/INFO]: OBJLoader: Domain voidislandcontrol has been added.
                    [17:03:52] [Client thread/INFO]: Applying holder lookups
                    [17:03:52] [Client thread/INFO]: Holder lookups applied
                    [17:03:52] [Client thread/INFO]: Applying holder lookups
                    [17:03:52] [Client thread/INFO]: Holder lookups applied
                    [17:03:52] [Client thread/INFO]: Applying holder lookups
                    [17:03:52] [Client thread/INFO]: Holder lookups applied
                    [17:03:52] [Client thread/INFO]: Applying holder lookups
                    [17:03:52] [Client thread/INFO]: Holder lookups applied
                    [17:03:52] [Client thread/INFO]: Injecting itemstacks
                    [17:03:52] [Client thread/INFO]: Itemstack injection complete
                    [17:03:56] [Sound Library Loader/INFO]: Starting up SoundSystem...
                    [17:03:56] [Thread-5/INFO]: Initializing LWJGL OpenAL
                    [17:03:56] [Thread-5/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
                    [17:03:58] [Thread-5/INFO]: OpenAL initialized.
                    [17:03:58] [Sound Library Loader/INFO]: Sound engine started
                    [17:04:11] [Client thread/INFO]: Max texture size: 16384
                    [17:04:16] [Client thread/INFO]: Created: 2048x1024 textures-atlas
                    [17:04:28] [Client thread/INFO]: Applying holder lookups
                    [17:04:28] [Client thread/INFO]: Holder lookups applied
                    [17:04:28] [Client thread/INFO]: Created: 256x128 textures-atlas
                    [17:04:29] [Client thread/INFO]: Injecting itemstacks
                    [17:04:29] [Client thread/INFO]: Itemstack injection complete
                    [17:04:30] [Client thread/INFO]: Thermal Expansion: The One Probe Plugin Enabled.
                    [17:04:30] [Client thread/INFO]: CoFH Core: Load Complete.
                    [17:04:30] [Client thread/INFO]: Accumulating world generation files from: "C:\Users\jorda\Twitch\Minecraft\Instances\Compressed\config\cofh\world"
                    [17:04:30] [Client thread/INFO]: Found a total of 3 world generation files.
                    [17:04:31] [Client thread/INFO]: Reading world generation info from: "cofh\world\01_thermalfoundation_ores.json":
                    [17:04:31] [Client thread/INFO]: Reading world generation info from: "cofh\world\02_thermalfoundation_oil.json":
                    [17:04:31] [Client thread/INFO]: Reading world generation info from: "cofh\world\03_thermalfoundation_clathrates.json":
                    [17:04:31] [Client thread/INFO]: CoFH World: Load Complete.
                    [17:04:31] [Client thread/INFO]: Starting JEI...
                    [17:04:32] [Client thread/INFO]: Registering recipe categories...
                    [17:04:33] [Client thread/INFO]: Registering recipe categories took 867.9 ms
                    [17:04:33] [Client thread/INFO]: Registering mod plugins...
                    [17:04:34] [Client thread/INFO]: Registering mod plugins took 1.231 s
                    [17:04:34] [Client thread/INFO]: Building recipe registry...
                    [17:04:35] [Client thread/INFO]: Building recipe registry took 915.2 ms
                    [17:04:35] [Client thread/INFO]: Building ingredient list...
                    [17:04:35] [Client thread/INFO]: Building ingredient list took 186.2 ms
                    [17:04:35] [Client thread/INFO]: Building ingredient filter...
                    [17:04:36] [Client thread/INFO]: Building ingredient filter took 730.4 ms
                    [17:04:36] [Client thread/INFO]: Building bookmarks...
                    [17:04:36] [Client thread/INFO]: Building bookmarks took 9.490 ms
                    [17:04:36] [Client thread/INFO]: Building runtime...
                    [17:04:36] [Client thread/INFO]: Building runtime took 243.2 ms
                    [17:04:36] [Client thread/INFO]: Starting JEI took 4.883 s
                    [17:04:36] [Client thread/INFO]: [Whitelist] Reading established Whitelist from file.
                    [17:04:36] [Client thread/INFO]: Thermal Foundation: Load Complete.
                    [17:04:36] [Client thread/INFO]: Thermal Expansion: Load Complete.
                    [17:04:36] [Client thread/INFO]: Thermal Dynamics: Load Complete.
                    [17:04:37] [Client thread/INFO]: Forge Mod Loader has successfully loaded 22 mods
                    [17:04:37] [Client thread/WARN]: Skipping bad option: lastServer:
                    [17:04:38] [Client thread/INFO]: Narrator library for x64 successfully loaded
                    [17:07:26] [Server thread/INFO]: Starting integrated minecraft server version 1.12.2
                    [17:07:26] [Server thread/INFO]: Generating keypair
                    [17:07:26] [Server thread/INFO]: Injecting existing registry data into this server instance
                    [17:07:27] [Server thread/INFO]: Applying holder lookups
                    [17:07:27] [Server thread/INFO]: Holder lookups applied
                    [17:07:28] [Server thread/INFO]: Loading dimension 0 (modmaker compressed 161019 1453) (net.minecraft.server.integrated.IntegratedServer@3fe1b9f1)
                    [17:07:29] [Server thread/INFO]: Loaded 488 advancements
                    [17:07:29] [Server thread/INFO]: Loading dimension -1 (modmaker compressed 161019 1453) (net.minecraft.server.integrated.IntegratedServer@3fe1b9f1)
                    [17:07:29] [Server thread/INFO]: Loading dimension 1 (modmaker compressed 161019 1453) (net.minecraft.server.integrated.IntegratedServer@3fe1b9f1)
                    [17:07:29] [Server thread/INFO]: Preparing start region for level 0
                    [17:07:30] [Server thread/INFO]: Registering Void Island Control commands.
                    [17:07:30] [Server thread/INFO]: Finished registering Void Island Control commands.
                    [17:07:30] [Server thread/INFO]: Unloading dimension -1
                    [17:07:30] [Server thread/INFO]: Unloading dimension 1
                    [17:07:33] [Netty Local Client IO #0/INFO]: Server protocol version 2
                    [17:07:33] [Netty Server IO #1/INFO]: Client protocol version 2
                    [17:07:33] [Netty Server IO #1/INFO]: Client attempting to join with 22 mods : minecraft@1.12.2,ts2k16@1.2.10,FML@8.0.99.99,theoneprobe@1.4.28,thermalexpansion@5.5.4,thermaldynamics@2.5.5,redstoneflux@2.1.0,norecipebook@1.2.1,cofhworld@1.3.1,recipehandler@0.13,jei@4.15.0.268,voidislandcontrol@1.5.3,cofhcore@4.6.3,forge@14.23.5.2838,thermalfoundation@2.6.3,codechickenlib@3.2.3.358,fastleafdecay@v14,mcp@9.42,compressed@0.0.0,tp@3.2.34,controlling@3.0.7,craftingtweaks@8.1.9
                    [17:07:33] [Netty Server IO #1/INFO]: Skipping config sync, No mods have registered a syncable config.
                    [17:07:33] [Server thread/INFO]: [Server thread] Server side modded connection established
                    [17:07:33] [Netty Local Client IO #0/INFO]: [Netty Local Client IO #0] Client side modded connection established
                    [17:07:33] [Server thread/INFO]: JohnProgammer71[local:E:27ceee46] logged in with entity id 1 at (-9998.747251317813, 8.0, -10000.633116590909)
                    [17:07:33] [Server thread/INFO]: JohnProgammer71 joined the game
                    [17:07:36] [Server thread/INFO]: Saving and pausing game...

                    Et les blocs posés ont leur texture correcte

                    • Maintient des mods et modpacks en `1.18.2`
                    • Je suis un membre apprécié et joueur, j'ai déjà obtenu 2 points de réputation.

                    1 réponse Dernière réponse Répondre Citer 0
                    • robin4002
                      robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 16 oct. 2019, 19:28

                      Il te manque surement l’event ModelRegistryEvent dans lequel il faut mettre ModelLoader.setCustomModelResourceLocation(item, metadata, new ModelResourceLocation(item.getRegistryName(), "inventory"));

                      1 réponse Dernière réponse Répondre Citer 0
                      • John_71
                        John_71 dernière édition par 21 oct. 2019, 19:44

                        J’ai bien l’évent et je mets
                        ModelLoader.setCustomModelResourceLocation(<item>, meta, new ModelResourceLocation(<item>.getRegistryName(), "inventory"));
                        Mais comment on passe un Bloc en Item ?
                        (new ItemBlock(bloc)).setRegistryName(block.getRegstryName()) ?

                        • Maintient des mods et modpacks en `1.18.2`
                        • Je suis un membre apprécié et joueur, j'ai déjà obtenu 2 points de réputation.

                        1 réponse Dernière réponse Répondre Citer 0
                        • robin4002
                          robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 21 oct. 2019, 20:15

                          Item.getItemFromBlock(block)

                          1 réponse Dernière réponse Répondre Citer 0
                          • John_71
                            John_71 dernière édition par John_71 30 oct. 2019, 12:10 25 oct. 2019, 08:26

                            J’ai noté, je testerais plus tard et je dirais ce qu’il se passe.

                            EDIT Du 30/10 :
                            Merci j’ai réussi, mes blocs s’affichent dans JEI et dans les inventaires

                            (J’ai enregistré mes blocs avec new ItemBlock(block).setRegistryName(registryName) et j’ai enregistré les textures dans le ModelRegistryEvent avec Item.getItemFromBlock(block))

                            • Maintient des mods et modpacks en `1.18.2`
                            • Je suis un membre apprécié et joueur, j'ai déjà obtenu 2 points de réputation.

                            1 réponse Dernière réponse Répondre Citer 0
                            • L
                              Le_Vrai_GG dernière édition par 4 févr. 2020, 12:40

                              @Pchom a dit dans Créer un bloc basique :

                              @SubscribeEvent public void registerBlocks(RegistryEvent.Register <block>event) { event.getRegistry.registerAll(TutorialBlocks.TUTORIAL); }

                              Il y a une faute :

                              @SubscribeEvent
                              public void registerBlocks(RegistryEvent.Register <block>event)
                              {
                              event.getRegistry.registerAll(TutorialBlocks.TUTORIAL);
                              }

                              devrais être remplaçé par:

                              @SubscribeEvent
                              public void registerBlocks(RegistryEvent.Register <Block>event)
                              {
                              event.getRegistry().registerAll(TutorialBlocks.TUTORIAL);
                              }
                              1 réponse Dernière réponse Répondre Citer 0
                              • robin4002
                                robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par 4 févr. 2020, 14:11

                                Effectivement merci du signalement 😉

                                1 réponse Dernière réponse Répondre Citer 0
                                • Erwan13430
                                  Erwan13430 dernière édition par 16 avr. 2020, 23:10

                                  Bonsoir. Mon bloc a bien été enregistré, mais en jeu, je n’ai aucune texture, et j’ai des mots sur un carré rose et noir qui apparaissent au lieu d’avoir un bloc texturé en main. Voici mes logs car je n’y comprend pas vraiment grand chose…

                                  [00:59:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [00:59:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                                  [00:59:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                  [00:59:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [00:59:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [00:59:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                                  [00:59:53] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                  [00:59:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                                  [00:59:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                                  [00:59:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                  [00:59:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
                                  [00:59:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
                                  [00:59:54] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                                  [00:59:55] [main/INFO] [minecraft/Minecraft]: Setting user: Falling_Knife
                                  [01:00:00] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
                                  [01:00:00] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
                                  [01:00: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_231, Oracle Corporation
                                  Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                  Memory: 792547320 bytes (755 MB) / 1004011520 bytes (957 MB) up to 3151495168 bytes (3005 MB)
                                  JVM Flags: 3 total; -Xincgc -Xmx3072M -Xms1024M
                                  IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                                  FML:
                                  Loaded coremods (and transformers):
                                  GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4531' Renderer: 'Intel(R) HD Graphics 5600'
                                  [01:00:01] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
                                  [01:00:01] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
                                  [01:00:01] [main/INFO] [FML]: Replaced 1036 ore ingredients
                                  [01:00:02] [main/INFO] [FML]: Searching D:\Users\Erwan\Documents\Programmation\Java\Minecraft\ModTuto1_12\run\.\mods for mods
                                  [01:00:03] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 446178900 nanos
                                  [01:00:04] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
                                  [01:00:05] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, modtuto112] at CLIENT
                                  [01:00:05] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, modtuto112] at SERVER
                                  [01:00:06] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ModTuto112
                                  [01:00:06] [main/INFO] [FML]: Processing ObjectHolder annotations
                                  [01:00:06] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
                                  [01:00:06] [main/INFO] [FML]: Identifying ItemStackHolder annotations
                                  [01:00:06] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
                                  [01:00:06] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
                                  [01:00:06] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                                  [01:00:06] [main/INFO] [STDOUT]: [fr.falling_knife.modtuto112.TutorialCommon:preInit:8]: pre init côté commun
                                  [01:00:06] [main/INFO] [STDOUT]: [fr.falling_knife.modtuto112.TutorialClient:preInit:10]: pre init côté client
                                  [01:00:06] [main/INFO] [FML]: Applying holder lookups
                                  [01:00:06] [main/INFO] [FML]: Holder lookups applied
                                  [01:00:06] [main/INFO] [FML]: Applying holder lookups
                                  [01:00:06] [main/INFO] [FML]: Holder lookups applied
                                  [01:00:06] [main/INFO] [FML]: Applying holder lookups
                                  [01:00:06] [main/INFO] [FML]: Holder lookups applied
                                  [01:00:06] [main/INFO] [FML]: Applying holder lookups
                                  [01:00:06] [main/INFO] [FML]: Holder lookups applied
                                  [01:00:06] [main/INFO] [FML]: Injecting itemstacks
                                  [01:00:06] [main/INFO] [FML]: Itemstack injection complete
                                  [01:00:07] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
                                  [01:00:12] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
                                  [01:00:12] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
                                  [01:00:12] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
                                  [01:00:12] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
                                  [01:00:12] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
                                  [01:00:21] [main/ERROR] [FML]: Could not load vanilla model parent 'modtuto112:block/eironite_block' for 'net.minecraft.client.renderer.block.model.ModelBlock@24d815da
                                  net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model modtuto112:block/eironite_block with loader VanillaLoader.INSTANCE, skipping
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:211) [ModelLoaderRegistry.class:?]
                                  at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getTextures(ModelLoader.java:386) [ModelLoader$VanillaModelWrapper.class:?]
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:171) [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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                  at GradleStart.main(GradleStart.java:25) [start/:?]
                                  Caused by: java.io.FileNotFoundException: modtuto112:models/block/eironite_block.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:?]
                                  ... 23 more
                                  [01:00:21] [main/INFO] [FML]: Max texture size: 16384
                                  [01:00:21] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
                                  [01:00:22] [main/ERROR] [FML]: Exception loading model for variant modtuto112:eironite_block#normal for blockstate "modtuto112:eironite_block"
                                  net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model modtuto112:eironite_block#normal with loader VariantLoader.INSTANCE, skipping
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
                                  at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:235) ~[ModelLoader.class:?]
                                  at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?]
                                  at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:223) ~[ModelLoader.class:?]
                                  at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:150) ~[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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                  at GradleStart.main(GradleStart.java:25) [start/:?]
                                  Caused by: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model modtuto112:block/eironite_block with loader VanillaLoader.INSTANCE, skipping
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161) ~[ModelLoaderRegistry.class:?]
                                  at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:658) ~[ModelLoader$WeightedRandomModel.class:?]
                                  at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1176) ~[ModelLoader$VariantLoader.class:?]
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]
                                  ... 21 more
                                  Caused by: java.io.FileNotFoundException: modtuto112:models/block/eironite_block.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:?]
                                  at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:658) ~[ModelLoader$WeightedRandomModel.class:?]
                                  at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1176) ~[ModelLoader$VariantLoader.class:?]
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157) ~[ModelLoaderRegistry.class:?]
                                  ... 21 more
                                  [01:00:22] [main/ERROR] [FML]: Exception loading model for variant modtuto112:eironite_block#inventory for item "modtuto112:eironite_block", normal location exception:
                                  java.lang.IllegalStateException: vanilla model 'net.minecraft.client.renderer.block.model.ModelBlock@24d815da' can't have non-vanilla parent
                                  at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getTextures(ModelLoader.java:393) ~[ModelLoader$VanillaModelWrapper.class:?]
                                  at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:171) ~[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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                  at GradleStart.main(GradleStart.java:25) [start/:?]
                                  [01:00:22] [main/ERROR] [FML]: Exception loading model for variant modtuto112:eironite_block#inventory for item "modtuto112:eironite_block", blockstate location exception:
                                  net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model modtuto112:eironite_block#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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  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_231]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
                                  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
                                  [01:00:24] [main/INFO] [FML]: Applying holder lookups
                                  [01:00:24] [main/INFO] [FML]: Holder lookups applied
                                  [01:00:24] [main/INFO] [FML]: Injecting itemstacks
                                  [01:00:24] [main/INFO] [FML]: Itemstack injection complete
                                  [01:00:24] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
                                  [01:00:24] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
                                  [01:00:24] [main/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
                                  [01:00:28] [Server thread/INFO] [minecraft/IntegratedServer]: Starting integrated minecraft server version 1.12.2
                                  [01:00:28] [Server thread/INFO] [minecraft/IntegratedServer]: Generating keypair
                                  [01:00:28] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
                                  [01:00:28] [Server thread/INFO] [FML]: Applying holder lookups
                                  [01:00:28] [Server thread/INFO] [FML]: Holder lookups applied
                                  [01:00:29] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@6bc041e6)
                                  [01:00:29] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 488 advancements
                                  [01:00:30] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@6bc041e6)
                                  [01:00:30] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@6bc041e6)
                                  [01:00:30] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for level 0
                                  [01:00:31] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 5%
                                  [01:00:32] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 70%
                                  [01:00:32] [Server thread/INFO] [FML]: Unloading dimension -1
                                  [01:00:32] [Server thread/INFO] [FML]: Unloading dimension 1
                                  [01:00:32] [Server thread/INFO] [minecraft/IntegratedServer]: Changing view distance to 12, from 10
                                  [01:00:35] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
                                  [01:00:35] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
                                  [01:00:35] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : minecraft@1.12.2,modtuto112@1.0,FML@8.0.99.99,forge@14.23.5.2768,mcp@9.42
                                  [01:00:35] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
                                  [01:00:35] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
                                  [01:00:35] [Server thread/INFO] [minecraft/PlayerList]: Falling_Knife[local:E:64a64182] logged in with entity id 330 at (133.5171397937335, 72.0, 258.2710285315577)
                                  [01:00:35] [Server thread/INFO] [minecraft/MinecraftServer]: Falling_Knife a rejoint la partie
                                  [01:00:37] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
                                  [01:00:37] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
                                  [01:00:39] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2673ms behind, skipping 53 tick(s)
                                  [01:00:49] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
                                  [01:00:49] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
                                  [01:01:13] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
                                  [01:01:13] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld
                                  [01:01:22] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game...
                                  [01:01:22] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/overworld

                                  Merci d’avance à la personne qui prendra le temps de m’aider 😄

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • Maraden
                                    Maraden dernière édition par Maraden 16 avr. 2020, 23:22 16 avr. 2020, 23:22

                                    @Erwan13430 Ton mod n’arrive pas a chargé le modèle de ton bloc, c’est surement ton ficher .json qui n’est pas bien fait ou alors ta texture n’est pas au bonne endroit

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • robin4002
                                      robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par robin4002 17 avr. 2020, 07:17 17 avr. 2020, 07:17

                                      Ce json est manquant :

                                      modtuto112:models/block/eironite_block.json
                                      (converti en chemin, ça donne assets/modtuto112/models/block/eironite_block.json

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • Erwan13430
                                        Erwan13430 dernière édition par 17 avr. 2020, 11:14

                                        Merci beaucoup 😄 J’avais juste mis assets/modid/models/blocks au lieu de assets/modid/models/block… Une grosse erreur d’inattention… Merci beaucoup de votre réponse rapide ;D

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • enzomtp
                                          enzomtp dernière édition par 4 août 2020, 11:52

                                          Bonjour j’ai un problème : eclipse me génère une erreur ici :
                                          5ee40ee4-3cb9-40d3-8c07-697472c5da6c-image.png
                                          Et Je ne comprend pas pourquoi ! Si quelqu’un peut m’aider svp ?

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 sur 28
                                          • Premier message
                                            1/28
                                            Dernier message
                                          Design by Woryk
                                          Contact / Mentions Légales

                                          MINECRAFT FORGE FRANCE © 2018

                                          Powered by NodeBB