[1.9] Problème rendu



  • Bonjour,

    J'ai un problème au niveaux du rendu de mon "bloc complexe" qui est une table dans ma main. Je m'explique, le bloc a bien les textures, se pose bien…pas de problème, mais dans ma main, j'ai un gros cube violet/noir que je n'arrive pas à enlever.

    Classe Principale

    package com.example.examplemod;
    
    import fr.yohannlog.blocks.BlockMod;
    import fr.yohannlog.blocks.Table;
    import fr.yohannlog.proxy.CommonProxy;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.renderer.block.model.ModelResourceLocation;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.init.Blocks;
    import net.minecraft.item.Item;
    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 = Main.MOD_ID, name = Main.MOD_NAME, version = Main.VERSION)
    public class Main
    {
     public static final String MOD_ID = "decoplus";
     public static final String MOD_NAME = "Decoration Plus";
     public static final String VERSION = "1.0";
    
     @Instance("decoplus")
     public static Main instance;
    
     @SidedProxy(clientSide = "fr.yohannlog.proxy.ClientProxy", serverSide = "fr.yohannlog.proxy.CommonProxy")
     public static CommonProxy proxy;
    
     @EventHandler
     public void preInit(FMLPreInitializationEvent event)
     {
      BlockMod.init();
      BlockMod.register();
     }
    
     @EventHandler
     public void init(FMLInitializationEvent event)
     {
      proxy.registerRender();
     }
    
     @EventHandler
     public void postInit(FMLPostInitializationEvent event)
     {
    
     }
    }
    

    BlockMod:

    
    package fr.yohannlog.blocks;
    
    import com.example.examplemod.Main;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.renderer.block.model.ModelResourceLocation;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import net.minecraftforge.fml.common.registry.GameRegistry;
    
    public class BlockMod {
    
        public static Block table;
    
        public static void init(){
    
            table = new Table(Material.cloth).setResistance(5.0F).setHardness(3.0F).setCreativeTab(CreativeTabs.tabBlock).setUnlocalizedName("table");
        }
    
        public static void register(){
    
            GameRegistry.registerBlock(table, table.getUnlocalizedName().substring(5));
        }
    
        public static void registerRenders(){
            registerRender(table);
        }
    
        public static void registerRender(Block block){
            Item item = Item.getItemFromBlock(block);
            Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Main.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
        }
    
    }
    
    
    package fr.yohannlog.blocks;
    
    import net.minecraft.block.Block;
    import net.minecraft.util.BlockRenderLayer;
    import net.minecraft.util.EnumBlockRenderType;
    import net.minecraft.block.ITileEntityProvider;
    import net.minecraft.block.material.Material;
    import net.minecraft.block.state.IBlockState;
    import net.minecraft.tileentity.TileEntity;
    import net.minecraft.world.World;
    import net.minecraftforge.fml.relauncher.Side;
    import net.minecraftforge.fml.relauncher.SideOnly;
    
    public class Table extends Block
    {
     public Table(Material material){
      super(material);
     }
    
     public boolean isOpaqueCube(IBlockState state)
        {
            return false;
        }
    
     @SideOnly(Side.CLIENT)
        public BlockRenderLayer getBlockLayer()
        {
            return BlockRenderLayer.CUTOUT;
        }
    
    

    ClientProxy:

    
    package fr.yohannlog.proxy;
    
    import fr.yohannlog.blocks.BlockMod;
    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
    {
        public void registerRenders() {
            BlockMod.registerRenders();
        }
    
    }
    
    

    Commonproxy:

    
    package fr.yohannlog.proxy;
    
    import net.minecraft.block.Block;
    import net.minecraft.item.Item;
    
    public class CommonProxy
    {
        public void registerRender()
        {
            System.out.println("méthode côté serveur");
        }
    
    }
    
    

    Ensuite:

    dans "assets/decoplus/blockstates/table.json"
     -->

     {
        "variants": {
            "normal": { "model": "decoplus:table" }
        }
    }
    

    dans "assets/decoplus/models/block/table.json"
    -->

    {
        "__comment": "Modèle généré par Panaxyar",
        "textures": {
      "particle": "blocks/planks_oak",
             "0": "blocks/cobblestone",
      "-1": "blocks/planks_oak"
        },
        "elements": [
            {
                "name": "Plat",
                "from": [ 1.0, 0.0, 1.0 ],
                "to": [ 15.0, 1.0, 15.0 ],
                "faces": {
                    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 14.0 ] },
                    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 14.0 ] }
                }
            },
            {
                "name": "Tige",
                "from": [ 7.0, 1.0, 7.0 ],
                "to": [ 9.0, 12.0, 9.0 ],
                "faces": {
                    "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 11.0 ] },
                    "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 11.0 ] },
                    "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 11.0 ] },
                    "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 11.0 ] },
                    "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                    "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }
                }
            },
            {
                "name": "Dessus_Table",
                "from": [ 0.0, 12.0, 0.0 ],
                "to": [ 16.0, 13.0, 16.0 ],
                "faces": {
                    "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                    "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                    "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                    "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
                    "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                    "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
                }
            }
        ]
    
    }
    

    dans "assets/decoplus/models/block/table.json"

    –>

    {
        "parent": "decoplus:block/table"
    }
    

    J'espère que vous aurez la solution.

    Yohann.

    Ps: je m'excuse un peu de la façon que j'ai écrit, c'est un peu buggé quand même


  • Administrateurs

    Salut,
    Surtout pas de balise java dans une balise spoiler
    Et pour les json -> balise code.
    Et attention aux retours à la ligne x) Dans ta première classe il y avait 3 retours à la ligne entre chaque ligne de code …
    D'ailleurs tu as envoyé deux fois ta classe principale. Il manque BlockMod et les proxy.

    J'ai pas encore beaucoup regardé la 1.9, mais si c'est comme en 1.8 il faut enregistrer les rendus d'item.



  • Salut,

    J'ai remis les deux classes manquantes.

    Sinon, j'ai regarder mais le code est un peu plus différent dans la 1.9, mais je n'ai toujours pas trouvé pour le rendus d'Item.


  • Administrateurs

    Bon visiblement tu as bien cette fonction :
    Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Main.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
    Et elle est bien appelé via le client proxy.

    As-tu quelques chose dans les logs ?



  • Je n'ai pas l'impression:

    
    2016-03-21 14:57:59,448 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 14:57:59,449 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [14:57:59] [main/INFO] [GradleStart]: username: yofrgames@outlook.fr
    [14:57:59] [main/INFO] [GradleStart]: Extra: []
    [14:57:59] [main/INFO] [GradleStart]: Password found, attempting login
    [14:57:59] [main/INFO]: Logging in with username & password
    [14:58:00] [main/INFO] [GradleStart]: Login Succesful!
    [14:58:00] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, [], –assetsDir, C:/Users/yofrg/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --userType, mojang, --accessToken{REDACTED}, --version, 1.9, --uuid, 819db7a6ad3a40729d35fbff2faf592c, --username, EngiiSikar, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [14:58:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [14:58:00] [main/INFO] [FML]: Forge Mod Loader version 12.16.0.1776 for Minecraft 1.9 loading
    [14:58:00] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_74, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_74
    [14:58:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [14:58:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [14:58:00] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [14:58:00] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [14:58:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [14:58:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [14:58:00] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [14:58:01] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [14:58:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [14:58:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [14:58:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [14:58:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [14:58:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [14:58:02] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    2016-03-21 14:58:02,625 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 14:58:02,648 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 14:58:02,649 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [14:58:02] [Client thread/INFO]: Setting user: EngiiSikar
    [14:58:05] [Client thread/INFO]: LWJGL Version: 2.9.4
    [14:58:05] [Client thread/WARN] [FML]: =============================================================
    [14:58:05] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
    [14:58:05] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
    [14:58:05] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
    [14:58:05] [Client thread/WARN] [FML]: =============================================================
    [14:58:06] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:250]: –-- Minecraft Crash Report ----
    // I'm sorry, Dave.
    
    Time: 21/03/16 14:58
    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_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 4812276464 bytes (4589 MB) / 5173149696 bytes (4933 MB) up to 5173149696 bytes (4933 MB)
    JVM Flags: 3 total; -Xincgc -Xmx5000M -Xms5000M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.15.4256' Renderer: 'Intel(R) HD Graphics 4600'
    [14:58:06] [Client thread/INFO] [FML]: MinecraftForge v12.16.0.1776 Initialized
    [14:58:06] [Client thread/INFO] [FML]: Replaced 207 ore recipies
    [14:58:06] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [14:58:06] [Client thread/INFO] [FML]: Searching C:\Users\yofrg\Desktop\Minecraft Forge Mods\Improvization\run\mods for mods
    [14:58:07] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [14:58:07] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, decoplus] at CLIENT
    [14:58:07] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, decoplus] at SERVER
    [14:58:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
    [14:58:08] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [14:58:08] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations
    [14:58:08] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [14:58:08] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [14:58:08] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [14:58:08] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [14:58:08] [Client thread/INFO] [FML]: Applying holder lookups
    [14:58:08] [Client thread/INFO] [FML]: Holder lookups applied
    [14:58:08] [Client thread/INFO] [FML]: Injecting itemstacks
    [14:58:08] [Client thread/INFO] [FML]: Itemstack injection complete
    [14:58:08] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA_OUTDATED Target: 12.16.0.1780
    [14:58:10] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [14:58:10] [Thread-8/INFO]: Initializing LWJGL OpenAL
    [14:58:10] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [14:58:10] [Thread-8/INFO]: OpenAL initialized.
    [14:58:10] [Sound Library Loader/INFO]: Sound engine started
    [14:58:12] [Client thread/INFO] [FML]: Max texture size: 16384
    [14:58:12] [Client thread/INFO]: Created: 16x16 textures-atlas
    [14:58:13] [Client thread/INFO] [STDOUT]: [fr.yohannlog.proxy.CommonProxy:registerRender:10]: méthode côté serveur
    [14:58:13] [Client thread/INFO] [FML]: Injecting itemstacks
    [14:58:13] [Client thread/INFO] [FML]: Itemstack injection complete
    [14:58:13] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.RecipeTippedArrow Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [14:58:13] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.ShieldRecipes$Decoration Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [14:58:13] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [14:58:13] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
    [14:58:15] [Client thread/INFO]: SoundSystem shutting down…
    [14:58:15] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [14:58:15] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [14:58:15] [Thread-10/INFO]: Initializing LWJGL OpenAL
    [14:58:15] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [14:58:15] [Thread-10/INFO]: OpenAL initialized.
    [14:58:16] [Sound Library Loader/INFO]: Sound engine started
    [14:58:17] [Client thread/INFO] [FML]: Max texture size: 16384
    [14:58:18] [Client thread/INFO]: Created: 1024x512 textures-atlas
    [14:58:22] [Server thread/INFO]: Starting integrated minecraft server version 1.9
    [14:58:22] [Server thread/INFO]: Generating keypair
    [14:58:22] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [14:58:22] [Server thread/INFO] [FML]: Found a missing id from the world decoplus:lampe_trust
    [14:58:22] [Server thread/INFO] [FML]: Applying holder lookups
    [14:58:22] [Server thread/INFO] [FML]: Holder lookups applied
    [14:58:22] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@6b76ee36)
    [14:58:22] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@6b76ee36)
    [14:58:22] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@6b76ee36)
    [14:58:22] [Server thread/INFO]: Preparing start region for level 0
    [14:58:23] [Server thread/INFO]: Changing view distance to 12, from 10
    [14:58:24] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [14:58:24] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [14:58:24] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.0.99.99,Forge@12.16.0.1776,mcp@9.19,decoplus@1.0
    [14:58:24] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [14:58:24] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [14:58:24] [Server thread/INFO]: EngiiSikar[local:E:db134999] logged in with entity id 118 at (-137.21587258469495, 4.0, -1996.5094658173366)
    [14:58:24] [Server thread/INFO]: EngiiSikar joined the game
    [14:58:25] [Server thread/INFO]: Saving and pausing game…
    [14:58:25] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [14:58:25] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [14:58:25] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [14:58:30] [Server thread/INFO]: [EngiiSikar: Set the time to 0]
    [14:58:30] [Client thread/INFO]: [CHAT] Set the time to 0
    [14:58:43] [Server thread/INFO]: Saving and pausing game…
    [14:58:43] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [14:58:43] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [14:58:43] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    
    

    sinon:
    http://www.hostingpics.net/viewer.php?id=831412Sanstitre.png


  • Administrateurs

    Dans ta classe principale, mets cette ligne :
    proxy.registerRender();
    Dans preInit après les blocs au lieu d'init.



  • Toujours le même problème:

    Classe Principale:

    
    package com.example.examplemod;
    
    import fr.yohannlog.blocks.BlockMod;
    import fr.yohannlog.blocks.Table;
    import fr.yohannlog.proxy.CommonProxy;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.renderer.block.model.ModelResourceLocation;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.init.Blocks;
    import net.minecraft.item.Item;
    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 = Main.MOD_ID, name = Main.MOD_NAME, version = Main.VERSION)
    public class Main
    {
    
    public static final String MOD_ID = "decoplus";
    public static final String MOD_NAME = "Decoration Plus";
    public static final String VERSION = "1.0";
    
    @Instance("decoplus")
    public static Main instance;
    
    @SidedProxy(clientSide = "fr.yohannlog.proxy.ClientProxy", serverSide = "fr.yohannlog.proxy.CommonProxy")
    public static CommonProxy proxy;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    BlockMod.init();
    proxy.registerRender();
    BlockMod.register();
    
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
    
    }
    }
    
    

    Logs:

    
    2016-03-21 17:20:52,842 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 17:20:52,843 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [17:20:52] [main/INFO] [GradleStart]: username: yofrgames@outlook.fr
    [17:20:52] [main/INFO] [GradleStart]: Extra: []
    [17:20:52] [main/INFO] [GradleStart]: Password found, attempting login
    [17:20:52] [main/INFO]: Logging in with username & password
    [17:20:54] [main/INFO] [GradleStart]: Login Succesful!
    [17:20:54] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, [], –assetsDir, C:/Users/yofrg/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --userType, mojang, --accessToken{REDACTED}, --version, 1.9, --uuid, 819db7a6ad3a40729d35fbff2faf592c, --username, EngiiSikar, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [17:20:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [17:20:54] [main/INFO] [FML]: Forge Mod Loader version 12.16.0.1776 for Minecraft 1.9 loading
    [17:20:54] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_74, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_74
    [17:20:54] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [17:20:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [17:20:54] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [17:20:54] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [17:20:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:20:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [17:20:54] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [17:20:55] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [17:20:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [17:20:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [17:20:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [17:20:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [17:20:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [17:20:56] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    2016-03-21 17:20:56,720 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 17:20:56,744 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 17:20:56,746 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [17:20:57] [Client thread/INFO]: Setting user: EngiiSikar
    [17:20:59] [Client thread/INFO]: LWJGL Version: 2.9.4
    [17:21:00] [Client thread/WARN] [FML]: =============================================================
    [17:21:00] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
    [17:21:00] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
    [17:21:00] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
    [17:21:00] [Client thread/WARN] [FML]: =============================================================
    [17:21:00] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:250]: –-- Minecraft Crash Report ----
    // This doesn't make any sense!
    
    Time: 21/03/16 17:21
    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_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 4832696064 bytes (4608 MB) / 5173149696 bytes (4933 MB) up to 5173149696 bytes (4933 MB)
    JVM Flags: 3 total; -Xincgc -Xmx5000M -Xms5000M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.15.4256' Renderer: 'Intel(R) HD Graphics 4600'
    [17:21:00] [Client thread/INFO] [FML]: MinecraftForge v12.16.0.1776 Initialized
    [17:21:00] [Client thread/INFO] [FML]: Replaced 207 ore recipies
    [17:21:01] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [17:21:01] [Client thread/INFO] [FML]: Searching C:\Users\yofrg\Desktop\Minecraft Forge Mods\Improvization\run\mods for mods
    [17:21:02] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [17:21:02] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, decoplus] at CLIENT
    [17:21:02] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, decoplus] at SERVER
    [17:21:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
    [17:21:02] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [17:21:02] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations
    [17:21:02] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [17:21:02] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [17:21:03] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [17:21:03] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [17:21:03] [Client thread/INFO] [STDOUT]: [fr.yohannlog.proxy.CommonProxy:registerRender:10]: méthode côté serveur
    [17:21:03] [Client thread/INFO] [FML]: Applying holder lookups
    [17:21:03] [Client thread/INFO] [FML]: Holder lookups applied
    [17:21:03] [Client thread/INFO] [FML]: Injecting itemstacks
    [17:21:03] [Client thread/INFO] [FML]: Itemstack injection complete
    [17:21:03] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA_OUTDATED Target: 12.16.0.1782
    [17:21:14] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [17:21:14] [Thread-8/INFO]: Initializing LWJGL OpenAL
    [17:21:14] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [17:21:14] [Thread-8/INFO]: OpenAL initialized.
    [17:21:14] [Sound Library Loader/INFO]: Sound engine started
    [17:21:16] [Client thread/INFO] [FML]: Max texture size: 16384
    [17:21:16] [Client thread/INFO]: Created: 16x16 textures-atlas
    [17:21:17] [Client thread/INFO] [FML]: Injecting itemstacks
    [17:21:17] [Client thread/INFO] [FML]: Itemstack injection complete
    [17:21:17] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.RecipeTippedArrow Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [17:21:17] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.ShieldRecipes$Decoration Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [17:21:18] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [17:21:18] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
    [17:21:19] [Client thread/INFO]: SoundSystem shutting down…
    [17:21:19] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [17:21:19] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [17:21:19] [Thread-10/INFO]: Initializing LWJGL OpenAL
    [17:21:19] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [17:21:19] [Thread-10/INFO]: OpenAL initialized.
    [17:21:20] [Sound Library Loader/INFO]: Sound engine started
    [17:21:21] [Client thread/INFO] [FML]: Max texture size: 16384
    [17:21:22] [Client thread/INFO]: Created: 1024x512 textures-atlas
    [17:21:44] [Server thread/INFO]: Starting integrated minecraft server version 1.9
    [17:21:44] [Server thread/INFO]: Generating keypair
    [17:21:44] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [17:21:44] [Server thread/INFO] [FML]: Found a missing id from the world decoplus:lampe_trust
    [17:21:44] [Server thread/INFO] [FML]: Applying holder lookups
    [17:21:44] [Server thread/INFO] [FML]: Holder lookups applied
    [17:21:44] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@f24bcd0)
    [17:21:45] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@f24bcd0)
    [17:21:45] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@f24bcd0)
    [17:21:45] [Server thread/INFO]: Preparing start region for level 0
    [17:21:45] [Server thread/INFO]: Changing view distance to 12, from 10
    [17:21:47] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
    [17:21:47] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
    [17:21:47] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.0.99.99,Forge@12.16.0.1776,mcp@9.19,decoplus@1.0
    [17:21:47] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
    [17:21:47] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
    [17:21:47] [Server thread/INFO]: EngiiSikar[local:E:e962c4bc] logged in with entity id 119 at (-137.5606069842354, 4.0, -1995.276959284508)
    [17:21:47] [Server thread/INFO]: EngiiSikar joined the game
    [17:21:47] [Server thread/INFO]: Saving and pausing game…
    [17:21:47] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [17:21:48] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [17:21:48] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [17:22:58] [Server thread/INFO]: Saving and pausing game…
    [17:22:58] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [17:22:58] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [17:22:58] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    z[17:23:34] [Server thread/INFO]: Stopping server
    [17:23:34] [Server thread/INFO]: Saving players
    [17:23:34] [Server thread/INFO]: Saving worlds
    [17:23:34] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [17:23:34] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [17:23:34] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [17:23:34] [Server thread/INFO] [FML]: Unloading dimension 0
    [17:23:34] [Server thread/INFO] [FML]: Unloading dimension 0
    [17:23:34] [Server thread/INFO] [FML]: Unloading dimension 0
    [17:23:34] [Server thread/INFO] [FML]: Applying holder lookups
    [17:23:34] [Server thread/INFO] [FML]: Holder lookups applied
    [17:23:35] [Client thread/INFO]: Stopping!
    [17:23:35] [Client thread/INFO]: SoundSystem shutting down…
    [17:23:35] [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
    
    

  • Administrateurs

    Cette fois il n'y a plus rien dans les logs.
    Essayes de mettre à jour forge, le problème vient peut-être de là, Forge 1.9 n'est pas encore stable.



  • Je vais tester. Et d'ailleurs, j'ai deux crash:

    
    2016-03-21 21:47:46,212 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 21:47:46,214 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [21:47:46] [main/INFO] [GradleStart]: username: yofrgames@outlook.fr
    [21:47:46] [main/INFO] [GradleStart]: Extra: []
    [21:47:46] [main/INFO] [GradleStart]: Password found, attempting login
    [21:47:46] [main/INFO]: Logging in with username & password
    [21:47:46] [main/INFO] [GradleStart]: Login Succesful!
    [21:47:47] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, [], –assetsDir, C:/Users/yofrg/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --userType, mojang, --accessToken{REDACTED}, --version, 1.9, --uuid, 819db7a6ad3a40729d35fbff2faf592c, --username, EngiiSikar, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
    [21:47:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:47:47] [main/INFO] [FML]: Forge Mod Loader version 12.16.0.1776 for Minecraft 1.9 loading
    [21:47:47] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_74, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_74
    [21:47:47] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [21:47:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
    [21:47:47] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
    [21:47:47] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [21:47:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:47:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [21:47:47] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [21:47:48] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [21:47:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [21:47:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [21:47:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
    [21:47:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [21:47:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [21:47:48] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    2016-03-21 21:47:49,156 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 21:47:49,178 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    2016-03-21 21:47:49,179 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    [21:47:49] [Client thread/INFO]: Setting user: EngiiSikar
    [21:47:51] [Client thread/INFO]: LWJGL Version: 2.9.4
    [21:47:52] [Client thread/WARN] [FML]: =============================================================
    [21:47:52] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
    [21:47:52] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
    [21:47:52] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
    [21:47:52] [Client thread/WARN] [FML]: =============================================================
    [21:47:52] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:250]: –-- Minecraft Crash Report ----
    // I bet Cylons wouldn't have this problem.
    
    Time: 21/03/16 21:47
    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_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 4798383464 bytes (4576 MB) / 5173149696 bytes (4933 MB) up to 5173149696 bytes (4933 MB)
    JVM Flags: 3 total; -Xincgc -Xmx5000M -Xms5000M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.15.4256' Renderer: 'Intel(R) HD Graphics 4600'
    [21:47:52] [Client thread/INFO] [FML]: MinecraftForge v12.16.0.1776 Initialized
    [21:47:52] [Client thread/INFO] [FML]: Replaced 207 ore recipies
    [21:47:52] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [21:47:52] [Client thread/INFO] [FML]: Searching C:\Users\yofrg\Desktop\Minecraft Forge Mods\Improvization\run\mods for mods
    [21:47:54] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [21:47:54] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, decoplus] at CLIENT
    [21:47:54] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, decoplus] at SERVER
    [21:47:55] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
    [21:47:55] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [21:47:55] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations
    [21:47:55] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [21:47:55] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [21:47:55] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [21:47:55] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [21:47:55] [Client thread/INFO] [FML]: Applying holder lookups
    [21:47:55] [Client thread/INFO] [FML]: Holder lookups applied
    [21:47:55] [Client thread/INFO] [FML]: Injecting itemstacks
    [21:47:55] [Client thread/INFO] [FML]: Itemstack injection complete
    [21:47:55] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA_OUTDATED Target: 12.16.0.1782
    [21:47:56] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [21:47:57] [Thread-8/INFO]: Initializing LWJGL OpenAL
    [21:47:57] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [21:47:57] [Thread-8/INFO]: OpenAL initialized.
    [21:47:57] [Sound Library Loader/INFO]: Sound engine started
    [21:47:59] [Client thread/INFO] [FML]: Max texture size: 16384
    [21:47:59] [Client thread/INFO]: Created: 16x16 textures-atlas
    [21:48:00] [Client thread/ERROR] [FML]: Exception loading model for variant decoplus:table#inventory for item "decoplus:table"
    java.lang.Exception: Could not load item model either from the normal location decoplus:item/table 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_74]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_74]
    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_74]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_74]
    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 decoplus:table#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
    [21:48:00] [Client thread/INFO] [FML]: Injecting itemstacks
    [21:48:00] [Client thread/INFO] [FML]: Itemstack injection complete
    [21:48:00] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.RecipeTippedArrow Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [21:48:00] [Client thread/INFO] [FML]:   Unknown recipe class! net.minecraft.item.crafting.ShieldRecipes$Decoration Modder please refer to net.minecraftforge.oredict.RecipeSorter
    [21:48:00] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [21:48:00] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
    [21:48:02] [Client thread/INFO]: SoundSystem shutting down…
    [21:48:02] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [21:48:02] [Sound Library Loader/INFO]: Starting up SoundSystem…
    [21:48:02] [Thread-10/INFO]: Initializing LWJGL OpenAL
    [21:48:02] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [21:48:02] [Thread-10/INFO]: OpenAL initialized.
    [21:48:03] [Sound Library Loader/INFO]: Sound engine started
    [21:48:04] [Client thread/INFO] [FML]: Max texture size: 16384
    [21:48:04] [Client thread/INFO]: Created: 1024x512 textures-atlas
    [21:48:05] [Client thread/ERROR] [FML]: Exception loading model for variant decoplus:table#inventory for item "decoplus:table"
    java.lang.Exception: Could not load item model either from the normal location decoplus:item/table 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_74]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_74]
    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_74]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_74]
    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 decoplus:table#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
    
    

    D'ailleurs, le "proxy.registerRenders()" crash quand on le met en preInit donc je l'ai remis à sa place


  • Administrateurs

    C'est pas un crash, il indique juste qu'il y a un problème avec le chargement de ça :
    [21:48:00] [Client thread/ERROR] [FML]: Exception loading model for variant decoplus:table#inventory for item "decoplus:table"

    Le fichier est bien présent et au bon endroit ?



  • Oui, il est bien présent mais fonctionne tjr pas



  • Vérifie que ta aucune petite faute de frappe dans tes dossiers et fichiers



  • Non sérieusement, ca ne marche pas.

    Il y aurai une alternative autre que le .json ou autre ?



  • J'ai demander à un autre dev de m'aider mais sans succes, j'ai l'impression que c'est un sacré bug ou alors j'ai oublier quelque chose…



  • Je sais pas, un moment j'avais un truc comme ça, j'ai ouvert l'image avec paint.NET sans la modifier et y avait plus de problème, elle devait etre corrompue. Et comme t'es en 1.9 et que c'est encore en Alpha, c'est peut etre ça…



  • Ducoup, comme je pense que cela vient de forge, je vais attendre avant de le mettre en résolu. Je verrai avec certains mecs de forge pour plus de précision. Si c'est buggé pour le moment alors je le mettrai en résolu