Crash du debug 1.5.2
-
Bonjours,
Je vous soumet donc mon problème:
J’ai donc une des problèmes de compilation a la base mon mod était loader mais a moitier aucune textures sur les blocs armures etc….
Donc a la suite de certaines choses il y avait des choses qui ne m’avait pas plus j’ai donc modifier des emplacements rassembler le dossier textures avec les dossier mod client et common.
J’ai aussi modifier les codes puisque forcement des erreurs dans les packages ont était crée donc aprés sa plus aucune erreur nul part avec les class tout est nickel dans les codes etc…
Alors pour voir si sa marche je lance le debug et la, crash donc voila le crash report:a---- Minecraft Crash Report ----
// I’m sorry, Dave.Time: 01/09/13 13:41
Description: Failed to start gamecpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mod.client.ClientProxy
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:75)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:471)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:504)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:411)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:733)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: mod.client.ClientProxy
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:58)
… 28 more
Caused by: java.lang.NullPointerException
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227)
… 34 moreA detailed walkthrough of the error, its code path and all known details is as follows:
– System Details –
Details:
Minecraft Version: 1.5.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 932067512 bytes (888 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
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 4 mods loaded, 4 mods active
mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed
0510{1.0.2} [Road of ways] (bin) Unloaded->Errored
LWJGL: 2.4.2
OpenGL: ATI Mobility Radeon HD 5470 GL version 4.0.9901 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to ‘fml,forge’
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size:ERRORNullPointerException: nullMême si apparemment sa peut pas forcement vous aider.
Voila donc j’ai besoin d’aide afin de resoudre ce probleme de crash et de compilation.
Si il vous faut quoi que ce soit pour m’aider signaler le. -
Je peux voir ta classe principale et tes deux proxy ?
-
Globalement sa va mieux j’ai tout ramener comme avant pour eviter de ralentir.
Mais je me retrouve avec le meme probleme qu’au début avec les textures j’ai aucune textures sur mes blocs et je sais pas ou mettre mes textures:package mod.mod; import net.minecraft.block.Block; import net.minecraft.block.BlockStairs; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; import net.minecraft.src.ModLoader; import mod.common.CommonProxy; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import net.minecraftforge.common.EnumHelper; @Mod(modid = "0510", name = "Road of ways", version = "1.0.2") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class ModCatnos { @Instance("ModCatnos") public static ModCatnos modInstance; @SidedProxy(clientSide = "mod.client.ClientProxy", serverSide = "mod.common.CommonProxy", bukkitSide = "mod.common.CommonProxy") public static mod.common.CommonProxy proxy; public static Block goudron, groudon_bande_continue, goudron_bande_continue_discontinue_droite, goudron_bande_continue_discontinue_gauche, goudron_bande_discontinue, goudron_bande_passage_pieton, goudron_bande_stop, goudron_bande_virage_droite, goudron_bande_virage_gauche, goudron_bande_virage_gauche_2, goudron_bande_virage_X, goudron_carre_discontinue; public static Item sign_ville, sign_fin_ville, sign_travaux; public static Item HelmetTuto, maillot_new_mine_team, short_new_mine_team, chaussure_new_mine_team, maillot_equipe_france,short_equipe_france, chaussure_equipe_france; public static Item tete_deguisement_cookie_monster, maillot_deguisement_cookie_monster, pantalon_deguisement_cookie_monster, chaussure_deguisement_cookie_monster; static EnumArmorMaterial vetement = EnumHelper.addArmorMaterial("vetement", 20, new int[] {0, 0, 0, 0}, 17); @PreInit public void initConfig(FMLPreInitializationEvent event) { proxy.registerRender(); } @Init public void load(FMLInitializationEvent event) { Block fillet = new BlockFillet(2000).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("fillet"); Block herbe_synthetique = new BlockHerbe_synthetique(2001).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("herbe_synthetique"); Block herbe_synthetique_blanche = new BlockHerbe_synthetique_blanche(2002).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("herbe_synthetique_blanche"); Block goudron = new BlockGoudron(3500).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron"); Block goudron_bande_continue = new BlockGoudron_bande_continue(3501).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue"); Block goudron_bande_continue_discontinue_droite = new BlockGoudron_bande_continue_discontinue_droite(3502).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_droite"); Block goudron_bande_continue_discontinue_gauche = new BlockGoudron_bande_continue_discontinue_gauche(3503).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_gauche"); Block goudron_bande_discontinue = new BlockGoudron_bande_discontinue(3504).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_discontinue"); Block goudron_bande_passage_pieton = new BlockGoudron_bande_passage_pieton(3505).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_passage_pieton"); Block goudron_bande_stop = new BlockGoudron_bande_stop(3506).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_stop"); Block goudron_bande_virage_droite = new BlockGoudron_bande_virage_droite(3507).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_virage_droite"); Block goudron_bande_virage_gauche = new BlockGoudron_bande_virage_gauche(3508).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_virage_gauche"); Block goudron_bande_virage_gauche_2 = new BlockGoudron_bande_virage_gauche_2(3509).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_virage_gauche_2"); Block goudron_bande_virage_X = new BlockGoudron_bande_virage_X(3510).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_virage_X"); Block goudron_bande_carre_discontinue = new BlockGoudron_bande_carre_discontinue(3511).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_carre_discontinue"); Block goudron_bande_continue_discontinue_droite_horizontal = new BlockGoudron_bande_continue_discontinue_droite_horizontal(3512).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_droite_horizontal"); Block goudron_bande_continue_discontinue_gauche_horizontal = new BlockGoudron_bande_continue_discontinue_gauche_horizontal(3513).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_gauche_horizontal"); Block goudron_bande_continue_horizontal = new BlockGoudron_bande_continue_horizontal(3514).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_horizontal"); Block goudron_bande_discontinue_horizontal = new BlockGoudron_bande_discontinue_horizontal(3515).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_discontinue_horizontal"); Block goudron_bande_passage_pieton_horizontal = new BlockGoudron_bande_passage_pieton_horizontal(3516).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_passage_pieton_horizontal"); Block goudron_bande_stop_horizontal = new BlockGoudron_bande_stop_horizontal(3517).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_stop_horizontal"); Block goudron_bande_continue_discontinue_droite_lateral = new BlockGoudron_bande_continue_discontinue_droite_lateral(3518).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_droite_lateral"); Block goudron_bande_continue_discontinue_droite_lateral2 = new BlockGoudron_bande_continue_discontinue_droite_lateral2(3519).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_droite_lateral2"); Block goudron_bande_continue_discontinue_gauche_lateral = new BlockGoudron_bande_continue_discontinue_gauche_lateral(3520).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_gauche_lateral"); Block goudron_bande_continue_discontinue_gauche_lateral2 = new BlockGoudron_bande_continue_discontinue_gauche_lateral2(3521).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_discontinue_gauche_lateral2"); Block goudron_bande_continue_lateral = new BlockGoudron_bande_continue_lateral(3522).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_lateral"); Block goudron_bande_continue_lateral2 = new BlockGoudron_bande_continue_lateral2(3523).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_continue_lateral2"); Block goudron_bande_discontinue_lateral = new BlockGoudron_bande_discontinue_lateral(3524).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_discontinue_lateral"); Block goudron_bande_discontinue_lateral2 = new BlockGoudron_bande_discontinue_lateral2(3525).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_discontinue_lateral2"); Block goudron_bande_passage_pieton_lateral = new BlockGoudron_bande_passage_pieton_lateral(3526).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_passage_pieton_lateral"); Block goudron_bande_passage_pieton_lateral2 = new BlockGoudron_bande_passage_pieton_lateral2(3527).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_passage_pieton_lateral2"); Block goudron_bande_stop_lateral = new BlockGoudron_bande_stop_lateral(3528).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_stop_lateral"); Block goudron_bande_stop_lateral2 = new BlockGoudron_bande_stop_lateral2(3529).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_bande_stop_lateral2"); Block goudron_carre_discontinue_lateral = new BlockGoudron_carre_discontinue_lateral(3530).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_carre_discontinue_lateral"); Block goudron_carre_discontinue_lateral2 = new BlockGoudron_carre_discontinue_lateral2(3531).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("goudron_carre_discontinue_lateral2"); Block piste_route = new BlockPiste_route(3540).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_route"); Block fayence_bleue = new BlockFayence_bleue(3549).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("fayence_bleue"); Block fayence_blanc = new BlockFayence_blanc(3550).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("fayence_blanc"); Block fayence_gris = new BlockFayence_gris(3551).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("fayence_gris"); Block fayence_noir = new BlockFayence_noir(3552).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("fayence_noir"); Block grand_carrelage = new BlockGrand_carrelage(3553).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("grand_carrelage"); Block petit_carrelage = new BlockPetit_carrelage(3554).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("petit_carrelage"); Block tole = new BlockTole(3555).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("tole"); Block vibreur = new BlockVibreur(3556).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("vibreur"); Block piste = new BlockPiste(3560).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste"); Block piste_ligne = new BlockPiste_ligne(3561).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_ligne"); Block piste_start_1 = new BlockPiste_start_1(3562).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_1"); Block piste_start_2 = new BlockPiste_start_2(3563).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_2"); Block piste_start_3 = new BlockPiste_start_3(3564).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_3"); Block piste_start_4 = new BlockPiste_start_4(3565).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_4"); Block piste_start_5 = new BlockPiste_start_5(3566).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_5"); Block piste_start_6 = new BlockPiste_start_6(3567).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_6"); Block piste_start_7 = new BlockPiste_start_7(3568).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_7"); Block piste_start_8 = new BlockPiste_start_8(3569).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start_8"); Block piste_start = new BlockPiste_start(3570).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_start"); Block piste_ligne_virage = new BlockPiste_ligne_virage(3571).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_ligne_virage"); Block piste_ligne_courbe = new BlockPiste_ligne_courbe(3572).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_ligne_courbe"); Block piste_ligne_courbe_2 = new BlockPiste_ligne_courbe_2(3573).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("piste_ligne_courbe_2"); Block plongeoir_numero_1 = new BlockPlongeoir_numero_1(3580).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_1"); Block plongeoir_numero_2 = new BlockPlongeoir_numero_2(3581).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_2"); Block plongeoir_numero_3 = new BlockPlongeoir_numero_3(3582).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_3"); Block plongeoir_numero_4 = new BlockPlongeoir_numero_4(3583).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_4"); Block plongeoir_numero_5 = new BlockPlongeoir_numero_5(3584).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_5"); Block plongeoir_numero_6 = new BlockPlongeoir_numero_6(3585).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_6"); Block plongeoir_numero_7 = new BlockPlongeoir_numero_7(3586).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_7"); Block plongeoir_numero_8 = new BlockPlongeoir_numero_8(3587).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("plongeoir_numero_8"); Block podium = new BlockPodium(3588).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("podium"); Block podium_1 = new BlockPodium_1(3589).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("podium_1"); Block podium_2 = new BlockPodium_2(3590).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("podium_2"); Block podium_3 = new BlockPodium_3(3591).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("podium_3"); Block panneau_stop = new BlockPanneau_stop(4000).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_stop"); Block panneau_circulaire_interdiction = new BlockPanneau_circulaire_interdiction(4001).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_circulaire_interdiction"); Block panneau_sens_interdit = new BlockPanneau_sens_interdit(4002).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_sens_interdit"); Block panneau_triangulaire_ceder_le_passage = new BlockPanneau_triangulaire_ceder_le_passage(4003).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_triangulaire_ceder_le_passage"); Block paaneau_triangulaire_passage_pieton = new BlockPanneau_triangulaire_passage_pieton(4004).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("paaneau_triangulaire_passage_pieton"); Block panneau_virage_droite = new BlockPanneau_virage_droite(4005).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_virage_droite"); Block panneau_virage_gauche = new BlockPanneau_virage_gauche(4006).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_virage_gauche"); Block panneau_parking = new BlockPanneau_parking(4007).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("panneau_parking"); //item Item sign_ville = new ItemSign_ville(4200); //HelmetTuto = new ItemArmorNew_mine_team(5500, new_mine_team, 0, 0).setUnlocalizedName("HelmetTuto"); tete_deguisement_cookie_monster = new ItemArmorDeguisement_cookie_monster(4700, vetement, 0, 0).setUnlocalizedName("tete_deguisement_cookie_monster"); maillot_deguisement_cookie_monster = new ItemArmorDeguisement_cookie_monster(4701, vetement, 1, 1).setUnlocalizedName("maillot_deguisement_cookie_monster"); pantalon_deguisement_cookie_monster = new ItemArmorDeguisement_cookie_monster(4702, vetement, 2, 2).setUnlocalizedName("pantalon_deguisement_cookie_monster"); chaussure_deguisement_cookie_monster = new ItemArmorDeguisement_cookie_monster(4703, vetement, 3, 3).setUnlocalizedName("chaussure_deguisement_cookie_monster"); maillot_new_mine_team = new ItemArmorNew_mine_team(4501, vetement, 1, 1).setUnlocalizedName("maillot_new_mine_team"); short_new_mine_team = new ItemArmorNew_mine_team(4502, vetement, 2, 2).setUnlocalizedName("short_new_mine_team"); chaussure_new_mine_team = new ItemArmorNew_mine_team(4503, vetement, 3, 3).setUnlocalizedName("chaussure_new_mine_team"); maillot_equipe_france = new ItemArmorEquipe_france(4510, vetement, 1, 1).setUnlocalizedName("maillot_equipe_france"); short_equipe_france = new ItemArmorEquipe_france(4511, vetement, 2, 2).setUnlocalizedName("short_equipe_france"); chaussure_equipe_france = new ItemArmorEquipe_france(4512, vetement, 3, 3).setUnlocalizedName("chaussure_equipe_france"); GameRegistry.registerBlock(goudron, "goudron"); GameRegistry.registerBlock(goudron_bande_continue, "bande continue"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_droite, "continue discontinue droite"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_gauche, "continue discontinue gauche"); GameRegistry.registerBlock(goudron_bande_discontinue, "bande discontinue"); GameRegistry.registerBlock(goudron_bande_passage_pieton, "passage pieton"); GameRegistry.registerBlock(goudron_bande_stop, "bande stop"); GameRegistry.registerBlock(goudron_bande_virage_droite, "bande virage droite"); GameRegistry.registerBlock(goudron_bande_virage_gauche, "bande virage gauche"); GameRegistry.registerBlock(goudron_bande_virage_gauche_2, "bande virage gauche 2"); GameRegistry.registerBlock(goudron_bande_virage_X, "bande virage droite 2"); GameRegistry.registerBlock(goudron_bande_carre_discontinue, "bande carre discontinue"); GameRegistry.registerBlock(fayence_bleue, "fayence bleue"); GameRegistry.registerBlock(fayence_blanc, "fayence blanc"); GameRegistry.registerBlock(fayence_gris, "fayence gris"); GameRegistry.registerBlock(fayence_noir, "fayence noir"); GameRegistry.registerBlock(piste, "piste"); GameRegistry.registerBlock(piste_ligne, "piste_ligne"); GameRegistry.registerBlock(piste_start_1, "piste_start_1"); GameRegistry.registerBlock(piste_start_2, "piste_start_2"); GameRegistry.registerBlock(piste_start_3, "piste_start_3"); GameRegistry.registerBlock(piste_start_4, "piste_start_4"); GameRegistry.registerBlock(piste_start_5, "piste_start_5"); GameRegistry.registerBlock(piste_start_6, "piste_start_6"); GameRegistry.registerBlock(piste_start_7, "piste_start_7"); GameRegistry.registerBlock(piste_start_8, "piste_start_8"); GameRegistry.registerBlock(piste_start, "piste_start"); GameRegistry.registerBlock(piste_ligne_virage, "piste_ligne_virage"); GameRegistry.registerBlock(piste_ligne_courbe, "piste_ligne_courbe"); GameRegistry.registerBlock(piste_ligne_courbe_2, "piste_ligne_courbe_2"); GameRegistry.registerBlock(piste_route, "piste_route"); GameRegistry.registerBlock(grand_carrelage, "grand_carrelage"); GameRegistry.registerBlock(petit_carrelage, "petit_carrelage"); GameRegistry.registerBlock(tole, "tole"); GameRegistry.registerBlock(vibreur, "vibreur"); GameRegistry.registerBlock(plongeoir_numero_1, "plongeoir_numero_1"); GameRegistry.registerBlock(plongeoir_numero_2, "plongeoir_numero_2"); GameRegistry.registerBlock(plongeoir_numero_3, "plongeoir_numero_3"); GameRegistry.registerBlock(plongeoir_numero_4, "plongeoir_numero_4"); GameRegistry.registerBlock(plongeoir_numero_5, "plongeoir_numero_5"); GameRegistry.registerBlock(plongeoir_numero_6, "plongeoir_numero_6"); GameRegistry.registerBlock(plongeoir_numero_7, "plongeoir_numero_7"); GameRegistry.registerBlock(plongeoir_numero_8, "plongeoir_numero_8"); GameRegistry.registerBlock(podium, "podium"); GameRegistry.registerBlock(podium_1, "podium_1"); GameRegistry.registerBlock(podium_2, "podium_2"); GameRegistry.registerBlock(podium_3, "podium_3"); GameRegistry.registerBlock(panneau_stop, "panneau_stop"); GameRegistry.registerBlock(panneau_circulaire_interdiction, "panneau_circulaire_interdiction"); GameRegistry.registerBlock(panneau_sens_interdit, "panneau_sens_interdit"); GameRegistry.registerBlock(panneau_triangulaire_ceder_le_passage, "panneau_triangulaire_ceder_le_passage"); GameRegistry.registerBlock(paaneau_triangulaire_passage_pieton, "paaneau_triangulaire_passage_pieton"); GameRegistry.registerBlock(panneau_virage_droite, "panneau_virage_droite"); GameRegistry.registerBlock(panneau_virage_gauche, "panneau_virage_gauche"); GameRegistry.registerBlock(panneau_parking, "panneau_parking"); GameRegistry.registerBlock(fillet, "fillet"); GameRegistry.registerBlock(herbe_synthetique, "herbe_synthetique"); GameRegistry.registerBlock(herbe_synthetique_blanche, "herbe_synthetique_blanche"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_droite_horizontal, "goudron_bande_continue_discontinue_droite_horizontal"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_gauche_horizontal, "goudron_bande_continue_discontinue_gauche_horizontal"); GameRegistry.registerBlock(goudron_bande_continue_horizontal, "goudron_bande_continue_horizontal"); GameRegistry.registerBlock(goudron_bande_discontinue_horizontal, "goudron_bande_discontinue_horizontal"); GameRegistry.registerBlock(goudron_bande_passage_pieton_horizontal, "goudron_bande_passage_pieton_horizontal"); GameRegistry.registerBlock(goudron_bande_stop_horizontal, "goudron_bande_stop_horizontal"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_droite_lateral, "goudron_bande_continue_discontinue_droite_lateral"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_droite_lateral2, "goudron_bande_continue_discontinue_droite_lateral2"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_gauche_lateral, "goudron_bande_continue_discontinue_gauche_lateral"); GameRegistry.registerBlock(goudron_bande_continue_discontinue_gauche_lateral2, "goudron_bande_continue_discontinue_gauche_lateral2"); GameRegistry.registerBlock(goudron_bande_continue_lateral, "goudron_bande_continue_lateral"); GameRegistry.registerBlock(goudron_bande_continue_lateral2, "goudron_bande_continue_lateral2"); GameRegistry.registerBlock(goudron_bande_discontinue_lateral, "goudron_bande_discontinue_lateral"); GameRegistry.registerBlock(goudron_bande_discontinue_lateral2, "goudron_bande_discontinue_lateral2"); GameRegistry.registerBlock(goudron_bande_stop_lateral, "goudron_bande_stop_lateral"); GameRegistry.registerBlock(goudron_bande_stop_lateral2, "goudron_bande_stop_lateral2"); GameRegistry.registerBlock(goudron_carre_discontinue_lateral, "goudron_carre_discontinue_lateral"); GameRegistry.registerBlock(goudron_carre_discontinue_lateral2, "goudron_carre_discontinue_lateral2"); //item GameRegistry.registerItem(sign_ville, "sign_ville"); LanguageRegistry.addName(goudron, "goudron"); LanguageRegistry.addName(goudron_bande_continue, "bande continue"); LanguageRegistry.addName(goudron_bande_continue_discontinue_droite, "continue discontinue droite"); LanguageRegistry.addName(goudron_bande_continue_discontinue_gauche, "continue discontinue gauche"); LanguageRegistry.addName(goudron_bande_discontinue, "bande discontinue"); LanguageRegistry.addName(goudron_bande_passage_pieton, "passage pieton"); LanguageRegistry.addName(goudron_bande_stop, "bande stop"); LanguageRegistry.addName(goudron_bande_virage_droite, "bande virage droite"); LanguageRegistry.addName(goudron_bande_virage_gauche, "bande virage gauche"); LanguageRegistry.addName(goudron_bande_virage_gauche_2, "bande virage gauche 2"); LanguageRegistry.addName(goudron_bande_virage_X, "bande virage droite 2"); LanguageRegistry.addName(goudron_bande_carre_discontinue, "bande carre discontinue"); LanguageRegistry.addName(piste, "piste"); LanguageRegistry.addName(piste_ligne, "piste ligne"); LanguageRegistry.addName(piste_start_1, "piste start 1"); LanguageRegistry.addName(piste_start_2, "piste start 2"); LanguageRegistry.addName(piste_start_3, "piste start 3"); LanguageRegistry.addName(piste_start_4, "piste start 4"); LanguageRegistry.addName(piste_start_5, "piste start 5"); LanguageRegistry.addName(piste_start_6, "piste start 6"); LanguageRegistry.addName(piste_start_7, "piste start 7"); LanguageRegistry.addName(piste_start_8, "piste start 8"); LanguageRegistry.addName(piste_start, "piste start"); LanguageRegistry.addName(piste_ligne_virage, "piste virage"); LanguageRegistry.addName(piste_ligne_courbe, "piste courbe"); LanguageRegistry.addName(piste_ligne_courbe_2, "piste courbe 2"); LanguageRegistry.addName(piste_route, "piste route"); LanguageRegistry.addName(grand_carrelage, "grand carrelage"); LanguageRegistry.addName(petit_carrelage, "petit carrelage"); LanguageRegistry.addName(tole, "tole"); LanguageRegistry.addName(fayence_bleue, "fayence bleue"); LanguageRegistry.addName(fayence_blanc, "fayence blanche"); LanguageRegistry.addName(fayence_gris, "fayence grise"); LanguageRegistry.addName(fayence_noir, "fayence noire"); LanguageRegistry.addName(vibreur, "vibreur"); LanguageRegistry.addName(plongeoir_numero_1, "plongeoir 1"); LanguageRegistry.addName(plongeoir_numero_2, "plongeoir 2"); LanguageRegistry.addName(plongeoir_numero_3, "plongeoir 3"); LanguageRegistry.addName(plongeoir_numero_4, "plongeoir 4"); LanguageRegistry.addName(plongeoir_numero_5, "plongeoir 5"); LanguageRegistry.addName(plongeoir_numero_6, "plongeoir 6"); LanguageRegistry.addName(plongeoir_numero_7, "plongeoir 7"); LanguageRegistry.addName(plongeoir_numero_8, "plongeoir 8"); LanguageRegistry.addName(podium, "podium"); LanguageRegistry.addName(podium_1, "podium 1"); LanguageRegistry.addName(podium_2, "podium 2"); LanguageRegistry.addName(podium_3, "podium 3"); LanguageRegistry.addName(panneau_stop, "panneau stop"); LanguageRegistry.addName(panneau_circulaire_interdiction, "panneau interdiction"); LanguageRegistry.addName(panneau_sens_interdit, "panneau sens interdit"); LanguageRegistry.addName(panneau_triangulaire_ceder_le_passage, "panneau ceder le passage"); LanguageRegistry.addName(paaneau_triangulaire_passage_pieton, "panneau passage pieton"); LanguageRegistry.addName(panneau_virage_droite, "panneau virage droite"); LanguageRegistry.addName(panneau_virage_gauche, "panneau virage gauche"); LanguageRegistry.addName(panneau_parking, "panneau parking"); LanguageRegistry.addName(fillet, "fillet"); LanguageRegistry.addName(herbe_synthetique, "terrain synthetique"); LanguageRegistry.addName(herbe_synthetique_blanche, "terrain synthetique blanc"); LanguageRegistry.addName(goudron_bande_continue_discontinue_droite_horizontal, "bande continue discontinue horizontal droite"); LanguageRegistry.addName(goudron_bande_continue_discontinue_gauche_horizontal, "bande continue discontinue horizontal gauche"); LanguageRegistry.addName(goudron_bande_continue_horizontal, "bande continue horizontal"); LanguageRegistry.addName(goudron_bande_discontinue_horizontal, "bande discontinue horizontal"); LanguageRegistry.addName(goudron_bande_passage_pieton_horizontal, "bande passage pieton horizontal"); LanguageRegistry.addName(goudron_bande_stop_horizontal, "bande stop horizontal"); LanguageRegistry.addName(goudron_bande_continue_discontinue_droite_lateral, "bande continue discontinue lateral droite"); LanguageRegistry.addName(goudron_bande_continue_discontinue_droite_lateral2, "bande continue discontinue lateral droite 2"); LanguageRegistry.addName(goudron_bande_continue_discontinue_gauche_lateral, "bande continue discontinue lateral gauche"); LanguageRegistry.addName(goudron_bande_continue_discontinue_gauche_lateral2, "bande continue discontinue lateral gauche2"); LanguageRegistry.addName(goudron_bande_continue_lateral, "bande continue lateral"); LanguageRegistry.addName(goudron_bande_continue_lateral2, "bande continue lateral 2"); LanguageRegistry.addName(goudron_bande_discontinue_lateral, "bande discontinue lateral"); LanguageRegistry.addName(goudron_bande_discontinue_lateral2, "bande discontinue lateral 2"); LanguageRegistry.addName(goudron_bande_stop_lateral, "bande stop lateral"); LanguageRegistry.addName(goudron_bande_stop_lateral2, "bande stop lateral 2"); LanguageRegistry.addName(goudron_carre_discontinue_lateral, "carre discontinue lateral"); LanguageRegistry.addName(goudron_carre_discontinue_lateral2, "carre discontinue lateral 2"); //item LanguageRegistry.addName(sign_ville, "Signalisation ville"); //LanguageRegistry.addName(HelmetTuto, "Tuto Helmet"); LanguageRegistry.addName(maillot_new_mine_team, "maillot new mine team"); LanguageRegistry.addName(short_new_mine_team, "short new mine team"); LanguageRegistry.addName(chaussure_new_mine_team, "chaussure new mine team"); LanguageRegistry.addName(maillot_equipe_france, "maillot equipe de France"); LanguageRegistry.addName(short_equipe_france, "short equipe de France"); LanguageRegistry.addName(chaussure_equipe_france, "chaussure equipe de France"); LanguageRegistry.addName(tete_deguisement_cookie_monster, "tete deguisement cookie monster"); LanguageRegistry.addName(maillot_deguisement_cookie_monster, "maillot deguisement cookie monster"); LanguageRegistry.addName(pantalon_deguisement_cookie_monster, "pantalon deguisement cookie monster"); LanguageRegistry.addName(chaussure_deguisement_cookie_monster, "chaussure deguisement cookie monster"); } }
Voila pour la classe principal et voici les deux proxy:
package mod.client; import mod.common.CommonProxy; public class ClientProxy extends CommonProxy { @Override public void registerRender() { } }
package mod.common; public class CommonProxy { public void registerRender() { } }
et voila.
-
Mets tes codes dans la balise [java][/java] sans les *, pour plus de clarté
-
@‘Superloup10’:
Mets tes codes dans la balise [java][/java] sans les *, pour plus de clarté
Merci je savais plus comment on faisait.
-
Bon plusieurs problème :
modid = “0510” ?
Tu as vu ça où ? Le modid est un String, pas un int, ça colle pas ici :@Instance("ModCatnos") public static ModCatnos modInstance;
Le @Instance(“ModCatnos”) devrait être le même que le modid, change ton modid.
bukkitSide = "mod.common.CommonProxy"
Sert à rien, il n’est pas disponible actuellement
@Deprecated /** * Not implemented * The name of a special bukkit plugin class to load and populate */ String bukkitSide() default "";
Vire-le, c’est surement lui le problème, concernant mcpc plus, il charge très bien les mods même s’ils n’ont pas de bukkitside.
-
jai trouver une erreur interressante pour les texture lors du debug voila:
[WARNING] [Minecraft-Client] TextureManager.createTexture called for file textures/blocks/herbe_synthetique_blanche.png, but that file does not exist. Ignoring.
pour toute en plus. -
Cette ligne que la texture n’a pas été trouvée.
-
C’est bon j’ai recuperer toutes mes textures les debugs vont bien tous remarche pour le mieux maintenant le grand moment la compilation et que j’ai mes textures avec …. C’est la mon plus grand problème
Et bien sur je n’ai pas les textures de mes blocs items et armors dans le jeu dans l’archive jai mis ce que la manip ma donné soit mod et cpw mais je ne sais ou mettre mes textures.
J’ai maintenant reussi a rattraper celle sur les items et armors pour les armures mais pas les blocs.
-
Après la compilation, ton archive n’est composé que de tes classes, pour rajouter les textures, il faut rajouter manuellement le dossier mods qui contient tes textures, directement dans l’archive. A la fin dans ton archive, tu devrais avoir le dossier qui contient toutes les classes de ton mod, plus le dossier mods et éventuellement, le fichier mcmod.info.
-
@‘Superloup10’:
Après la compilation, ton archive n’est composé que de tes classes, pour rajouter les textures, il faut rajouter manuellement le dossier mods qui contient tes textures, directement dans l’archive. A la fin dans ton archive, tu devrais avoir le dossier qui contient toutes les classes de ton mod, plus le dossier mods et éventuellement, le fichier mcmod.info.
Oui justement c’est le cas pour mes armures et mes items mais les blocs sa passe pas quand je rajoute les textures blocks dans le dossiers mods le mod n’est plus loader
-
Tu peux mettre un exemple de bloc qui ne fonctionne pas?
-
Salut TheLLspectre, je sais c’est or sujet mais bon:
Tu ne serais pas “Catnospsix” pas hasard ? ou tu a juste suivie des tuto de lui ?merci d’avance.
Cordialement.
-
@‘sevenno07’:
Salut TheLLspectre, je sais c’est or sujet mais bon:
Tu ne serais pas “Catnospsix” pas hasard ? ou tu a juste suivie des tuto de lui ?merci d’avance.
Cordialement.
J’ai juste suivi
@‘Superloup10’:
Tu peux mettre un exemple de bloc qui ne fonctionne pas?
Enfaite la j’ai tous les blocks qui n’ont pas de textures et il me met le warning que j’ai montrer tout a l’heure
je donne les codes d’un bloc :Block fillet = new BlockFillet(2000).setResistance(10000F).setBlockUnbreakable().setUnlocalizedName("fillet");
et sa classe
package mod.mod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.BlockDirectional; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLiving; import net.minecraft.item.ItemStack; import net.minecraft.util.Icon; import net.minecraft.util.MathHelper; import net.minecraft.world.World; public class BlockFillet extends Block { public BlockFillet(int par1) { super(par1, Material.glass); this.setCreativeTab(CreativeTabs.tabBlock); } private Icon icontop, iconbottom, iconfront; public void registerIcons(IconRegister iconRegister) { blockIcon = iconRegister.registerIcon("fillet"); iconfront = iconRegister.registerIcon("fillet"); icontop = iconRegister.registerIcon("fillet"); iconbottom = iconRegister.registerIcon("fillet"); } public void onBlockPlacedBy(World world, int x, int y, int z, EntityLiving living, ItemStack stack) { int direction = MathHelper.floor_double((double)(living.rotationYaw * 4.0F / 360.0F) + 2.5D) & 3; world.setBlockMetadataWithNotify(x, y, z, direction, 2); } @SideOnly(Side.CLIENT) public Icon getIcon(int side, int metadata) { return side == 1 ? this.icontop : (side == 0 ? this.iconbottom : (metadata == 2 && side == 2 ? this.iconfront : (metadata == 3 && side == 5 ? this.iconfront : (metadata == 0 && side == 3 ? this.iconfront : (metadata == 1 && side == 4 ? this.iconfront : this.blockIcon))))); } public int getRenderBlockPass() { return 0; } public boolean renderAsNormalBlock() { return false; } }
et lors du debug que ce soit pour celui la ou autre ba sa marche pas.
Il me met le warning avec le chemin d’acces mods/textures/blocks/……png -
Normal, tu as oublié ton modid, devant fillet. Met ce code là:```java
public void registerIcons(IconRegister iconRegister)
{
blockIcon = iconRegister.registerIcon(“modid:fillet”);
iconfront = iconRegister.registerIcon(“modid:fillet”);
icontop = iconRegister.registerIcon(“modid:fillet”);
iconbottom = iconRegister.registerIcon(“modid:fillet”);
}modid, c'est le nom que tu as mis dans le @mod dans la class principale.
-
@‘Superloup10’:
Normal, tu as oublié ton modid, devant fillet. Met ce code là:```java
public void registerIcons(IconRegister iconRegister)
{
blockIcon = iconRegister.registerIcon(“modid:fillet”);
iconfront = iconRegister.registerIcon(“modid:fillet”);
icontop = iconRegister.registerIcon(“modid:fillet”);
iconbottom = iconRegister.registerIcon(“modid:fillet”);
}modid, c'est le nom que tu as mis dans le @mod dans la class principale.
Sa marche!
Mais pour cela je fais comment:package mod.mod; import net.minecraft.block.Block; import net.minecraft.block.BlockDirectional; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class BlockGoudron extends Block { public BlockGoudron(int par1) { super(par1, Material.rock); this.setCreativeTab(CreativeTabs.tabBlock); } }
-
Tu rajoutes ```java
public void registerIcons(IconRegister iconRegister)
{
blockIcon = iconRegister.registerIcon(“modid:Block”);
}Sinon, je te conseille de créer une table créative pour ton mod, tu retrouveras plus facilement tes blocs et items, comme ça.
-
@‘Superloup10’:
Tu rajoutes ```java
public void registerIcons(IconRegister iconRegister)
{
blockIcon = iconRegister.registerIcon(“modid:Block”);
}Sinon, je te conseille de créer une table créative pour ton mod, tu retrouveras plus facilement tes blocs et items, comme ça.
j’ai essayer aussi pour la table creative mais une fois que je cliquer sur la fleche vers la droite sa fermer le debug mais j’adorais avoir une table creative
-
Tu as suivi le tuto que j’ai fais sur les tables créatives ou pas?
-
@‘Superloup10’:
Tu as suivi le tuto que j’ai fais sur les tables créatives ou pas?
euh non pas le tiens