MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Créer un bloc basique

    Planifier Épinglé Verrouillé Déplacé Les blocs
    1.8
    76 Messages 16 Publieurs 25.7k Vues 1 Watching
    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.
    • geekukoG Hors-ligne
      geekuko
      dernière édition par

      salut moi j’ai pas les texture please help me

      package fr.geekuko.killtheboss.common;
      
      import fr.geekuko.item.itemregister;
      import fr.geekuko.killtheboss.blocks.blockregister;
      import fr.geekuko.killtheboss.blocks.blocks;
      import fr.geekuko.proxy.CommonProxy;
      import net.minecraft.block.Block;
      import net.minecraft.block.material.Material;
      import net.minecraft.creativetab.CreativeTabs;
      import net.minecraftforge.common.MinecraftForge;
      import net.minecraftforge.fml.common.Mod;
      import net.minecraftforge.fml.common.Mod.EventHandler;
      import net.minecraftforge.fml.common.Mod.Instance;
      import net.minecraftforge.fml.common.SidedProxy;
      import net.minecraftforge.fml.common.event.FMLInitializationEvent;
      import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
      import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
      import net.minecraftforge.fml.common.registry.GameRegistry;
      
      @Mod(modid = "killheboss", name = "killtheboss", version = "1.0.0")
      
      public class killtheboss
      {
         @Instance("killtheboss")
         public static killtheboss instance;
         public static final String MODID = "killtheboss";
         @SidedProxy(clientSide = "fr.geekuko.proxy.ClientProxy", serverSide = "fr.geekuko.proxy.CommonProxy")
         public static CommonProxy proxy;
      
         @EventHandler
         public void preInit(FMLPreInitializationEvent event)
          {
             blockregister.register();
             itemregister.register();
      
         }
      
         @EventHandler
         public void init(FMLInitializationEvent event)
         {
             proxy.registerRender();
             proxy.registerBlockTexture(blockregister.pierrecompresse, "pierrecompresse");
      
         }
      
         @EventHandler
         public void postInit(FMLPostInitializationEvent event)
         {
      
         }
      }
      
      package fr.geekuko.proxy;
      
      import net.minecraft.block.Block;
      import net.minecraft.client.Minecraft;
      import net.minecraft.client.renderer.ItemModelMesher;
      import net.minecraft.client.renderer.block.model.ModelResourceLocation;
      import net.minecraft.item.Item;
      
      public class ClientProxy extends CommonProxy
      {
         @Override
         public void registerRender()
         {
             System.out.println("méthode côté client");
         }
         @Override
         public void registerItemTexture(Item item, int metadata, String name)
         {
             ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();
             mesher.register(item, metadata, new ModelResourceLocation("killtheboss:" + name, "inventory"));
         }
      
         @Override
         public void registerItemTexture(Item item, String name)
         {
             registerItemTexture(item, 0, name);
         }
      
         @Override
         public void registerBlockTexture(Block block, int metadata, String name)
         {
             registerItemTexture(Item.getItemFromBlock(block), metadata, name);
         }
      
         @Override
         public void registerBlockTexture(Block block, String name)
         {
             registerBlockTexture(block, 0, name);
         }
      }
      
      package fr.geekuko.proxy;
      
      import net.minecraft.block.Block;
      import net.minecraft.item.Item;
      
      public class CommonProxy
      
      {
      
         public void registerItemTexture(Item item, int metadata, String name){}
      
         public void registerItemTexture(Item item, String name){}
      
         public void registerBlockTexture(Block block, int metadata, String name){}
      
         public void registerBlockTexture(Block block, String name){}
         public void registerRender()
         {
             System.out.println("méthode côté serveur");
      
         }
      
      }
      
      
      
         package fr.geekuko.killtheboss.blocks;
      
      import net.minecraft.block.Block;
      import net.minecraft.block.material.Material;
      import net.minecraft.creativetab.CreativeTabs;
      import net.minecraftforge.fml.common.registry.GameRegistry;
      
      public class blockregister
         {
         public static Block pierrecompresse;
      
                 public static void register()
             {
      
                 pierrecompresse = new blocks(Material.rock).setUnlocalizedName("pierrecompresse").setResistance(1000.0F).setHardness(25.0F).setCreativeTab(CreativeTabs.tabBlock);
      
                 GameRegistry.registerBlock(pierrecompresse, "pierrecompresse");
      
             }
         }
      
      
      {
        "variants": {
            "normal": { "model": "killtheboss:pierrecompresse" }
        }
      }
      
      {
        "parent": "block/cube_all",
        "textures": {
            "all": "killtheboss:blocks/pierrecompresse"
        }
      }
      
      {
        "parent": "killtheboss:block/pierrecompresse",
         "display": {
             "thirdperson": {
                 "rotation": [ 10, -45, 170 ],
                 "translation": [ 0, 1.5, -2.75 ],
                 "scale": [ 0.375, 0.375, 0.375 ]
             }
        }
      }
      
      1 réponse Dernière réponse Répondre Citer 0
      • robin4002R Hors-ligne
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs
        dernière édition par

        Salut,
        Peux-tu envoyer les logs du jeu ?

        1 réponse Dernière réponse Répondre Citer 0
        • geekukoG Hors-ligne
          geekuko
          dernière édition par

          voila

          [12:08:38] [Client thread/INFO]: Setting user: Player261
          [12:08:42] [Client thread/INFO]: LWJGL Version: 2.9.4
          [12:08:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:killtheboss
          [12:08:49] [Sound Library Loader/INFO]: Starting up SoundSystem…
          [12:08:50] [Thread-8/INFO]: Initializing LWJGL OpenAL
          [12:08:50] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
          [12:08:50] [Thread-8/INFO]: OpenAL initialized.
          [12:08:50] [Sound Library Loader/INFO]: Sound engine started
          [12:08:54] [Client thread/INFO]: Created: 16x16 textures-atlas
          [12:08:55] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:killtheboss
          [12:08:57] [Client thread/INFO]: SoundSystem shutting down…
          [12:08:58] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
          [12:08:58] [Sound Library Loader/INFO]: Starting up SoundSystem…
          [12:08:58] [Thread-10/INFO]: Initializing LWJGL OpenAL
          [12:08:58] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
          [12:08:58] [Thread-10/INFO]: OpenAL initialized.
          [12:08:58] [Sound Library Loader/INFO]: Sound engine started
          [12:09:01] [Client thread/INFO]: Created: 1024x512 textures-atlas
          [12:09:03] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
          [12:09:16] [Server thread/INFO]: Starting integrated minecraft server version 1.9
          [12:09:16] [Server thread/INFO]: Generating keypair
          [12:09:17] [Server thread/INFO]: Preparing start region for level 0
          [12:09:18] [Server thread/INFO]: Preparing spawn area: 40%
          [12:09:19] [Server thread/INFO]: Changing view distance to 12, from 10
          [12:09:19] [Server thread/INFO]: Player261[local:E:79c72009] logged in with entity id 280 at (130.442613564471, 66.0, 232.15103124565024)
          [12:09:19] [Server thread/INFO]: Player261 joined the game
          [12:09:20] [Server thread/INFO]: Saving and pausing game…
          [12:09:20] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
          [12:09:20] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
          [12:09:20] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
          [12:09:20] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@2a95500c[id=5c5c7719-d2ce-30c8-bc42-ad9690493df6,name=Player261,properties={},legacy=false]
          com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
          at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
          at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
          at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
          at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
          at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
          at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
          at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
          at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3038) [Minecraft.class:?]
          at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [SkinManager$3.class:?]
          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
          at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_73]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_73]
          at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
          [12:09:23] [Server thread/INFO]: Saving and pausing game…
          [12:09:23] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
          [12:09:23] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
          [12:09:23] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
          [12:09:24] [Client thread/INFO]: Stopping!
          [12:09:24] [Client thread/INFO]: SoundSystem shutting down…
          [12:09:24] [Server thread/INFO]: Stopping server
          [12:09:24] [Server thread/INFO]: Saving players
          [12:09:24] [Server thread/INFO]: Saving worlds
          [12:09:24] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
          [12:09:24] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
          [12:09:24] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
          [12:09:24] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
          [12:09:24] [Client Shutdown Thread/INFO]: Stopping server
          [12:09:24] [Client Shutdown Thread/INFO]: Saving players
          [12:09:24] [Client Shutdown Thread/INFO]: Saving worlds
          [12:09:24] [Client Shutdown Thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
          [12:09:24] [Client Shutdown Thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
          
          
          1 réponse Dernière réponse Répondre Citer 0
          • robin4002R Hors-ligne
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs
            dernière édition par

            Ce sont les logs de la console d’eclipse ça ? Car je ne vois rien venant de FML et donc rien concernant la texture.

            1 réponse Dernière réponse Répondre Citer 0
            • geekukoG Hors-ligne
              geekuko
              dernière édition par

              2016-03-21 12:31:35,076 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
              2016-03-21 12:31:35,076 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
              [12:31:35] [main/INFO] [GradleStart]: Extra: []
              [12:31:35] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/user/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --accessToken{REDACTED}, --version, 1.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
              [12:31:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
              [12:31:35] [main/INFO] [FML]: Forge Mod Loader version 12.16.0.1776 for Minecraft 1.9 loading
              [12:31:35] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_73, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_73
              [12:31:35] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
              [12:31:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
              [12:31:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
              [12:31:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
              [12:31:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
              [12:31:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
              [12:31:35] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
              [12:31:36] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
              [12:31:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
              [12:31:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
              [12:31:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
              [12:31:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
              [12:31:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
              [12:31:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
              2016-03-21 12:31:37,712 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
              2016-03-21 12:31:37,741 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
              2016-03-21 12:31:37,742 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
              [12:31:38] [Client thread/INFO]: Setting user: Player471
              [12:31:40] [Client thread/INFO]: LWJGL Version: 2.9.4
              [12:31:41] [Client thread/WARN] [FML]: =============================================================
              [12:31:41] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
              [12:31:41] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
              [12:31:41] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
              [12:31:41] [Client thread/WARN] [FML]: =============================================================
              [12:31:42] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:250]: –-- Minecraft Crash Report ----
              // Shall we play a game?
              
              Time: 21/03/16 12:31
              Description: Loading screen debug info
              
              This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
              
              A detailed walkthrough of the error, its code path and all known details is as follows:
              ---------------------------------------------------------------------------------------
              
              -- System Details --
              Details:
              Minecraft Version: 1.9
              Operating System: Windows 10 (amd64) version 10.0
              Java Version: 1.8.0_73, Oracle Corporation
              Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 771912128 bytes (736 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
              JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
              IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
              FML:
              Loaded coremods (and transformers):
              GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.82' Renderer: 'GeForce GTX 750/PCIe/SSE2'
              [12:31:42] [Client thread/INFO] [FML]: MinecraftForge v12.16.0.1776 Initialized
              [12:31:42] [Client thread/INFO] [FML]: Replaced 207 ore recipies
              [12:31:42] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
              [12:31:42] [Client thread/INFO] [FML]: Searching C:\Users\user\Desktop\killtheboss\run\mods for mods
              [12:31:44] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
              [12:31:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, killheboss] at CLIENT
              [12:31:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, killheboss] at SERVER
              [12:31:44] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:killtheboss
              [12:31:44] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
              [12:31:44] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations
              [12:31:44] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
              [12:31:44] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
              [12:31:44] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
              [12:31:44] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
              [12:31:44] [Client thread/INFO] [FML]: Applying holder lookups
              [12:31:44] [Client thread/INFO] [FML]: Holder lookups applied
              [12:31:44] [Client thread/INFO] [FML]: Injecting itemstacks
              [12:31:44] [Client thread/INFO] [FML]: Itemstack injection complete
              [12:31:45] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA_OUTDATED Target: 12.16.0.1780
              [12:31:47] [Sound Library Loader/INFO]: Starting up SoundSystem…
              [12:31:47] [Thread-8/INFO]: Initializing LWJGL OpenAL
              [12:31:47] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
              [12:31:47] [Thread-8/INFO]: OpenAL initialized.
              [12:31:48] [Sound Library Loader/INFO]: Sound engine started
              [12:31:51] [Client thread/INFO] [FML]: Max texture size: 16384
              [12:31:51] [Client thread/INFO]: Created: 16x16 textures-atlas
              [12:31:52] [Client thread/ERROR] [FML]: Exception loading model for variant killheboss:pierrecompresse#normal for blockstate "killheboss:pierrecompresse"
              net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model killheboss:pierrecompresse#normal with loader VariantLoader.instance, skipping
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
              at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:209) ~[ModelLoader.class:?]
              at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:144) ~[ModelBakery.class:?]
              at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:197) ~[ModelLoader.class:?]
              at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[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:120) [SimpleReloadableResourceManager.class:?]
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?]
              at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
              at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              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_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
              at GradleStart.main(GradleStart.java:26) [start/:?]
              Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
              at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:75) ~[ModelBlockDefinition.class:?]
              at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1087) ~[ModelLoader$VariantLoader.class:?]
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:126) ~[ModelLoaderRegistry.class:?]
              … 21 more
              [12:31:52] [Client thread/ERROR] [FML]: Exception loading model for variant killheboss:pierrecompresse#inventory for item "killheboss:pierrecompresse"
              java.lang.Exception: Could not load item model either from the normal location killheboss:item/pierrecompresse or from the blockstate
              at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:291) ~[ModelLoader.class:?]
              at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) ~[ModelBakery.class:?]
              at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:121) ~[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:120) [SimpleReloadableResourceManager.class:?]
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?]
              at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
              at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              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_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
              at GradleStart.main(GradleStart.java:26) [start/:?]
              Caused by: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model killheboss:pierrecompresse#inventory with loader VariantLoader.instance, skipping
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
              at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:287) ~[ModelLoader.class:?]
              … 19 more
              Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
              at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:75) ~[ModelBlockDefinition.class:?]
              at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1087) ~[ModelLoader$VariantLoader.class:?]
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:126) ~[ModelLoaderRegistry.class:?]
              at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:287) ~[ModelLoader.class:?]
              … 19 more
              [12:31:52] [Client thread/INFO] [STDOUT]: [fr.geekuko.proxy.ClientProxy:registerRender:14]: méthode côté client
              [12:31:52] [Client thread/INFO] [FML]: Injecting itemstacks
              [12:31:52] [Client thread/INFO] [FML]: Itemstack injection complete
              [12:31:52] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.RecipeTippedArrow Modder please refer to net.minecraftforge.oredict.RecipeSorter
              [12:31:52] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.ShieldRecipes$Decoration Modder please refer to net.minecraftforge.oredict.RecipeSorter
              [12:31:52] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
              [12:31:52] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:killtheboss
              [12:31:55] [Client thread/INFO]: SoundSystem shutting down…
              [12:31:55] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
              [12:31:55] [Sound Library Loader/INFO]: Starting up SoundSystem…
              [12:31:55] [Thread-10/INFO]: Initializing LWJGL OpenAL
              [12:31:55] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
              [12:31:55] [Thread-10/INFO]: OpenAL initialized.
              [12:31:56] [Sound Library Loader/INFO]: Sound engine started
              [12:31:58] [Client thread/INFO] [FML]: Max texture size: 16384
              [12:31:58] [Client thread/INFO]: Created: 1024x512 textures-atlas
              [12:31:59] [Client thread/ERROR] [FML]: Exception loading model for variant killheboss:pierrecompresse#normal for blockstate "killheboss:pierrecompresse"
              net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model killheboss:pierrecompresse#normal with loader VariantLoader.instance, skipping
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
              at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:209) ~[ModelLoader.class:?]
              at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:144) ~[ModelBakery.class:?]
              at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:197) ~[ModelLoader.class:?]
              at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
              at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
              at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
              at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
              at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:792) [Minecraft.class:?]
              at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:328) [FMLClientHandler.class:?]
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:554) [Minecraft.class:?]
              at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
              at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              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_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
              at GradleStart.main(GradleStart.java:26) [start/:?]
              Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
              at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:75) ~[ModelBlockDefinition.class:?]
              at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1087) ~[ModelLoader$VariantLoader.class:?]
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:126) ~[ModelLoaderRegistry.class:?]
              … 24 more
              [12:31:59] [Client thread/ERROR] [FML]: Exception loading model for variant killheboss:pierrecompresse#inventory for item "killheboss:pierrecompresse"
              java.lang.Exception: Could not load item model either from the normal location killheboss:item/pierrecompresse or from the blockstate
              at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:291) ~[ModelLoader.class:?]
              at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) ~[ModelBakery.class:?]
              at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:121) ~[ModelLoader.class:?]
              at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
              at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
              at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
              at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:792) [Minecraft.class:?]
              at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:328) [FMLClientHandler.class:?]
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:554) [Minecraft.class:?]
              at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?]
              at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              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_73]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
              at GradleStart.main(GradleStart.java:26) [start/:?]
              Caused by: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model killheboss:pierrecompresse#inventory with loader VariantLoader.instance, skipping
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?]
              at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:287) ~[ModelLoader.class:?]
              … 22 more
              Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException
              at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:75) ~[ModelBlockDefinition.class:?]
              at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1087) ~[ModelLoader$VariantLoader.class:?]
              at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:126) ~[ModelLoaderRegistry.class:?]
              at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:287) ~[ModelLoader.class:?]
              … 22 more
              [12:32:00] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
              [12:32:12] [Server thread/INFO]: Starting integrated minecraft server version 1.9
              [12:32:12] [Server thread/INFO]: Generating keypair
              [12:32:12] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
              [12:32:12] [Server thread/INFO] [FML]: Applying holder lookups
              [12:32:12] [Server thread/INFO] [FML]: Holder lookups applied
              [12:32:12] [Server thread/INFO] [FML]: Loading dimension 0 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@69968e13)
              [12:32:12] [Server thread/INFO] [FML]: Loading dimension 1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@69968e13)
              [12:32:13] [Server thread/INFO] [FML]: Loading dimension -1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@69968e13)
              [12:32:13] [Server thread/INFO]: Preparing start region for level 0
              [12:32:14] [Server thread/INFO]: Preparing spawn area: 55%
              [12:32:14] [Server thread/INFO]: Changing view distance to 12, from 10
              [12:32:15] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
              [12:32:15] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
              [12:32:15] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : killheboss@1.0.0,FML@8.0.99.99,Forge@12.16.0.1776,mcp@9.19
              [12:32:15] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
              [12:32:15] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
              [12:32:15] [Server thread/INFO]: Player471[local:E:34019b20] logged in with entity id 280 at (130.442613564471, 66.0, 232.15103124565024)
              [12:32:15] [Server thread/INFO]: Player471 joined the game
              [12:32:16] [Server thread/INFO]: Saving and pausing game…
              [12:32:16] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
              [12:32:16] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
              [12:32:16] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
              [12:32:16] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@61820519[id=e246deab-2680-3623-991e-a2d437bbfbae,name=Player471,properties={},legacy=false]
              com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
              at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
              at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
              at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
              at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
              at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
              at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
              at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
              at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3038) [Minecraft.class:?]
              at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [SkinManager$3.class:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
              at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_73]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_73]
              at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
              [12:32:18] [Server thread/INFO]: Saving and pausing game…
              [12:32:18] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
              [12:32:18] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
              [12:32:18] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
              [12:32:19] [Client thread/INFO]: Stopping!
              [12:32:19] [Client thread/INFO]: SoundSystem shutting down…
              [12:32:19] [Server thread/INFO]: Stopping server
              [12:32:19] [Server thread/INFO]: Saving players
              [12:32:19] [Server thread/INFO]: Saving worlds
              [12:32:19] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
              [12:32:19] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
              [12:32:19] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
              [12:32:19] [Server thread/INFO] [FML]: Unloading dimension 0
              [12:32:19] [Server thread/INFO] [FML]: Unloading dimension 0
              [12:32:19] [Server thread/INFO] [FML]: Unloading dimension 0
              [12:32:19] [Server thread/INFO] [FML]: Applying holder lookups
              [12:32:19] [Server thread/INFO] [FML]: Holder lookups applied
              [12:32:19] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
              [12:32:19] [Client Shutdown Thread/INFO]: Stopping server
              [12:32:19] [Client Shutdown Thread/INFO]: Saving players
              [12:32:19] [Client Shutdown Thread/INFO]: Saving worlds
              [12:32:19] [Client Shutdown Thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
              [12:32:19] [Client Shutdown Thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
              [12:32:19] [Client Shutdown Thread/INFO] [FML]: Unloading dimension 0
              [12:32:19] [Client Shutdown Thread/INFO] [FML]: Unloading dimension 0
              Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
              
              
              1 réponse Dernière réponse Répondre Citer 0
              • robin4002R Hors-ligne
                robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                dernière édition par

                Visiblement il y a un soucis avec ton modèle :
                net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model killheboss: pierrecompresse#normal with loader VariantLoader.instance, skipping

                Tes fichiers json sont placés dans quels dossiers ?

                1 réponse Dernière réponse Répondre Citer 0
                • geekukoG Hors-ligne
                  geekuko
                  dernière édition par

                  C:\Users\user\Desktop\killtheboss\src\main\resources\assets\killtheboss

                  et la j’ai 4 dossier -blockstate
                                             -lang
                                             -models
                                             -textures

                  dans models il y a 2 dossier block et item
                  et dans textures il y a un dossier blocks

                  1 réponse Dernière réponse Répondre Citer 0
                  • robin4002R Hors-ligne
                    robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                    dernière édition par

                    Et les jsons sont placés où ?

                    1 réponse Dernière réponse Répondre Citer 0
                    • geekukoG Hors-ligne
                      geekuko
                      dernière édition par

                      dans blockstates

                      {
                        "variants": {
                            "normal": { "model": "killtheboss:pierrecompresse" }
                        }
                      }
                      

                      dans model/block

                      {
                        "parent": "block/cube_all",
                        "textures": {
                            "all": "killtheboss:blocks/pierrecompresse"
                        }
                      }
                      

                      et dans model/item

                      {
                        "parent": "killtheboss:block/pierrecompresse",
                         "display": {
                             "thirdperson": {
                                 "rotation": [ 10, -45, 170 ],
                                 "translation": [ 0, 1.5, -2.75 ],
                                 "scale": [ 0.375, 0.375, 0.375 ]
                             }
                        }
                      }
                      
                      1 réponse Dernière réponse Répondre Citer 0
                      • robin4002R Hors-ligne
                        robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                        dernière édition par

                        Tous semble bon, c’est étrange que ça ne fonctionne pas 😕

                        1 réponse Dernière réponse Répondre Citer 1
                        • geekukoG Hors-ligne
                          geekuko
                          dernière édition par

                          net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model killheboss: pierrecompresse#normal with loader VariantLoader.instance, skipping

                          ca dit “killheboss” au lieu de “killtheboss” donc mon modid etai pas correct ^^ dsl

                          1 réponse Dernière réponse Répondre Citer 0
                          • TristepinT Hors-ligne
                            Tristepin
                            dernière édition par

                            je ne sais a quel type de fichier tu fais réference pour la texture 
                            car quand j’essaye de renommer un .png, en  [font=Ubuntu, sans-seriftextures": { “all”: "MODID:blocks/][font=Ubuntu, sans-seriftuto_block][font=Ubuntu, sans-serif**" } **]
                            [font=Ubuntu, sans-serif**ça me dit que certains ponctuations ne peuvent êtres contenus dans le nom du fichier, **]
                            [font=Ubuntu, sans-serifPourriez-vous m’aider à résoudre ce problème svp .( peut être que la réponse est toute bête et que je sais pas lire le tuto ^^]
                            [font=Ubuntu, sans-serifmais je galère depuis un long moment )]

                            Modélisateur sur son temps libre.

                            1 réponse Dernière réponse Répondre Citer 0
                            • robin4002R Hors-ligne
                              robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                              dernière édition par

                              Le nom du fichier png doit être tuto_block.png dans ce cas.

                              1 réponse Dernière réponse Répondre Citer 0
                              • TristepinT Hors-ligne
                                Tristepin
                                dernière édition par

                                étrange cela m’affiche toujours le bloc sans texture, je pense que cela vient d’ailleurs je vais chercher en espérant trouver ;)___je crois avoir trouver la raison du problème, mais (oui car y’a toujours un “mais” sinon c’est pas marrant )
                                mon piètre niveau de code ne me permet pas de déchiffrer les logs, je fais appel donc à une bonne âme misericordieuse (trop de drama x) ) 
                                pour m’aider à trouver le problème  qui fait que ma texture ne charge pas :

                                voici les logs

                                [16:58:02] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
                                [16:58:02] [Client thread/INFO] [FML]: Replaced 204 ore recipies
                                [16:58:02] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                                [16:58:02] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods
                                [16:58:05] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                                [16:58:05] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT
                                [16:58:05] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER
                                [16:58:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                                [16:58:06] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                                [16:58:06] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
                                [16:58:06] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                                [16:58:06] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                                [16:58:06] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                                [16:58:06] [Client thread/INFO] [STDOUT]: [fr.premiermod.minecraft.PremierModCommon:preInit:12]: pre init côté commun
                                [16:58:06] [Client thread/INFO] [STDOUT]: [fr.premiermod.minecraft.PremierModClient:preInit:18]: pre init côté client
                                [16:58:06] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                                [16:58:06] [Client thread/INFO] [FML]: Applying holder lookups
                                [16:58:06] [Client thread/INFO] [FML]: Holder lookups applied
                                [16:58:06] [Client thread/INFO] [FML]: Injecting itemstacks
                                [16:58:06] [Client thread/INFO] [FML]: Itemstack injection complete
                                [16:58:07] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
                                [16:58:07] [Sound Library Loader/INFO]: Starting up SoundSystem…
                                [16:58:07] [Thread-9/INFO]: Initializing LWJGL OpenAL
                                [16:58:07] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                [16:58:08] [Thread-9/INFO]: OpenAL initialized.
                                [16:58:08] [Sound Library Loader/INFO]: Sound engine started
                                [16:58:18] [Client thread/INFO] [FML]: Max texture size: 8192
                                [16:58:18] [Client thread/INFO]: Created: 16x16 textures-atlas
                                [16:58:18] [Client thread/ERROR] [FML]: Exception loading model for variant wakfu:bloc_de_wakfu#inventory
                                java.lang.Exception: Could not load model definition for variant wakfu:bloc_de_wakfu#inventory
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
                                at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
                                at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
                                at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
                                at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                                at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                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_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                at GradleStart.main(GradleStart.java:26) [start/:?]
                                Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 19 more
                                Caused by: java.io.FileNotFoundException: wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 19 more
                                [16:58:18] [Client thread/ERROR] [FML]: Exception loading model for variant wakfu:bloc_de_wakfu#normal
                                java.lang.Exception: Could not load model definition for variant wakfu:bloc_de_wakfu#normal
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
                                at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:174) ~[ModelLoader.class:?]
                                at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:119) ~[ModelLoader.class:?]
                                at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.Minecraft.startGame(Minecraft.java:515) [Minecraft.class:?]
                                at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                                at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                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_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                at GradleStart.main(GradleStart.java:26) [start/:?]
                                Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 20 more
                                Caused by: java.io.FileNotFoundException: wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 20 more
                                [16:58:18] [Client thread/ERROR] [FML]: Model definition for location wakfu:bloc_de_wakfu#inventory not found
                                [16:58:18] [Client thread/ERROR] [FML]: Model definition for location wakfu:bloc_de_wakfu#normal not found
                                [16:58:20] [Client thread/INFO] [FML]: Injecting itemstacks
                                [16:58:20] [Client thread/INFO] [FML]: Itemstack injection complete
                                [16:58:20] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                                [16:58:20] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                                [16:58:20] [Client thread/INFO]: SoundSystem shutting down…
                                [16:58:20] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
                                [16:58:20] [Sound Library Loader/INFO]: Starting up SoundSystem…
                                [16:58:20] [Thread-11/INFO]: Initializing LWJGL OpenAL
                                [16:58:20] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                [16:58:20] [Thread-11/INFO]: OpenAL initialized.
                                [16:58:21] [Sound Library Loader/INFO]: Sound engine started
                                [16:58:29] [Client thread/INFO] [FML]: Max texture size: 8192
                                [16:58:29] [Client thread/INFO]: Created: 512x512 textures-atlas
                                [16:58:29] [Client thread/ERROR] [FML]: Exception loading model for variant wakfu:bloc_de_wakfu#inventory
                                java.lang.Exception: Could not load model definition for variant wakfu:bloc_de_wakfu#inventory
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
                                at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
                                at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
                                at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
                                at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
                                at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
                                at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                                at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                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_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                at GradleStart.main(GradleStart.java:26) [start/:?]
                                Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 22 more
                                Caused by: java.io.FileNotFoundException: wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 22 more
                                [16:58:29] [Client thread/ERROR] [FML]: Exception loading model for variant wakfu:bloc_de_wakfu#normal
                                java.lang.Exception: Could not load model definition for variant wakfu:bloc_de_wakfu#normal
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
                                at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:174) ~[ModelLoader.class:?]
                                at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:119) ~[ModelLoader.class:?]
                                at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:772) [Minecraft.class:?]
                                at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
                                at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?]
                                at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                                at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                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_91]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                                at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                at GradleStart.main(GradleStart.java:26) [start/:?]
                                Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 23 more
                                Caused by: java.io.FileNotFoundException: wakfu:blockstates/bloc_de_wakfu.json
                                at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?]
                                at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[SimpleReloadableResourceManager.class:?]
                                at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
                                at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                                … 23 more
                                [16:58:29] [Client thread/ERROR] [FML]: Model definition for location wakfu:bloc_de_wakfu#inventory not found
                                [16:58:29] [Client thread/ERROR] [FML]: Model definition for location wakfu:bloc_de_wakfu#normal not found
                                [16:58:31] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
                                [16:58:43] [Server thread/INFO]: Starting integrated minecraft server version 1.8.9
                                [16:58:43] [Server thread/INFO]: Generating keypair
                                [16:58:43] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
                                [16:58:43] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
                                [16:58:43] [Server thread/INFO] [FML]: Applying holder lookups
                                [16:58:43] [Server thread/INFO] [FML]: Holder lookups applied
                                [16:58:43] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1a322372)
                                [16:58:43] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1a322372)
                                [16:58:44] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1a322372)
                                [16:58:44] [Server thread/INFO]: Preparing start region for level 0
                                [16:58:45] [Server thread/INFO]: Changing view distance to 12, from 10
                                [16:58:45] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
                                [16:58:46] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
                                [16:58:46] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
                                [16:58:46] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.0.99.99,Forge@11.15.1.1722,wakfu@0.1,mcp@9.19
                                [16:58:47] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
                                [16:58:47] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
                                [16:58:47] [Server thread/INFO]: tristepin20[local:E:b1819f58] logged in with entity id 82 at (-624.5697518298074, 4.0, 215.01169110721548)
                                [16:58:47] [Server thread/INFO]: tristepin20 joined the game
                                [16:58:48] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@60427996[id=3d8e993c-5877-30c3-8b64-912692f127ee,name=tristepin20,properties={},legacy=false]
                                com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
                                at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
                                at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
                                at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
                                at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
                                at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
                                at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
                                at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
                                at net.minecraft.client.Minecraft.func_181037_M(Minecraft.java:2915) [Minecraft.class:?]
                                at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [SkinManager$3.class:?]
                                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91]
                                at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
                                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_91]
                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_91]
                                at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
                                [17:03:00] [Server thread/INFO]: [tristepin20: Set the time to 1000]
                                [17:03:00] [Client thread/INFO]: [CHAT] Set the time to 1000
                                [17:04:09] [Server thread/INFO]: [tristepin20: Set own game mode to Survival Mode]
                                [17:04:09] [Client thread/INFO]: [CHAT] Your game mode has been updated
                                [17:04:28] [Server thread/INFO]: [tristepin20: Set own game mode to Creative Mode]
                                [17:04:28] [Client thread/INFO]: [CHAT] Your game mode has been updated
                                [17:04:54] [Server thread/INFO]: Saving and pausing game…
                                [17:04:54] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                                [17:04:54] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                                [17:04:54] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                                [17:08:35] [Server thread/INFO]: Saving and pausing game…
                                [17:08:35] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                                [17:08:35] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                                [17:08:35] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                                [17:11:52] [Server thread/INFO]: Saving and pausing game…
                                [17:11:52] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                                [17:11:52] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                                [17:11:52] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                                [17:13:34] [Client thread/INFO]: Stopping!
                                [17:13:34] [Client thread/INFO]: SoundSystem shutting down…
                                [17:13:34] [Server thread/INFO]: Stopping server
                                [17:13:34] [Server thread/INFO]: Saving players
                                [17:13:34] [Server thread/INFO]: Saving worlds
                                [17:13:34] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                                [17:13:34] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                                [17:13:34] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                                [17:13:34] [Server thread/INFO] [FML]: Unloading dimension 0
                                [17:13:34] [Server thread/INFO] [FML]: Unloading dimension -1
                                [17:13:34] [Server thread/INFO] [FML]: Unloading dimension 1
                                [17:13:34] [Server thread/INFO] [FML]: Applying holder lookups
                                [17:13:34] [Server thread/INFO] [FML]: Holder lookups applied
                                [17:13:34] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
                                Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                                
                                

                                et les différentes classes

                                package fr.premiermod.minecraft;
                                import org.apache.logging.log4j.Logger;
                                
                                import net.minecraft.block.Block;
                                import net.minecraft.block.material.Material;
                                import net.minecraft.creativetab.CreativeTabs;
                                import net.minecraftforge.fml.common.Mod;
                                import net.minecraftforge.fml.common.Mod.EventHandler;
                                import net.minecraftforge.fml.common.Mod.Instance;
                                import net.minecraftforge.fml.common.SidedProxy;
                                import net.minecraftforge.fml.common.event.FMLInitializationEvent;
                                import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
                                import net.minecraftforge.fml.common.registry.GameRegistry;
                                
                                @Mod(modid = ModMinecraft.MODID, name = "Mod Minecraft", version = "0.1" , acceptedMinecraftVersions = "[1.8.9]")                 
                                public class ModMinecraft 
                                {
                                  public static final String MODID = "wakfu";
                                
                                  @Instance(ModMinecraft.MODID)
                                  public static ModMinecraft instance;
                                
                                  @SidedProxy(clientSide = "fr.premiermod.minecraft.PremierModClient", serverSide = "fr.premiermod.minecraft.PremierModServer")
                                  public static PremierModCommon proxy;
                                  public static Block wakfuBlock;
                                
                                  public static Logger logger;
                                
                                  @EventHandler
                                  public void preInit(FMLPreInitializationEvent event)
                                  {
                                 ModMinecraft.logger = event.getModLog();
                                 ModMinecraft.proxy.preInit(event.getSuggestedConfigurationFile());
                                 wakfuBlock = new WakfuBlock(Material.rock).setUnlocalizedName("Bloc de wakfu").setHardness(8.0F).setCreativeTab(CreativeTabs.tabMaterials);
                                 GameRegistry.registerBlock(wakfuBlock, "bloc_de_wakfu");
                                  }
                                  public void Init(FMLInitializationEvent event)
                                  {
                                 ModMinecraft.proxy.init();
                                      proxy.registerBlockTexture(wakfuBlock,"wakfu_bloc");
                                   }
                                
                                }
                                
                                package fr.premiermod.minecraft;
                                
                                import java.io.File;
                                
                                import net.minecraft.block.Block;
                                import net.minecraft.item.Item;
                                
                                public class PremierModCommon 
                                {
                                public void preInit(File configFile)
                                {
                                System.out.println("pre init côté commun");
                                }
                                public void init()
                                {
                                
                                }
                                protected void registerItemTexture(Item item, int metadata,String name)
                                {
                                
                                }
                                protected void registerItemTexture(Item item, String name)
                                {
                                
                                }
                                protected void registerBlockTexture(Block block, int metadata,String name)
                                {
                                
                                }
                                
                                protected void registerBlockTexture(Block block, String name)
                                {
                                
                                }
                                
                                }
                                
                                @Override
                                  public void registerItemTexture(Item item, int metadata, String name)
                                  {
                                      ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();
                                      mesher.register(item, metadata, new ModelResourceLocation("wakfu:" + name, "inventory"));
                                  }
                                
                                  @Override
                                  public void registerItemTexture(Item item, String name)
                                  {
                                      registerItemTexture(item, 0, name);
                                  }
                                
                                  @Override
                                  public void registerBlockTexture(Block block, int metadata, String name)
                                  {
                                      registerItemTexture(Item.getItemFromBlock(block), metadata, name);
                                  }
                                
                                  @Override
                                  public void registerBlockTexture(Block block, String name)
                                  {
                                      registerBlockTexture(block, 0, name);
                                  }
                                }
                                
                                
                                package fr.premiermod.minecraft;
                                
                                import java.io.File;
                                
                                public class PremierModServer extends PremierModCommon 
                                {
                                
                                @Override
                                public void preInit(File configFile)
                                {
                                super.preInit(configFile);
                                System.out.println("pre init côté serveur");
                                }
                                
                                @Override
                                public void init() 
                                {
                                super.init();
                                }
                                
                                }
                                
                                
                                package fr.premiermod.minecraft;
                                
                                import net.minecraft.block.Block;
                                import net.minecraft.block.material.Material;
                                
                                public class WakfuBlock extends Block {
                                
                                public WakfuBlock(Material materialIn) {
                                super(materialIn);
                                // TODO Auto-generated constructor stub
                                }
                                
                                }
                                
                                

                                En esperant que personne ne devienne aveugle en lisant ça^^, c’est mon premier jet donc je décline toute responsabilité
                                en ce qui concerne la perte de vue et les crises d’hysterie engendrées par du code aussi mal fait  😉

                                Modélisateur sur son temps libre.

                                1 réponse Dernière réponse Répondre Citer 0
                                • robin4002R Hors-ligne
                                  robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                  dernière édition par

                                  Le problème ne vient pas du code java mais des fichiers json qui sont manquants ou mal nommé ou mal placé.

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • TristepinT Hors-ligne
                                    Tristepin
                                    dernière édition par

                                    ok merci 
                                    je vais reprendre toute la partie du tuto sur  les .json

                                    Modélisateur sur son temps libre.

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • Mokona78M Hors-ligne
                                      Mokona78
                                      dernière édition par

                                      D’ailleurs, je me demandais : il n’y a pas de checkers qui pourraient s’occuper de vérifier la cohérence des fichiers json avant de lancer le jeu?

                                      Pour éviter les erreurs les plus grossières (.json invalide, référence invalide,…)

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • TristepinT Hors-ligne
                                        Tristepin
                                        dernière édition par

                                        j’ai tout refais ligne par ligne mais j’ai toujours pas résolus mon soucis, pour la texture, 
                                        je continue quand même à chercher, je met mon dossier src à disposition si jamais tu veux jeter un coup 
                                        d’oeil robin , merci d’avance si tu y pretre attention 😉
                                        http://upload.lescigales.org/mr7b

                                        Modélisateur sur son temps libre.

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • robin4002R Hors-ligne
                                          robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                          dernière édition par

                                          Ton fichier json se nomme wakfu_bloc.json.txt
                                          au lieu de juste : wakfu_bloc.json
                                          Renommes le fichier depuis eclipse pour retirer ce .txt inutile.

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • TristepinT Hors-ligne
                                            Tristepin
                                            dernière édition par

                                            j’ai supprimé l"extension .txt inutiles à tous les fichiers .json mais ça persiste à m’afficher une texture bugé ;(___je déplace mon problème dans la partie support

                                            Modélisateur sur son temps libre.

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB