Créer une armure
-
Ah d’accord merci beaucoup désolé de t’avoir pris beaucoup de temps, je ne suis pas encore habitué avec java
-
Désolé je dois beaucoup te déranger mais j’aurais un dernier problème: j’ai crée des blocs mais je ne peux pas modifier leurs nom (le nom du CreativeTabs non plus) c’est très étrange et je ne comprend pas pourquoi ils ne s’affichent pas :
Ma classe principale :
package com.hypala.hypalacore.common; import com.hypala.hypalacore.proxy.CommonProxy; 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; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraftforge.common.util.EnumHelper; @Mod(modid = "hypalacore", name = "HypalaCore", version = "1.0.0") public class HypalaCore { public static final String MODID = "hypalacore"; @Instance("hypalacore") public static HypalaCore instance; @SidedProxy(clientSide = "com.hypala.hypalacore.proxy.ClientProxy", serverSide = "com.hypala.hypalacore.proxy.CommonProxy") public static CommonProxy proxy; public static CreativeTabs tabHypalaCore; public static Item aithiaIngot, liriumIngot, iristIngot, mythicIngot, mythicFragment, helmetAithia, chestPlateAithia, leggingsAithia, bootsAithia; public static Item helmetLirium, chestPlateLirium, leggingsLirium, bootsLirium, helmetIrist, chestPlateIrist, leggingsIrist, bootsIrist; public static Item pickaxeAithia, swordAithia, axeAithia, pickaxeLirium, swordLirium, axeLirium, pickaxeIrist, swordIrist, axeIrist; public static Block aithiaOre, liriumOre, iristOre, mythicOre, aithiaBlock, liriumBlock, iristBlock; public static ArmorMaterial armorAithia = EnumHelper.addArmorMaterial("armorAithia", 30, new int[]{4, 9, 7, 4}, 20); public static ArmorMaterial armorLirium = EnumHelper.addArmorMaterial("armorLirium", 40, new int[]{5, 10, 7, 5}, 25); public static ArmorMaterial armorIrist = EnumHelper.addArmorMaterial("armorIrist", 50, new int[]{7, 10, 8, 7}, 15); public static ToolMaterial PickaxeAithia = EnumHelper.addToolMaterial("PickaxeAithia", 2, 2000, 8.0F, 0.2F, 20); public static ToolMaterial SwordAithia = EnumHelper.addToolMaterial("SwordAithia", 2, 2000, 8.0F, 1.0F, 20); public static ToolMaterial AxeAithia = EnumHelper.addToolMaterial("AxeAithia", 2, 2000, 8.0F, 0.2F, 20); public static ToolMaterial PickaxeLirium = EnumHelper.addToolMaterial("PickaxeLirium", 3, 3500, 11.0F, 0.5F, 25); public static ToolMaterial SwordLirium = EnumHelper.addToolMaterial("SwordLirium", 3, 3500, 11.0F, 3.0F, 25); public static ToolMaterial AxeLirium = EnumHelper.addToolMaterial("AxeLirium", 3, 3500, 11.0F, 0.5F, 25); public static ToolMaterial PickaxeIrist = EnumHelper.addToolMaterial("PickaxeIrist", 3, 5000, 15.0F, 1.0F, 15); public static ToolMaterial SwordIrist = EnumHelper.addToolMaterial("SwordIrist", 3, 5000, 15.0F, 6.0F, 15); public static ToolMaterial AxeIrist = EnumHelper.addToolMaterial("AxeIrist", 3, 5000, 15.0F, 1.0F, 15); @EventHandler public void preInit(FMLPreInitializationEvent event) { tabHypalaCore= new TabHypalaCore("HypalaCore"); //Armure Aithia helmetAithia = new ArmorAithia(armorAithia, 0).setUnlocalizedName("Aithia Helmet").setTextureName("hypalacore:aithia_helmet").setCreativeTab(tabHypalaCore); chestPlateAithia = new ArmorAithia(armorAithia, 1).setUnlocalizedName("Aithia Chestplate").setTextureName("hypalacore:aithia_chestplate").setCreativeTab(tabHypalaCore); leggingsAithia = new ArmorAithia(armorAithia, 2).setUnlocalizedName("Aithia Leggings").setTextureName("hypalacore:aithia_leggings").setCreativeTab(tabHypalaCore); bootsAithia = new ArmorAithia(armorAithia, 3).setUnlocalizedName("Aithia Boots").setTextureName("hypalacore:aithia_boots").setCreativeTab(tabHypalaCore); GameRegistry.registerItem(helmetAithia, "aithia_helmet"); GameRegistry.registerItem(chestPlateAithia, "aithia_chestplate"); GameRegistry.registerItem(leggingsAithia, "aithia_legging"); GameRegistry.registerItem(bootsAithia, "aithia_boots"); //Armure Lirium helmetLirium = new ArmorLirium(armorLirium, 0).setUnlocalizedName("Lirium Helmet").setTextureName("hypalacore:lirium_helmet").setCreativeTab(tabHypalaCore); chestPlateLirium = new ArmorLirium(armorLirium, 1).setUnlocalizedName("Lirium Chestplate").setTextureName("hypalacore:lirium_chestplate").setCreativeTab(tabHypalaCore); leggingsLirium = new ArmorLirium(armorLirium, 2).setUnlocalizedName("Lirium Leggings").setTextureName("hypalacore:lirium_leggings").setCreativeTab(tabHypalaCore); bootsLirium = new ArmorLirium(armorLirium, 3).setUnlocalizedName("Lirium Boots").setTextureName("hypalacore:lirium_boots").setCreativeTab(tabHypalaCore); GameRegistry.registerItem(helmetLirium, "lirium_helmet"); GameRegistry.registerItem(chestPlateLirium, "lirium_chestplate"); GameRegistry.registerItem(leggingsLirium, "lirium_legging"); GameRegistry.registerItem(bootsLirium, "lirium_boots"); //Armure Irist helmetIrist = new ArmorIrist(armorIrist, 0).setUnlocalizedName("Irist Helmet").setTextureName("hypalacore:irist_helmet").setCreativeTab(tabHypalaCore); chestPlateIrist = new ArmorIrist(armorIrist, 1).setUnlocalizedName("Irist Chestplate").setTextureName("hypalacore:irist_chestplate").setCreativeTab(tabHypalaCore); leggingsIrist = new ArmorIrist(armorIrist, 2).setUnlocalizedName("Irist Leggings").setTextureName("hypalacore:irist_leggings").setCreativeTab(tabHypalaCore); bootsIrist = new ArmorIrist(armorIrist, 3).setUnlocalizedName("Irist Boots").setTextureName("hypalacore:irist_boots").setCreativeTab(tabHypalaCore); GameRegistry.registerItem(helmetIrist, "irist_helmet"); GameRegistry.registerItem(chestPlateIrist, "irist_chestplate"); GameRegistry.registerItem(leggingsIrist, "irist_legging"); GameRegistry.registerItem(bootsIrist, "irist_boots"); //Outils pickaxeAithia = new PickaxeAithia(PickaxeAithia).setUnlocalizedName("Aithia Pickaxe").setTextureName("hypalacore:aithia_pickaxe").setCreativeTab(tabHypalaCore); swordAithia = new SwordAithia(SwordAithia).setUnlocalizedName("Aithia Sword").setTextureName("hypalacore:aithia_sword").setCreativeTab(tabHypalaCore); axeAithia = new AxeAithia(AxeAithia).setUnlocalizedName("Aithia Axe").setTextureName("hypalacore:aithia_axe").setCreativeTab(tabHypalaCore); pickaxeLirium = new PickaxeLirium(PickaxeLirium).setUnlocalizedName("Lirium Pickaxe").setTextureName("hypalacore:lirium_pickaxe").setCreativeTab(tabHypalaCore); swordLirium = new SwordLirium(SwordLirium).setUnlocalizedName("Lirium Sword").setTextureName("hypalacore:lirium_sword").setCreativeTab(tabHypalaCore); axeLirium = new AxeLirium(AxeLirium).setUnlocalizedName("Lirium Axe").setTextureName("hypalacore:lirium_axe").setCreativeTab(tabHypalaCore); pickaxeIrist = new PickaxeIrist(PickaxeIrist).setUnlocalizedName("Irist Pickaxe").setTextureName("hypalacore:irist_pickaxe").setCreativeTab(tabHypalaCore); swordIrist = new SwordIrist(SwordIrist).setUnlocalizedName("Irist Sword").setTextureName("hypalacore:irist_sword").setCreativeTab(tabHypalaCore); axeIrist = new AxeIrist(AxeIrist).setUnlocalizedName("Irist Axe").setTextureName("hypalacore:irist_axe").setCreativeTab(tabHypalaCore); GameRegistry.registerItem(pickaxeAithia, "aithia_pickaxe"); GameRegistry.registerItem(swordAithia, "aithia_sword"); GameRegistry.registerItem(axeAithia, "aithia_axe"); GameRegistry.registerItem(pickaxeLirium, "lirium_pickaxe"); GameRegistry.registerItem(swordLirium, "lirium_sword"); GameRegistry.registerItem(axeLirium, "lirium_axe"); GameRegistry.registerItem(pickaxeIrist, "irist_pickaxe"); GameRegistry.registerItem(swordIrist, "irist_sword"); GameRegistry.registerItem(axeIrist, "irist_axe"); //Minerais aithiaOre = new AithiaOre(Material.rock); aithiaBlock = new AithiaBlock(Material.iron); liriumOre = new LiriumOre(Material.rock); liriumBlock = new LiriumBlock(Material.iron); iristOre = new IristOre(Material.rock); iristBlock = new IristBlock(Material.iron); mythicOre = new MythicOre(Material.rock); GameRegistry.registerBlock(aithiaOre, "aithia_ore").setBlockName("Aithia Ore").setBlockTextureName("hypalacore:aithia_ore").setCreativeTab(tabHypalaCore); GameRegistry.registerBlock(aithiaBlock, "aithia_block").setBlockName("Aithia Block").setBlockTextureName("hypalacore:aithia_block").setCreativeTab(tabHypalaCore); GameRegistry.registerBlock(liriumOre, "lirium_ore").setBlockName("Lirium Ore").setBlockTextureName("hypalacore:lirium_ore").setCreativeTab(tabHypalaCore); GameRegistry.registerBlock(liriumBlock, "lirium_block").setBlockName("Lirium Block").setBlockTextureName("hypalacore:lirium_block").setCreativeTab(tabHypalaCore); GameRegistry.registerBlock(iristOre, "irist_ore").setBlockName("Irist Ore").setBlockTextureName("hypalacore:irist_ore").setCreativeTab(tabHypalaCore); GameRegistry.registerBlock(iristBlock, "irist_block").setBlockName("Irist Block").setBlockTextureName("hypalacore:irist_block").setCreativeTab(tabHypalaCore); GameRegistry.registerBlock(mythicOre, "mythic_ore").setBlockName("Mythic Ore").setBlockTextureName("hypalacore:mythic_ore").setCreativeTab(tabHypalaCore); //Lingots aithiaIngot = new Ingot().setUnlocalizedName("Aithia Ingot").setTextureName("hypalacore:aithia_ingot").setCreativeTab(tabHypalaCore); liriumIngot = new Ingot().setUnlocalizedName("Lirium Ingot").setTextureName("hypalacore:lirium_ingot").setCreativeTab(tabHypalaCore); iristIngot = new Ingot().setUnlocalizedName("Irist Ingot").setTextureName("hypalacore:irist_ingot").setCreativeTab(tabHypalaCore); mythicIngot = new Ingot().setUnlocalizedName("Mythic Ingot").setTextureName("hypalacore:mythic_ingot").setCreativeTab(tabHypalaCore); mythicFragment = new Ingot().setUnlocalizedName("Mythic Fragment").setTextureName("hypalacore:mythic_fragment").setCreativeTab(tabHypalaCore); GameRegistry.registerItem(aithiaIngot, "aithia_ingot"); GameRegistry.registerItem(liriumIngot, "lirium_ingot"); GameRegistry.registerItem(iristIngot, "irist_ingot"); GameRegistry.registerItem(mythicIngot, "mythic_ingot"); GameRegistry.registerItem(mythicFragment, "mythic_fragment"); } @EventHandler public void init(FMLInitializationEvent event) { } @EventHandler public void postInit(FMLPostInitializationEvent event) { } }Et mon fichier lang :
itemGroup.TabHypalaCore=HypalaCore item.Aithia Ingot.name=Aithia Ingot item.Lirium Ingot.name=Lirium Ingot item.Irist Ingot.name=Irist Ingot item.Mythic Ingot.name=Mythic Ingot item.Mythic Fragment.name=Mythic Fragment item.Aithia Helmet.name=Aithia Helmet item.Aithia Chestplate.name=Aithia Chestplate item.Aithia Leggings.name=Aithia Leggings item.Aithia Boots.name=Aithia Boots item.Lirium Helmet.name=Lirium Helmet item.Lirium Chestplate.name=Lirium Chestplate item.Lirium Leggings.name=Lirium Leggings item.Lirium Boots.name=Lirium Boots item.Irist Helmet.name=Irist Helmet item.Irist Chestplate.name=Irist Chestplate item.Irist Leggings.name=Irist Leggings item.Irist Boots.name=Irist Boots item.Aithia Pickaxe.name=Aithia Pickaxe item.Aithia Sword.name=Aithia Sword item.Aithia Axe.name=Aithia Axe item.Lirium Pickaxe.name=Lirium Pickaxe item.Lirium Sword.name=Lirium Sword item.Lirium Axe.name=Lirium Axe item.Irist Pickaxe.name=Irist Pickaxe item.Irist Sword.name=Irist Sword item.Irist Axe.name=Irist Axe tile.Aithia Ore.name=Aithia Ore tile.Aithia Block.name=Aithia Block tile.Lirium Ore.name=Lirium Ore tile.Lirium Block.name=Lirium Block tile.Irist Ore.name=Irist Ore tile.Irist Block.name=Irist Block tile.Mythic Ore.name=Mythic Ore itemGroup.TabHypalaCore=HypalaCoreEdit : je viens de consulter mes logs sur les textures et la console dit ça : ```java
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[13:37:01] [Client thread/ERROR] [TEXTURE ERRORS/]: The following texture errors were found.
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: ==================================================
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: DOMAIN hypalacore
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: --------------------------------------------------
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: domain hypalacore is missing 7 textures
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: domain hypalacore has 1 location:
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: mod hypalacore resources at C:\Users\weisj\Desktop\Developpement\Java\Forge\bin
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: -------------------------
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: The missing resources for domain hypalacore are:
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/aithia_ore.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/irist_ore.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/mythic_ore.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/lirium_ore.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/aithia_block.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/lirium_block.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: textures/blocks/irist_block.png
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: -------------------------
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: No other errors exist for domain hypalacore
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: ==================================================
[13:37:02] [Client thread/ERROR] [TEXTURE ERRORS/]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
C’est un problème d’emplacement du coup ?Merci de ton aide
-
Créés plutôt une demande d’aide dans la section appropriée : https://www.minecraftforgefrance.fr/category/21/support-pour-les-moddeurs car là tes demandes n’ont plus rien à voir avec le tutoriel.
-
[19:56:38] [main/INFO] [GradleStart]: Extra: [] [19:56:38] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/hyde etienne aaron/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [19:56:38] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [19:56:38] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [19:56:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [19:56:38] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [19:56:39] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [19:56:39] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_201 [19:56:39] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [19:56:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [19:56:39] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [19:56:39] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [19:56:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:56:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [19:56:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:56:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:56:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [19:56:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [19:56:39] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [19:56:43] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [19:56:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [19:56:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [19:56:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:56:46] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [19:56:46] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [19:56:46] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [19:56:52] [main/INFO]: Setting user: Player374 [19:57:01] [Client thread/INFO]: LWJGL Version: 2.9.1 [19:57:11] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ---- // But it works on my machine. Time: 16/03/19 19:57 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.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 911807328 bytes (869 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13467 Compatibility Profile Context 21.19.414.1280' Renderer: 'AMD Radeon(TM) R4 Graphics' [19:57:12] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [19:57:12] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [19:57:12] [Client thread/INFO] [FML]: Replaced 183 ore recipies [19:57:13] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [19:57:15] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [19:57:15] [Client thread/INFO] [FML]: Searching C:\Users\hyde etienne aaron\Desktop\forge-1.7.10-10.13.4.1614-1.7.10-src\eclipse\mods for mods [19:57:49] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [19:57:51] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, daichmod] at CLIENT [19:57:51] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, daichmod] at SERVER [19:57:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Daichi Mod [19:57:53] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [19:57:53] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [19:57:53] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [19:57:53] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [19:57:54] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [19:57:54] [Client thread/INFO] [STDOUT]: [com.google.daichi93100.daichmod.proxy.ClientProxy:registerRender:8]: Méthode coté client [19:57:54] [Client thread/INFO] [STDOUT]: [com.google.daichi93100.daichmod.common.ModDaichimod:init:52]: initialisation [19:57:54] [Client thread/INFO] [FML]: Applying holder lookups [19:57:54] [Client thread/INFO] [FML]: Holder lookups applied [19:57:54] [Client thread/INFO] [FML]: Injecting itemstacks [19:57:54] [Client thread/INFO] [FML]: Itemstack injection complete [19:57:54] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [19:57:54] [Client thread/ERROR] [FML]: States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCE daichmod{1.0.0} [Daichi Mod] (bin) [19:57:54] [Client thread/ERROR] [FML]: The following problems were captured during this phase [19:57:54] [Client thread/ERROR] [FML]: Caught exception from daichmod java.lang.NullPointerException at net.minecraft.item.ItemArmor.<init>(ItemArmor.java:89) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?] at com.google.daichi93100.daichmod.common.ItemTutoArmor.<init>(ItemTutoArmor.java:12) ~[bin/:?] at com.google.daichi93100.daichmod.common.ModDaichimod.init(ModDaichimod.java:54) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] 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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [19:57:54] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft! Time: 16/03/19 19:57 Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.item.ItemArmor.<init>(ItemArmor.java:89) at com.google.daichi93100.daichmod.common.ItemTutoArmor.<init>(ItemTutoArmor.java:12) at com.google.daichi93100.daichmod.common.ModDaichimod.init(ModDaichimod.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) at net.minecraft.client.Minecraft.run(Minecraft.java:942) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.ItemArmor.<init>(ItemArmor.java:89) at com.google.daichi93100.daichmod.common.ItemTutoArmor.<init>(ItemTutoArmor.java:12) at com.google.daichi93100.daichmod.common.ModDaichimod.init(ModDaichimod.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:942) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 880395280 bytes (839 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCE daichmod{1.0.0} [Daichi Mod] (bin) GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13467 Compatibility Profile Context 21.19.414.1280' Renderer: 'AMD Radeon(TM) R4 Graphics' Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: AMD Radeon(TM) R4 Graphics GL version 4.5.13467 Compatibility Profile Context 21.19.414.1280, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: Français (France) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) [19:57:54] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\hyde etienne aaron\Desktop\forge-1.7.10-10.13.4.1614-1.7.10-src\eclipse\.\crash-reports\crash-2019-03-16_19.57.54-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseUn rapport de crash qui me fait chier

-
Ligne 36, le premier
ArmorMaterialest en trop.
Du-coup au lieu de définir une valeur à la variable de classe armorTuto, tu créé une variable local nommé armorTuto. -
@robin4002 a dit dans Créer une armure :
Ligne 36, le premier
ArmorMaterialest en trop.
Du-coup au lieu de définir une valeur à la variable de classe armorTuto, tu créé une variable local nommé armorTuto.Sans parler de ça, il enregistre des items nuls.
-
@Superloup10 - armorTuto cannot be resolved to a type
- Syntax error on token “armorTuto”, VariableDeclaratorId expected after
this token

LOL
-
Tu connais le Java ?
C’est vraiment une erreur que même un débutant ne ferait pas. -
Mais pourquoi tu as mis public static !!??!!
Et pourquoi tu as ajouté ce second constructeur ? -
je sais plus pk et mon src a été corrompu
-
Ce message a été supprimé ! -
J’ai resolu le problème
-
Bonjour, j’ai du mal à comprendre la différence entre le png layer 2 et le png layer 1 dans la méthode getArmorTexture
Il y a quoi qui change entre les 2 images ? ^^"
-
le haut de l’armure et son bas
ce n’est pas fait avec 1 texture -
donc il n’y a pas 1 texture pour chaque pièce d’armure mais 2 textures en tout ( 1 combinant bottes et pantalon et 1 combinant casque et plastron ) ?
-
oui
-
est-ce que je pourrais avoir un exemple des textures à faire ? ^^’
-
ouvre(par exemple 1.7.10.jar)et cherche un layer
ou utilise nova skin sinon -
ok je vois maintenant ^^ merci ^^
-
Ce message a été supprimé !
