Créer la base de votre mod
-
Merci beaucoup de votre aide
-
Quand j’essaye d’ouvrir le projet Minecraft, il me met une erreur :
‘Open Project’ has encountered a problem.
The project description file (.project) for ‘Minecraft’ is missing. This file contains important information about the project. The project will not function properly until this file is restored.
-
Refais un setup.
De préférence éviter les espaces et les caractères spéciaux dans le chemin de la workspace -
1.7.2 ? sérieusement ?
Passes en 1.7.10.
Et si tu as vraiment besoin de la 1.7.10 mets ceci dans le dossier mods : http://files.minecraftforge.net/LegacyJavaFixer/legacyjavafixer-1.0.jar -
Bonjour j’ai un gros problème sur mon mod :
Lorsque je veux le lancer il marche au début et puis normalement ensuite il y a le menu de minecraft; mais pour moi minecraft crashe.
Lorsque je vérifie la console pour voir les problèmes, il m’écrie ceci :AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future releasePourriez-vous m’aider s’il vous plait ?
-
envoi le fml-latest-log
PS : peut être que le problème vient de ton PC qui ne support pas l’écran de chargement, si c’est le cas il faut désactiver l’écran de chargement de forge dans les fichiers de configuration
-
Le fml-latest-log ?
Mais c’est possible que ce soit mon pc qui ne supporte pas le chargement je vais verifier merci.___Par contre ou sont les fichiers de config de forge ?___Et puis qu’est-ce que le fml-latest-log ???
-
Attention aux doubles/triples posts.
Le dossier de config se trouve dans le dossier de forge/run/config
Le fichier fml-client-latest.log se trouve dans le dossier de forge/run/logs
-
Les logs
–-- Minecraft Crash Report ---- // Who set us up the TNT? Time: 27/04/16 19:10 Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.ClientProxy at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512) 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.loadMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) 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) Caused by: java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.ClientProxy at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ... 35 more Caused by: java.lang.NoClassDefFoundError: ma/Yeyvo/Paladium/proxy/ClientProxy (wrong name: ma/Yeyvo/Paladium/Proxy/ClientProxy) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ... 41 more 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 7 (x86) version 6.1 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 866420680 bytes (826 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 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.1558 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 UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UC FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) UC Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) UE paladium{1.0.0} [Paladium] (bin) GL info: ' Vendor: 'Intel' Version: '3.1.0 - Build 9.17.10.3347' Renderer: 'Intel(R) HD Graphics 3000'
@SidedProxy(clientSide = "ma.Yeyvo.Paladium.proxy.ClientProxy" , serverSide = "ma.Yeyvo.Paladium.proxy.CommonProxy" ) public static CommonProxy proxy ;
ClientProxy :
package ma.Yeyvo.Paladium.Proxy; import ma.Yeyvo.Paladium.Proxy.CommonProxy;; public class ClientProxy extends CommonProxy { @Override public void registerRender() { System.out.println("methode coté client"); } }
Common Proxy :
package ma.Yeyvo.Paladium.Proxy; public class CommonProxy { public void registerRender() { System.out.println("methode coté serveur"); } }
:huh: S’il vous plait de l’aide
J’ai resolu le problémme
@SidedProxy(clientSide = "ma.Yeyvo.Paladium.Proxy.ClientProxy" , serverSide = "ma.Yeyvo.Paladium.proxy.CommonProxy" ) public static CommonProxy proxy ;
:-3
mais du coup ni les textures ni les .lang ne marche
package ma.Yeyvo.Paladium.common; 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 ma.Yeyvo.Paladium.Proxy.CommonProxy; 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.MinecraftForge; import net.minecraftforge.common.util.EnumHelper; @Mod(modid = ModPaladium.MODID, name = "Paladium", version = "1.0.0") public class ModPaladium { public static final String MODID = "paladium" ; @Instance("MODID") public static ModPaladium instance ; @SidedProxy(clientSide = "ma.Yeyvo.Paladium.Proxy.ClientProxy" , serverSide = "ma.Yeyvo.Paladium.proxy.CommonProxy" ) public static CommonProxy proxy ; public static Item PaladiumOre , TitaneOre , AmethystOre , orbespeed , orbeheal , orbejump , orbestrength , findium , CompressPaladium , stickpala , casquePaladium , plastronPaladium , pantalonPaladium , bottePaladium , casquemobs ,plastronmobs ,pantalonmobs ,bottemobs, casquetitane, plastrontitane, pantalontitane, bottetitane, casqueamethyst, plastronamethyst, pantalonamethyst, botteamethyst , epeemobs, axemobs, pickaxemobs, shovelmobs,epeePaladium ,axePaladium ,pickaxePaladium ,shovelPaladium ,epeetitane ,pickaxetitane ,axetitane ,shoveltitane ,hoetitane ,epeeamethyst ,axeamethyst ,pickaxeamethyst ,shovelamethyst; public static Block Paladiumbloc ; public static ArmorMaterial PaladiumArmor = EnumHelper.addArmorMaterial("PaladiumArmor", 150, new int[]{6,11,9,6}, 16); public static ArmorMaterial EndiumArmor = EnumHelper.addArmorMaterial("EndiumArmor", 170, new int[]{7,12,10,7}, 15); public static ArmorMaterial TitaneArmor = EnumHelper.addArmorMaterial("TitaneArmor", 110, new int[]{5,10,8,5}, 17); public static ArmorMaterial AmethystArmor = EnumHelper.addArmorMaterial("AmethystArmor", 95, new int[]{4,11,7,4}, 15); public static ToolMaterial EndiumTool = EnumHelper.addToolMaterial("ToolEndium", 10, 3550, 29.0F, 8.0F, 15); public static ToolMaterial PaladiumTool = EnumHelper.addToolMaterial("PaladiumTool", 10, 3001, 25.0F, 7.0F, 16); public static ToolMaterial TitaneTool = EnumHelper.addToolMaterial("TitaneTool", 10, 2500, 21.0F, 6.0F, 17); public static ToolMaterial AmethystTool = EnumHelper.addToolMaterial("AmethystTool", 10, 2000, 18.0F, 5.0F, 18); @EventHandler public void preInit(FMLPreInitializationEvent event) { PaladiumOre = new Paladium().setUnlocalizedName("PaladiumOre").setTextureName(MODID + ":PaladiumOre").setCreativeTab(CreativeTabs.tabMaterials); TitaneOre = new Paladium().setUnlocalizedName("TitaneOre").setTextureName(MODID + ":TitaneOre").setCreativeTab(CreativeTabs.tabMaterials); AmethystOre = new Paladium().setUnlocalizedName("AmethystOre").setTextureName(MODID + ":AmethystOre").setCreativeTab(CreativeTabs.tabMaterials); orbespeed = new Paladium().setUnlocalizedName("orbespeed").setTextureName(MODID + ":orbespeed").setCreativeTab(CreativeTabs.tabMaterials); orbeheal = new Paladium().setUnlocalizedName("orbeheal").setTextureName(MODID + ":orbeheal").setCreativeTab(CreativeTabs.tabMaterials); orbejump = new Paladium().setUnlocalizedName("orbejump").setTextureName(MODID + ":orbejump").setCreativeTab(CreativeTabs.tabMaterials); orbestrength = new Paladium().setUnlocalizedName("orbestrength").setTextureName(MODID + ":orbestrength").setCreativeTab(CreativeTabs.tabMaterials); findium = new Paladium().setUnlocalizedName("findium").setTextureName(MODID + ":findium").setCreativeTab(CreativeTabs.tabMaterials); CompressPaladium = new Paladium().setUnlocalizedName("CompressPaladium").setTextureName(MODID + ":CompressPaladium").setCreativeTab(CreativeTabs.tabMaterials); stickpala = new Paladium().setUnlocalizedName("stickpala").setTextureName(MODID + ":stickpala").setCreativeTab(CreativeTabs.tabMaterials); casquePaladium =new PaladiumArmor( PaladiumArmor, 0).setUnlocalizedName("casquePaladium").setTextureName(MODID + ":casquePaladium"); plastronPaladium =new PaladiumArmor( PaladiumArmor, 1).setUnlocalizedName("plastronPaladium").setTextureName(MODID + ":plastronPaladium"); pantalonPaladium =new PaladiumArmor( PaladiumArmor, 2).setUnlocalizedName("pantalonPaladium").setTextureName(MODID + ":pantalonPaladium"); bottePaladium =new PaladiumArmor( PaladiumArmor, 3).setUnlocalizedName("bottePaladium").setTextureName(MODID + ":bottePaladium"); casquemobs =new PaladiumArmor( EndiumArmor, 0).setUnlocalizedName("casquemobs").setTextureName(MODID + ":casquemobs"); plastronmobs =new PaladiumArmor( EndiumArmor, 1).setUnlocalizedName("plastronmobs").setTextureName(MODID + ":plastronmobs"); pantalonmobs =new PaladiumArmor( EndiumArmor, 2).setUnlocalizedName("pantalonmobs").setTextureName(MODID + ":pantalonmobs"); bottemobs =new PaladiumArmor( EndiumArmor, 3).setUnlocalizedName("bottemobs").setTextureName(MODID + ":bottemobs"); casquetitane =new PaladiumArmor( TitaneArmor, 0).setUnlocalizedName("casquetitane").setTextureName(MODID + ":casquetitane"); plastrontitane =new PaladiumArmor( TitaneArmor, 1).setUnlocalizedName("plastrontitane").setTextureName(MODID + ":plastrontitane"); pantalontitane =new PaladiumArmor( TitaneArmor, 2).setUnlocalizedName("pantalontitane").setTextureName(MODID + ":pantalontitane"); bottetitane =new PaladiumArmor( TitaneArmor, 3).setUnlocalizedName("bottetitane").setTextureName(MODID + ":bottetitane"); casqueamethyst =new PaladiumArmor( AmethystArmor, 0).setUnlocalizedName("casqueamethyst").setTextureName(MODID + ":casqueamethyst"); plastronamethyst =new PaladiumArmor( AmethystArmor, 1).setUnlocalizedName("plastronamethyst").setTextureName(MODID + ":plastronamethyst"); pantalonamethyst =new PaladiumArmor( AmethystArmor, 2).setUnlocalizedName("pantalonamethyst").setTextureName(MODID + ":pantalonamethyst"); botteamethyst =new PaladiumArmor( AmethystArmor, 3).setUnlocalizedName("botteamethyst").setTextureName(MODID + ":botteamethyst"); epeemobs = new ItemPaladiumEpee(EndiumTool).setUnlocalizedName("epeemobs").setTextureName(MODID + ":epeemobs"); axemobs = new ItemPaladiumAxe(EndiumTool).setUnlocalizedName("axemobs").setTextureName(MODID + ":axemobs"); pickaxemobs = new ItemPaladiumPickaxe(EndiumTool).setUnlocalizedName("pickaxemobs").setTextureName(MODID + ":pickaxemobs"); shovelmobs = new ItemPaladiumShovel(EndiumTool).setUnlocalizedName("shovelmobs").setTextureName(MODID + ":shovelmobs"); epeePaladium = new ItemPaladiumEpee(PaladiumTool).setUnlocalizedName("epeePaladium").setTextureName(MODID + ":epeePaladium"); axePaladium = new ItemPaladiumAxe(PaladiumTool).setUnlocalizedName("axemobs").setTextureName(MODID + ":axePaladium"); pickaxePaladium = new ItemPaladiumPickaxe(PaladiumTool).setUnlocalizedName("pickaxePaladium").setTextureName(MODID + ":pickaxePaladium"); shovelPaladium = new ItemPaladiumShovel(PaladiumTool).setUnlocalizedName("shovelPaladium").setTextureName(MODID + ":shovelPaladium"); epeetitane = new ItemPaladiumAxe(TitaneTool).setUnlocalizedName("epeetitane").setTextureName(MODID + ":epeetitane"); axetitane = new ItemPaladiumAxe(TitaneTool).setUnlocalizedName("axetitane").setTextureName(MODID + ":axetitane"); pickaxetitane = new ItemPaladiumPickaxe(TitaneTool).setUnlocalizedName("pickaxetitane").setTextureName(MODID + ":pickaxetitane"); shoveltitane = new ItemPaladiumShovel(TitaneTool).setUnlocalizedName("shoveltitane").setTextureName(MODID + ":shoveltitane"); hoetitane = new ItemPaladiumhoe(TitaneTool).setUnlocalizedName("hoetitane").setTextureName(MODID + ":hoetitane"); epeeamethyst = new ItemPaladiumEpee(AmethystTool).setUnlocalizedName("epeeamethyst").setTextureName(MODID + ":epeeamethyst"); axeamethyst = new ItemPaladiumAxe(AmethystTool).setUnlocalizedName("axeamethyst").setTextureName(MODID + ":axeamethyst"); pickaxeamethyst = new ItemPaladiumPickaxe(AmethystTool).setUnlocalizedName("pickaxeamethyst").setTextureName(MODID + ":pickaxeamethyst"); shovelamethyst = new ItemPaladiumShovel(AmethystTool).setUnlocalizedName("shovelamethyst").setTextureName(MODID + ":shovelamethyst"); Paladiumbloc = new Paladiumbloc(Material.iron).setBlockName("Paladiumbloc").setBlockTextureName(MODID + ":Paladiumbloc.png").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerItem(PaladiumOre, "paladium"); GameRegistry.registerItem(TitaneOre, "titane"); GameRegistry.registerItem(orbespeed, "orbespeed"); GameRegistry.registerItem(orbeheal, "orbeheal"); GameRegistry.registerItem(orbejump, "orbejump"); GameRegistry.registerItem(orbestrength, "orbestrength"); GameRegistry.registerItem(AmethystOre, "Amethyst"); GameRegistry.registerItem(findium, "findium"); GameRegistry.registerItem(CompressPaladium, "CompressPaladium"); GameRegistry.registerItem(stickpala, "stickpala"); GameRegistry.registerItem(casquePaladium, "casquePaladium"); GameRegistry.registerItem(plastronPaladium, "plastronPaladium"); GameRegistry.registerItem(pantalonPaladium, "pantalonPaladium"); GameRegistry.registerItem(bottePaladium, "bottePaladium"); GameRegistry.registerItem(casquemobs, "casquemobs"); GameRegistry.registerItem(plastronmobs, "plastronmobs"); GameRegistry.registerItem(pantalonmobs, "pantalonmobs"); GameRegistry.registerItem(bottemobs, "bottemobs"); GameRegistry.registerItem(casquetitane, "casquetitane"); GameRegistry.registerItem(plastrontitane, "plastrontitane"); GameRegistry.registerItem(pantalontitane, "pantalontitane"); GameRegistry.registerItem(bottetitane, "bottetitane"); GameRegistry.registerItem(casqueamethyst, "casqueamethyst"); GameRegistry.registerItem(plastronamethyst, "plastronamethyst"); GameRegistry.registerItem(pantalonamethyst, "pantalonamethyst"); GameRegistry.registerItem(botteamethyst, "botteamethyst"); GameRegistry.registerItem(epeemobs, "epeemobs"); GameRegistry.registerItem(axemobs, "axemobs"); GameRegistry.registerItem(pickaxemobs, "pickaxemobs"); GameRegistry.registerItem(shovelmobs, "shovelmobs"); GameRegistry.registerItem(epeePaladium, "epeePaladium"); GameRegistry.registerItem(axePaladium, "axePaladium"); GameRegistry.registerItem(pickaxePaladium, "pickaxePaladium"); GameRegistry.registerItem(shovelPaladium, "shovelPaladium"); GameRegistry.registerItem(epeetitane, "epeetitane"); GameRegistry.registerItem(axetitane, "axetitane"); GameRegistry.registerItem(pickaxetitane, "pickaxetitane"); GameRegistry.registerItem(shoveltitane, "shoveltitane"); GameRegistry.registerItem(hoetitane, "hoetitane"); GameRegistry.registerItem(epeeamethyst, "epeeamethyst"); GameRegistry.registerItem(axeamethyst, "axeamethyst"); GameRegistry.registerItem(pickaxeamethyst, "pickaxeamethyst"); GameRegistry.registerItem(shovelamethyst, "shovelamethyst"); GameRegistry.registerBlock(Paladiumbloc, "Paladiumbloc"); } @EventHandler public void init(FMLInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new LivingEventHanler()); proxy.registerRender(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { } }
-
Un screen de tes resources serait le bienvenue.
-
voila
-
Tu as le chemin ‘src/main/resources/resources/assets/’ alors que tu devrais avoir ‘src/main/resources/assets/’.
-
Ahhhhh!! l’inattention ,
merci beaucoup je n’y aurais jamais pensé___la texture du paladiumbloc ne marche pas -
Vire le .png qui se trouve ici
Paladiumbloc = new Paladiumbloc(Material.iron).setBlockName("Paladiumbloc").setBlockTextureName(MODID + ":paladiumbloc.png").setCreativeTab(CreativeTabs.tabBlock);
-
Re mercii
Clin d’oeil Clin d’oeil -
Attention aux doubles.
Merci aussi de ne pas envoyer de mp. Je lis tous les messages du forum lorsque je suis là, envoyer un mp ne va pas me faire répondre plus vite. (au contraire, ça me fait perdre du temps …). -
J’ai un (nouveau) problème : dans mon dossier de forge je n’ai pas de dossier “run”
-
As-tu un dossier eclipse ? (Dans ton dossier forge, pas celui du programme pour coder).
-
Ce dossier se créé automatiquement lors du premier lancement.
-
Oui j’ai un dossier eclipse pourquoi ?