Problème de compilation de mon mod



  • Bonjour à tous 🙂 , je viens à vous aujourd'hui pour quérir votre précieuse aide. 😛
    J'ai créé un mod avec forge en version 10.13.0.1180 et MC en version 1.7.10.

    Quand je suis dans Eclipse pas de problème, mon mod tourne. Ensuite je compile mon mod avec gradlew build . Le build fonction (ce qu'il dit :huh: )
    Mais ensuite quand je met le .jar dans le dossier mod de mon MC, le mod ne fonctionne pas alors que d'autres aussi sous forge fonctionnent.

    Merci de m'avoir lu et de votre futur aide. 🙂 Bonne fin de journée

    voici le cmd lors de la compilation, pour plus de renseignement n'hésitez pas à me demander 🙂

    The assetDir is deprecated! Use runDir instead! runDir set to eclipse/assets/..The assetDir is deprecated! Use runDir instead! runDir set to eclipse/assets/..
    
    ****************************
    Powered By MCP:
    http://mcp.ocean-labs.de/
    Searge, ProfMobius, Fesh0r,
    R4wk, ZeuX, IngisKahn
    MCP Data version : unknown
    ****************************
    :compileApiJava UP-TO-DATE
    :processApiRessources UP-TO-DATE
    :apiClasses UP-TO-DATE
    :sourceMainJava UP-TO-DATE
    :compileJava UP-TO-DATE
    :ProcessResources UP-TO-DATE
    :classes UP-TO-DATE
    :jar
    :extractUserDev UP-TO-DATE
    :getAssetsIndex
    :getAssets
    :makeStart SKIPPED
    :compileTestJava UP-TO-DATE
    :processTestRessources UP-TO-DATE
    :testClasses UP-TO-DATE
    :test UP-TO-DATE
    :genSrgs SKIPPED
    :reobf
    :assemble
    :check UP-TO-DATE
    :build
    
    BUILD SUCCESSFUL
    
    Total time: 19.504 secs
    

  • Administrateurs

    .minecraft/logs/fml-client-latest.log
    (ou un truc comme ça)
    Il me faut le contenu de ce fichier, les logs du build ne servent strictement à rien.



  • voilà 🙂
    http://textup.fr/100518uu

    trop long pour être posté ici 😉



  • Je viens de regarder les logs. Sauf erreur de ma part, je pense que cela viens de ton fichier mcmod.info. Tu es sûr qu'il y a ce fichier ? Tu l'as rempli sans erreurs ?



  • je sais pas je te le donne :

    
    [
    {
    "modid": "skycraft",
    "name": "Skycraft",
    "description": "Skycraft is a MC mod about Skyrim (Captain Obvious ^^)",
    "version": "1.0.0",
    "mcversion": "1.7.10",
    "logoFile": "",
    "url": "",
    "updateUrl": "",
    "authors": ["TBD"],
    "credits": "Thanks to Thomas7643 who helps me to create this mod, his Yt channel : https://www.youtube.com/channel/UCOYYbrCerrMgHLLThtkOusg",
    "parent": "",
    "screenshots": [""],
    "dependencies": [""]
    }
    ]
    
    

  • Administrateurs

    [19:02:07] [Client thread/WARN] [FML/]: Zip file modid-1.0.jar failed to read properly, it will be ignored
    java.lang.RuntimeException: Empty reference
    at cpw.mods.fml.common.versioning.VersionParser.parseVersionReference(VersionParser.java:44) ~[VersionParser.class:?]
    at cpw.mods.fml.common.MetadataCollection$ArtifactVersionAdapter.read(MetadataCollection.java:120) ~[MetadataCollection$ArtifactVersionAdapter.class:?]
    at cpw.mods.fml.common.MetadataCollection$ArtifactVersionAdapter.read(MetadataCollection.java:108) ~[MetadataCollection$ArtifactVersionAdapter.class:?]
    at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) ~[TypeAdapterRuntimeTypeWrapper.class:?]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81) ~[CollectionTypeAdapterFactory$Adapter.class:?]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) ~[CollectionTypeAdapterFactory$Adapter.class:?]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) ~[ReflectiveTypeAdapterFactory$1.class:?]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:868) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:841) ~[Gson.class:?]
    at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:64) ~[MetadataCollection.class:?]
    at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:53) [JarDiscoverer.class:?]
    at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]
    at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]
    at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?]
    at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?]
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?]
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) [bao.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    
    [19:02:07] [Client thread/WARN] [FML/]: Zip file skycraft-1.7.10-1.0.0.jar failed to read properly, it will be ignored
    java.lang.RuntimeException: Empty reference
    at cpw.mods.fml.common.versioning.VersionParser.parseVersionReference(VersionParser.java:44) ~[VersionParser.class:?]
    at cpw.mods.fml.common.MetadataCollection$ArtifactVersionAdapter.read(MetadataCollection.java:120) ~[MetadataCollection$ArtifactVersionAdapter.class:?]
    at cpw.mods.fml.common.MetadataCollection$ArtifactVersionAdapter.read(MetadataCollection.java:108) ~[MetadataCollection$ArtifactVersionAdapter.class:?]
    at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) ~[TypeAdapterRuntimeTypeWrapper.class:?]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81) ~[CollectionTypeAdapterFactory$Adapter.class:?]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) ~[CollectionTypeAdapterFactory$Adapter.class:?]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) ~[ReflectiveTypeAdapterFactory$1.class:?]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ~[ReflectiveTypeAdapterFactory$Adapter.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:868) ~[Gson.class:?]
    at com.google.gson.Gson.fromJson(Gson.java:841) ~[Gson.class:?]
    at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:64) ~[MetadataCollection.class:?]
    at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:53) [JarDiscoverer.class:?]
    at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]
    at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]
    at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:123) [ModDiscoverer.class:?]
    at cpw.mods.fml.common.Loader.identifyMods(Loader.java:347) [Loader.class:?]
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:468) [Loader.class:?]
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) [bao.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_11]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_11]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    

    Ces deux mods ne sont pas chargés, ce sont les tiens ?



  • yep enfaite ce sont les mêmes sauf qu'avec modid … je n'avais pas modifier le gradlew build
    Edit: j'ai supprimer le modid...



  • TheBlueDemon, même si cela n'a rien à voir avec ton mod, dans ton mcmod.info :

    ce n'est plus authors mais authorList



  • merci de la précision 🙂


  • Administrateurs

    Et ça ne fonctionne toujours pas ?
    Si non, envoie l'archive.



  • non toujours pas


  • Administrateurs

    Je vois pas trop d'où ça peut venir, tu peux envoyer ta classe principale ?



  • voila

    package mod.skycraft.common;
    
    import mod.skycraft.creativeTab.ArmorSkycraftCreativeTab;
    import mod.skycraft.creativeTab.BlockSkycraftCreativeTab;
    import mod.skycraft.creativeTab.CombatSkycraftCreativeTab;
    import mod.skycraft.creativeTab.MaterialSkycraftCreativeTab;
    import mod.skycraft.proxy.CommonProxy;
    import mod.skycraft.world.OreGenerator;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.init.Items;
    import net.minecraft.item.Item;
    import net.minecraft.item.Item.ToolMaterial;
    import net.minecraft.item.ItemBlock;
    import net.minecraft.item.ItemStack;
    import net.minecraft.item.ItemArmor.ArmorMaterial;
    import net.minecraftforge.common.MinecraftForge;
    import net.minecraftforge.common.util.EnumHelper;
    
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.Mod.Instance;
    import cpw.mods.fml.common.SidedProxy;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPostInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    
    @Mod(modid = "skycraft", name = "Skycraft", version = "1.0.0")
    
    public class Skycraft
    {
        @Instance("skycraft")
        public static Skycraft instance;
    
        @SidedProxy(clientSide = "mod.skycraft.proxy.ClientProxy", serverSide = "mod.skycraft.proxy.CommonProxy")
        public static CommonProxy proxy;
    
        public static Item itemOrichalque;
        public static Item itemDwemer;
        public static Item itemLune;
        public static Item itemMalachite;
        public static Item itemCorindon;
        public static Item itemSteel;
        public static Item itemDaedricHearth;
        public static Item itemDragonBone;
    
        public static Item itemOrichalqueHelmet;
        public static Item itemOrichalqueChestplate;
        public static Item itemOrichalqueLeg;
        public static Item itemOrichalqueShoes;
        public static Item itemDwemerHelmet;
        public static Item itemDwemerChestplate;
        public static Item itemDwemerLeg;
        public static Item itemDwemerShoes;
        public static Item itemElvenHelmet;
        public static Item itemElvenChestplate;
        public static Item itemElvenLeg;
        public static Item itemElvenShoes;
        public static Item itemMalachiteHelmet;
        public static Item itemMalachiteChestplate;
        public static Item itemMalachiteLeg;
        public static Item itemMalachiteShoes;
        public static Item itemDragonHelmet;
        public static Item itemDragonChestplate;
        public static Item itemDragonLeg;
        public static Item itemDragonShoes;
        public static Item itemSteelHelmet;
        public static Item itemSteelChestplate;
        public static Item itemSteelLeg;
        public static Item itemSteelShoes;
        public static Item itemDaedricHelmet;
        public static Item itemDaedricChestplate;
        public static Item itemDaedricLeg;
        public static Item itemDaedricShoes;
        public static Item itemPlateHelmet;
        public static Item itemPlateChestplate;
        public static Item itemPlateLeg;
        public static Item itemPlateShoes;
    
        public static Block blockOrichalque;
        public static Block blockDwemer;
        public static Block blockLune;
        public static Block blockMalachite;
        public static Block blockCorindon;
    
        public static Item swordDaedric;
        public static Item swordDragon;
        public static Item swordOrichalque;
        public static Item swordMalachite;
        public static Item swordSteel;
        public static Item swordDwemer;
        public static Item swordElven;
    
        static ToolMaterial DaedricMaterial = EnumHelper.addToolMaterial("Daedric", 3, 5000, 14.0F, 6.0F, 30);
        static ToolMaterial DragonMaterial = EnumHelper.addToolMaterial("Dragon", 3, 3000, 12.0F, 5.0F, 13);
        static ToolMaterial OrichalqueMaterial = EnumHelper.addToolMaterial("Orichalque", 3, 2000, 10.0F, 4.0F, 15);
        static ToolMaterial MalachiteMaterial = EnumHelper.addToolMaterial("Malachite", 3, 1561, 8.0F, 3.0F, 20);
        static ToolMaterial SteelMaterial = EnumHelper.addToolMaterial("Steel", 3, 1561, 8.0F, 2.5F, 10);
        static ToolMaterial DwemerMaterial = EnumHelper.addToolMaterial("Dwemer", 3, 1561, 8.0F, 2.0F, 17);
        static ToolMaterial ElvenMaterial = EnumHelper.addToolMaterial("Eleven", 3, 1561, 8.0F, 1.5F, 25);
    
        public static ArmorMaterial armorOrichalque = EnumHelper.addArmorMaterial("armorOrichalque", 36, new int[] {4, 6, 5, 4}, 15);
        public static ArmorMaterial armorElven = EnumHelper.addArmorMaterial("armorElven", 10, new int[] {4, 6, 5, 4}, 25);
        public static ArmorMaterial armorMalachite = EnumHelper.addArmorMaterial("armorMalachite", 33, new int[] {4, 6, 5, 4}, 20);
        public static ArmorMaterial armorPlate = EnumHelper.addArmorMaterial("armorPlate", 25, new int[] {4, 6, 5, 4}, 15);
        public static ArmorMaterial armorDaedric = EnumHelper.addArmorMaterial("armorDaedric", 50, new int[] {4, 6, 5, 4}, 30);
        public static ArmorMaterial armorDragon = EnumHelper.addArmorMaterial("armorDragon", 45, new int[] {4, 6, 5, 4}, 13);
        public static ArmorMaterial armorDwemer = EnumHelper.addArmorMaterial("armorDwemer", 15, new int[] {4, 6, 5, 4}, 17);
        public static ArmorMaterial armorSteel = EnumHelper.addArmorMaterial("armorSteel", 20, new int[] {4, 6, 5, 4}, 10);
    
        public static final CreativeTabs armorSkycraftCreativeTab = new ArmorSkycraftCreativeTab("armorSkycraftCreativeTab");
        public static final CreativeTabs combatSkycraftCreativeTab = new CombatSkycraftCreativeTab("combatSkycraftCreativeTab");
        public static final CreativeTabs materialSkycraftCreativeTab = new MaterialSkycraftCreativeTab("materialSkycraftCreativeTab");
        public static final CreativeTabs blockSkycraftCreativeTab = new BlockSkycraftCreativeTab("blockSkycraftCreativeTab");
    
        @EventHandler
        public void preInit(FMLPreInitializationEvent event)
        {
    
            itemOrichalque = new ItemOrichalque().setUnlocalizedName("orichalqueingot").setTextureName("modtest:itemorichalque").setCreativeTab(materialSkycraftCreativeTab);
            itemDwemer = new ItemDwemer().setUnlocalizedName("dwemeringot").setTextureName("modtest:itemdwemer").setCreativeTab(materialSkycraftCreativeTab);
            itemLune = new ItemLune().setUnlocalizedName("luneingot").setTextureName("modtest:itemlune").setCreativeTab(materialSkycraftCreativeTab);
            itemMalachite = new ItemMalachite().setUnlocalizedName("malachiteingot").setTextureName("modtest:itemmalachite").setCreativeTab(materialSkycraftCreativeTab);
            itemCorindon = new ItemCorindon().setUnlocalizedName("corindoningot").setTextureName("modtest:itemcoridon").setCreativeTab(materialSkycraftCreativeTab);
            itemSteel = new ItemSteel().setUnlocalizedName("steelingot").setTextureName("modtest:itemsteel").setCreativeTab(materialSkycraftCreativeTab);
            itemDragonBone = new ItemDragonScale().setUnlocalizedName("dragonbone").setTextureName("modtest:itemdragonbone").setCreativeTab(materialSkycraftCreativeTab);
            itemDaedricHearth = new ItemDaedricHearth().setUnlocalizedName("daedrichearth").setTextureName("modtest:itemdaedrichearth").setCreativeTab(materialSkycraftCreativeTab);
    
            blockOrichalque = new BlockOrichalque(Material.rock).setBlockName("orichalque").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("modtest:block_orichalque").setCreativeTab(blockSkycraftCreativeTab);
            blockDwemer = new BlockDwemer(Material.rock).setBlockName("dwemer").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("modtest:block_dwemer").setCreativeTab(blockSkycraftCreativeTab);
            blockLune = new BlockLune(Material.rock).setBlockName("lune").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("modtest:block_lune").setCreativeTab(blockSkycraftCreativeTab);
            blockMalachite = new BlockMalachite(Material.rock).setBlockName("malachite").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("modtest:block_malachite").setCreativeTab(blockSkycraftCreativeTab);
            blockCorindon = new BlockCorindon(Material.rock).setBlockName("corindon").setHardness(3.0F).setResistance(5.0F).setBlockTextureName("modtest:block_corindon").setCreativeTab(blockSkycraftCreativeTab);
    
            itemOrichalqueHelmet = new ItemOrichalqueArmor(armorOrichalque, 0).setUnlocalizedName("helmetOrichalque").setTextureName("modtest:helmet_orichalque").setCreativeTab(armorSkycraftCreativeTab);
            itemOrichalqueChestplate = new ItemOrichalqueArmor(armorOrichalque, 1).setUnlocalizedName("chestPlateOrichalque").setTextureName("modtest:chestplate_orichalque").setCreativeTab(armorSkycraftCreativeTab);
            itemOrichalqueLeg = new ItemOrichalqueArmor(armorOrichalque, 2).setUnlocalizedName("leggingsOrichalque").setTextureName("modtest:leggings_orichalque").setCreativeTab(armorSkycraftCreativeTab);
            itemOrichalqueShoes = new ItemOrichalqueArmor(armorOrichalque, 3).setUnlocalizedName("bootsOrichalque").setTextureName("modtest:boots_orichalque").setCreativeTab(armorSkycraftCreativeTab);
    
            itemDwemerHelmet = new ItemDwemerArmor(armorDwemer, 0).setUnlocalizedName("helmetDwemer").setTextureName("modtest:helmet_dwemer").setCreativeTab(armorSkycraftCreativeTab);
            itemDwemerChestplate = new ItemDwemerArmor(armorDwemer, 1).setUnlocalizedName("chestPlateDwemer").setTextureName("modtest:chestplate_dwemer").setCreativeTab(armorSkycraftCreativeTab);
            itemDwemerLeg = new ItemDwemerArmor(armorDwemer, 2).setUnlocalizedName("leggingsDwemer").setTextureName("modtest:leggings_dwemer").setCreativeTab(armorSkycraftCreativeTab);
            itemDwemerShoes = new ItemDwemerArmor(armorDwemer, 3).setUnlocalizedName("bootsDwemer").setTextureName("modtest:boots_dwemer").setCreativeTab(armorSkycraftCreativeTab);
    
            itemElvenHelmet = new ItemElvenArmor(armorElven, 0).setUnlocalizedName("helmetElven").setTextureName("modtest:helmet_elven").setCreativeTab(armorSkycraftCreativeTab);
            itemElvenChestplate = new ItemElvenArmor(armorElven, 1).setUnlocalizedName("chestPlateElven").setTextureName("modtest:chestplate_elven").setCreativeTab(armorSkycraftCreativeTab);
            itemElvenLeg = new ItemElvenArmor(armorElven, 2).setUnlocalizedName("leggingsElven").setTextureName("modtest:leggings_elven").setCreativeTab(armorSkycraftCreativeTab);
            itemElvenShoes = new ItemElvenArmor(armorElven, 3).setUnlocalizedName("bootsElven").setTextureName("modtest:boots_elven").setCreativeTab(armorSkycraftCreativeTab);
    
            itemMalachiteHelmet = new ItemMalachiteArmor(armorMalachite, 0).setUnlocalizedName("helmetMalachite").setTextureName("modtest:helmet_malachite").setCreativeTab(armorSkycraftCreativeTab);
            itemMalachiteChestplate = new ItemMalachiteArmor(armorMalachite, 1).setUnlocalizedName("chestPlateMalachite").setTextureName("modtest:chestplate_malachite").setCreativeTab(armorSkycraftCreativeTab);
            itemMalachiteLeg = new ItemMalachiteArmor(armorMalachite, 2).setUnlocalizedName("leggingsMalachite").setTextureName("modtest:leggings_malachite").setCreativeTab(armorSkycraftCreativeTab);
            itemMalachiteShoes = new ItemMalachiteArmor(armorMalachite, 3).setUnlocalizedName("bootsMalachite").setTextureName("modtest:boots_malachite").setCreativeTab(armorSkycraftCreativeTab);
    
            itemPlateHelmet = new ItemPlateArmor(armorPlate, 0).setUnlocalizedName("helmetPlate").setTextureName("modtest:helmet_plate").setCreativeTab(armorSkycraftCreativeTab);
            itemPlateChestplate = new ItemPlateArmor(armorPlate, 1).setUnlocalizedName("chestPlatePlate").setTextureName("modtest:chestplate_plate").setCreativeTab(armorSkycraftCreativeTab);
            itemPlateLeg = new ItemPlateArmor(armorPlate, 2).setUnlocalizedName("leggingsPlate").setTextureName("modtest:leggings_plate").setCreativeTab(armorSkycraftCreativeTab);
            itemPlateShoes = new ItemPlateArmor(armorPlate, 3).setUnlocalizedName("bootsPlate").setTextureName("modtest:boots_plate").setCreativeTab(armorSkycraftCreativeTab);
    
            itemDaedricHelmet = new ItemDaedricArmor(armorDaedric, 0).setUnlocalizedName("helmetDaedric").setTextureName("modtest:helmet_daedric").setCreativeTab(armorSkycraftCreativeTab);
            itemDaedricChestplate = new ItemDaedricArmor(armorDaedric, 1).setUnlocalizedName("chestPlateDaedric").setTextureName("modtest:chestplate_daedric").setCreativeTab(armorSkycraftCreativeTab);
            itemDaedricLeg = new ItemDaedricArmor(armorDaedric, 2).setUnlocalizedName("leggingsDaedric").setTextureName("modtest:leggings_daedric").setCreativeTab(armorSkycraftCreativeTab);
            itemDaedricShoes = new ItemDaedricArmor(armorDaedric, 3).setUnlocalizedName("bootsDaedric").setTextureName("modtest:boots_daedric").setCreativeTab(armorSkycraftCreativeTab);
    
            itemDragonHelmet = new ItemDragonArmor(armorDragon, 0).setUnlocalizedName("helmetDragon").setTextureName("modtest:helmet_dragon").setCreativeTab(armorSkycraftCreativeTab);
            itemDragonChestplate = new ItemDragonArmor(armorDragon, 1).setUnlocalizedName("chestPlateDragon").setTextureName("modtest:chestplate_dragon").setCreativeTab(armorSkycraftCreativeTab);
            itemDragonLeg = new ItemDragonArmor(armorDragon, 2).setUnlocalizedName("leggingsDragon").setTextureName("modtest:leggings_dragon").setCreativeTab(armorSkycraftCreativeTab);
            itemDragonShoes = new ItemDragonArmor(armorDragon, 3).setUnlocalizedName("bootsDragon").setTextureName("modtest:boots_dragon").setCreativeTab(armorSkycraftCreativeTab);
    
            itemSteelHelmet = new ItemSteelArmor(armorSteel, 0).setUnlocalizedName("helmetSteel").setTextureName("modtest:helmet_steel").setCreativeTab(armorSkycraftCreativeTab);
            itemSteelChestplate = new ItemSteelArmor(armorSteel, 1).setUnlocalizedName("chestPlateSteel").setTextureName("modtest:chestplate_steel").setCreativeTab(armorSkycraftCreativeTab);
            itemSteelLeg = new ItemSteelArmor(armorSteel, 2).setUnlocalizedName("leggingsSteel").setTextureName("modtest:leggings_steel").setCreativeTab(armorSkycraftCreativeTab);
            itemSteelShoes = new ItemSteelArmor(armorSteel, 3).setUnlocalizedName("bootsSteel").setTextureName("modtest:boots_steel").setCreativeTab(armorSkycraftCreativeTab);
    
            swordDaedric = new SwordDaedric(DaedricMaterial).setUnlocalizedName("swordDaedric").setTextureName("modtest:sword_daedric").setCreativeTab(combatSkycraftCreativeTab);
            swordDragon = new SwordDragon(DragonMaterial).setUnlocalizedName("swordDragon").setTextureName("modtest:sword_dragon").setCreativeTab(combatSkycraftCreativeTab);
            swordOrichalque = new SwordOrichalque(OrichalqueMaterial).setUnlocalizedName("swordOrichalque").setTextureName("modtest:sword_orichalque").setCreativeTab(combatSkycraftCreativeTab);
            swordMalachite = new SwordMalachite(MalachiteMaterial).setUnlocalizedName("swordMalachite").setTextureName("modtest:sword_malachite").setCreativeTab(combatSkycraftCreativeTab);
            swordSteel = new SwordSteel(SteelMaterial).setUnlocalizedName("swordSteel").setTextureName("modtest:sword_steel").setCreativeTab(combatSkycraftCreativeTab);
            swordDwemer = new SwordDwemer(DwemerMaterial).setUnlocalizedName("swordDwemer").setTextureName("modtest:sword_dwemer").setCreativeTab(combatSkycraftCreativeTab);
            swordElven = new SwordElven(ElvenMaterial).setUnlocalizedName("swordElven").setTextureName("modtest:sword_elven").setCreativeTab(combatSkycraftCreativeTab);
    
            GameRegistry.registerItem(itemOrichalque, "item_orichalque");
            GameRegistry.registerItem(itemDwemer, "item_dwemer");
            GameRegistry.registerItem(itemLune, "item_lune");
            GameRegistry.registerItem(itemMalachite, "item_malachite");
            GameRegistry.registerItem(itemCorindon, "item_corindon");
            GameRegistry.registerItem(itemDragonBone, "item_dragon_bone");
            GameRegistry.registerItem(itemDaedricHearth, "item_daedric_hearth");
            GameRegistry.registerItem(itemSteel, "item_steel");
    
            GameRegistry.registerBlock(blockOrichalque, "block_orichalque");
            GameRegistry.registerBlock(blockDwemer, "block_dwemer");
            GameRegistry.registerBlock(blockLune, "block_lune");
            GameRegistry.registerBlock(blockMalachite, "block_malachite");
            GameRegistry.registerBlock(blockCorindon, "block_coridon");
    
            GameRegistry.registerItem(itemOrichalqueHelmet, "orichalque_helmet");
            GameRegistry.registerItem(itemOrichalqueChestplate, "orichalque_chestplate");
            GameRegistry.registerItem(itemOrichalqueLeg, "orichalque_leggings");
            GameRegistry.registerItem(itemOrichalqueShoes, "orichalque_boots");
    
            GameRegistry.registerItem(itemDwemerHelmet, "dwemer_helmet");
            GameRegistry.registerItem(itemDwemerChestplate, "dwemer_chestplate");
            GameRegistry.registerItem(itemDwemerLeg, "dwemer_leggings");
            GameRegistry.registerItem(itemDwemerShoes, "dwemer_boots");
    
            GameRegistry.registerItem(itemElvenHelmet, "elven_helmet");
            GameRegistry.registerItem(itemElvenChestplate, "elven_chestplate");
            GameRegistry.registerItem(itemElvenLeg, "elven_leggings");
            GameRegistry.registerItem(itemElvenShoes, "elven_boots");
    
            GameRegistry.registerItem(itemMalachiteHelmet, "malachite_helmet");
            GameRegistry.registerItem(itemMalachiteChestplate, "malachite_chestplate");
            GameRegistry.registerItem(itemMalachiteLeg, "malachite_leggings");
            GameRegistry.registerItem(itemMalachiteShoes, "malachite_boots");
    
            GameRegistry.registerItem(itemPlateHelmet, "plate_helmet");
            GameRegistry.registerItem(itemPlateChestplate, "plate_chestplate");
            GameRegistry.registerItem(itemPlateLeg, "plate_leggings");
            GameRegistry.registerItem(itemPlateShoes, "plate_boots");
    
            GameRegistry.registerItem(itemDaedricHelmet, "daedric_helmet");
            GameRegistry.registerItem(itemDaedricChestplate, "daedric_chestplate");
            GameRegistry.registerItem(itemDaedricLeg, "daedric_leggings");
            GameRegistry.registerItem(itemDaedricShoes, "daedric_boots");
    
            GameRegistry.registerItem(itemDragonHelmet, "dragon_helmet");
            GameRegistry.registerItem(itemDragonChestplate, "dragon_chestplate");
            GameRegistry.registerItem(itemDragonLeg, "dragon_leggings");
            GameRegistry.registerItem(itemDragonShoes, "dragon_boots");
    
            GameRegistry.registerItem(itemSteelHelmet, "steel_helmet");
            GameRegistry.registerItem(itemSteelChestplate, "steel_chestplate");
            GameRegistry.registerItem(itemSteelLeg, "steel_leggings");
            GameRegistry.registerItem(itemSteelShoes, "steel_boots");
    
            GameRegistry.registerItem(swordDaedric, "daedric_sword");
            GameRegistry.registerItem(swordDragon, "dragon_sword");
            GameRegistry.registerItem(swordOrichalque, "orichalque_sword");
            GameRegistry.registerItem(swordMalachite, "malachite_sword");
            GameRegistry.registerItem(swordSteel, "steel_sword");
            GameRegistry.registerItem(swordDwemer, "dwemer_sword");
            GameRegistry.registerItem(swordElven, "elven_sword");
    
            GameRegistry.addSmelting(blockOrichalque, new ItemStack(itemOrichalque, 1), 3.5F);
            GameRegistry.addSmelting(blockMalachite, new ItemStack(itemMalachite, 1), 2.4F);
            GameRegistry.addSmelting(blockCorindon, new ItemStack(itemCorindon, 1), 1.3F);
            GameRegistry.addSmelting(blockDwemer, new ItemStack(itemDwemer, 1), 0.2F);
            GameRegistry.addSmelting(blockLune, new ItemStack(itemLune, 1), 0.2F);
    
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueHelmet, 1), new Object[] {"XXX", "X X", 'X', itemOrichalque});
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemOrichalque});
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemOrichalque});
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueShoes, 1), new Object[] {"X X", "X X", 'X', itemOrichalque});
    
            GameRegistry.addRecipe(new ItemStack(itemDwemerHelmet, 1), new Object[] {"XXX", "X X", 'X', itemDwemer});
            GameRegistry.addRecipe(new ItemStack(itemDwemerChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemDwemer});
            GameRegistry.addRecipe(new ItemStack(itemDwemerLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemDwemer});
            GameRegistry.addRecipe(new ItemStack(itemDwemerShoes, 1), new Object[] {"X X", "X X", 'X', itemDwemer});
    
            GameRegistry.addRecipe(new ItemStack(itemElvenHelmet, 1), new Object[] {"XXX", "X X", 'X', itemLune});
            GameRegistry.addRecipe(new ItemStack(itemElvenChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemLune});
            GameRegistry.addRecipe(new ItemStack(itemElvenLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemLune});
            GameRegistry.addRecipe(new ItemStack(itemElvenShoes, 1), new Object[] {"X X", "X X", 'X', itemLune});
    
            GameRegistry.addRecipe(new ItemStack(itemMalachiteHelmet, 1), new Object[] {"XXX", "X X", 'X', itemMalachite});
            GameRegistry.addRecipe(new ItemStack(itemMalachiteChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemMalachite});
            GameRegistry.addRecipe(new ItemStack(itemMalachiteLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemMalachite});
            GameRegistry.addRecipe(new ItemStack(itemMalachiteShoes, 1), new Object[] {"X X", "X X", 'X', itemMalachite});
    
            GameRegistry.addRecipe(new ItemStack(itemPlateHelmet, 1), new Object[] {"XXX", "Y Y", 'X', itemSteel, 'Y', Items.iron_ingot});
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueChestplate, 1), new Object[] {"X X", "XYX", "YYY", 'X', itemSteel, 'Y', Items.iron_ingot});
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueLeg, 1), new Object[] {"XXX", "Y Y", "Y Y", 'X', itemSteel, 'Y', Items.iron_ingot});
            GameRegistry.addRecipe(new ItemStack(itemOrichalqueShoes, 1), new Object[] {"X X", "Y Y", 'X', itemSteel, 'Y', Items.iron_ingot});
    
            GameRegistry.addRecipe(new ItemStack(itemDaedricHelmet, 1), new Object[] {"XXX", "X X", 'X', itemDaedricHearth});
            GameRegistry.addRecipe(new ItemStack(itemDaedricChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemDaedricHearth});
            GameRegistry.addRecipe(new ItemStack(itemDaedricLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemDaedricHearth});
            GameRegistry.addRecipe(new ItemStack(itemDaedricShoes, 1), new Object[] {"X X", "X X", 'X', itemDaedricHearth});
    
            GameRegistry.addRecipe(new ItemStack(itemDragonHelmet, 1), new Object[] {"XXX", "X X", 'X', itemDragonBone});
            GameRegistry.addRecipe(new ItemStack(itemDragonChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemDragonBone});
            GameRegistry.addRecipe(new ItemStack(itemDragonLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemDragonBone});
            GameRegistry.addRecipe(new ItemStack(itemDragonShoes, 1), new Object[] {"X X", "X X", 'X', itemDragonBone});
    
            GameRegistry.addRecipe(new ItemStack(itemSteelHelmet, 1), new Object[] {"XXX", "X X", 'X', itemSteel});
            GameRegistry.addRecipe(new ItemStack(itemSteelChestplate, 1), new Object[] {"X X", "XXX", "XXX", 'X', itemSteel});
            GameRegistry.addRecipe(new ItemStack(itemSteelLeg, 1), new Object[] {"XXX", "X X", "X X", 'X', itemSteel});
            GameRegistry.addRecipe(new ItemStack(itemSteelShoes, 1), new Object[] {"X X", "X X", 'X', itemSteel});
    
            GameRegistry.addRecipe(new ItemStack(swordDaedric, 1), new Object[] {"X", "X", "Y", 'X', itemDaedricHearth, 'Y', Items.stick});
            GameRegistry.addRecipe(new ItemStack(swordDragon, 1), new Object[] {"X", "X", "Y", 'X', itemDragonBone, 'Y', Items.stick});
            GameRegistry.addRecipe(new ItemStack(swordOrichalque, 1), new Object[] {"X", "X", "Y", 'X', itemOrichalque, 'Y', Items.stick});
            GameRegistry.addRecipe(new ItemStack(swordMalachite, 1), new Object[] {"X", "X", "Y", 'X', itemMalachite, 'Y', Items.stick});
            GameRegistry.addRecipe(new ItemStack(swordSteel, 1), new Object[] {"X", "X", "Y", 'X', itemSteel, 'Y', Items.stick});
            GameRegistry.addRecipe(new ItemStack(swordDwemer, 1), new Object[] {"X", "X", "Y", 'X', itemDwemer, 'Y', Items.stick});
            GameRegistry.addRecipe(new ItemStack(swordElven, 1), new Object[] {"X", "X", "Y", 'X', itemLune, 'Y', Items.stick});
    
            GameRegistry.addShapelessRecipe(new ItemStack(itemSteel, 1), new Object[] {Items.iron_ingot, itemCorindon});
    
            GameRegistry.registerWorldGenerator(new OreGenerator(), 0);
    
        }
    
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
            proxy.registerRender();
        }
    
        @EventHandler
        public void postInit(FMLPostInitializationEvent event)
        {
    
        }
    
        public static final String MODID = "skycraft";
    }
    

  • Administrateurs

    Je vois pas d'où ça peut venir, désolé 😕
    Sinon essayes de charger le mod en virant tout sauf les .class de l'archive.



  • ok je vais test


    par pur hasard, j'ai essayé de supprimer le mcmod.info de l'archive et ça fonctionne 🙂 merci à vous deux pour votre aide et bonne soirée