1. Le forum de Minecraft-France va définitivement fermer ses portes. Celui-ci restera en lecture seule mais vous ne pourrez plus y apporter de nouveaux topics. Nous vous invitons à nous rejoindre sur le Discord de Minecraft-France qui permet de présenter vos projets, discuter avec la communauté etc.. Merci à tous d'avoir fait vivre ce forum de nombreuses années. Pour nous rejoindre sur Discord, Cliquez ici

Serveur Modées probleme

Discussion dans 'Serveurs' créé par theopsisblack76, 20 Oct 2014.

  1. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    Bonjour depuis que j'ai mis des mods sur mon serveur minecraft lorsque je veut me connecter cela me donne un message d'erreur (Internal server error) voici le rapport de crash merci pour l'aide :
    ---- Minecraft Crash Report ----
    // I let you down. Sorry :(

    Time: 20/10/14 22:04
    Description: Unexpected error

    java.lang.NoSuchMethodError: net.minecraft.client.gui.ScaledResolution.<init>(Lnet/minecraft/client/settings/GameSettings;II)V
    at ichun.client.gui.GuiModUpdateNotification.updateWindowScale(GuiModUpdateNotification.java:102)
    at ichun.client.gui.GuiModUpdateNotification.update(GuiModUpdateNotification.java:156)
    at ichun.client.core.TickHandlerClient.renderTick(TickHandlerClient.java:70)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_9_TickHandlerClient_renderTick_RenderTickEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)
    at cpw.mods.fml.common.FMLCommonHandler.onRenderTickEnd(FMLCommonHandler.java:339)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:992)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
    at ichun.client.gui.GuiModUpdateNotification.updateWindowScale(GuiModUpdateNotification.java:102)
    at ichun.client.gui.GuiModUpdateNotification.update(GuiModUpdateNotification.java:156)
    at ichun.client.core.TickHandlerClient.renderTick(TickHandlerClient.java:70)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_9_TickHandlerClient_renderTick_RenderTickEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)

    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['zeldadu76290'/98, l='MpServer', x=322,50, y=81,62, z=-369,50]]
    Chunk stats: MultiplayerChunkCache: 0, 0
    Level seed: 0
    Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
    Level generator options:
    Level spawn location: World: (320,79,-376), Chunk: (at 0,4,8 in 20,-24; contains blocks 320,0,-384 to 335,255,-369), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 41576 game time, 41576 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 1 total; [EntityClientPlayerMP['zeldadu76290'/98, l='MpServer', x=322,50, y=81,62, z=-369,50]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Non-integrated multiplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2433)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:916)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.8.0_11, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 135136120 bytes (128 MB) / 341704704 bytes (325 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 103
    FML: XRay v2.11.0 MCP v9.05 FML v7.10.25.1208 Minecraft Forge 10.13.0.1208 8 mods loaded, 8 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    FML{7.10.25.1208} [Forge Mod Loader] (forge-1.7.10-10.13.0.1208.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Forge{10.13.0.1208} [Minecraft Forge] (forge-1.7.10-10.13.0.1208.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    BiblioCraft{1.6.3} [BiblioCraft] (BiblioCraft[1.6.3][MC1.7.2].jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    fossil{1.7.10 Build 7.0} [Fossils and Archeology Revival] (Fossils_Archeology_Revival-1.7.10_Build-7.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    iChunUtil{3.3.0} [iChunUtil] (iChunUtil-3.3.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Morph{0.8.0} [Morph] (Morph-Beta-0.8.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    cfm{3.3.5} [§6MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.3.5(1.7.2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
    Launched Version: 1.7.10-Forge10.13.0.1208
    LWJGL: 2.9.1
    OpenGL: AMD Radeon R9 200 Series GL version 4.3.12458 Compatibility Profile Context 13.200.20.0, 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: [The_Doctor zelda]
    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)
     
  2. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    Salut,
    iChunUtil 3.3.0 est pour Minecraft 1.7.2, pour minecraft 1.7.10 utilise iChunUtil 4.0.0 : http://ichun.us/mods/ichunutil/
    (vérifie aussi tes autres mods, tout les mods 1.7.2 ne sont pas compatible avec Minecraft 1.7.10).
     
  3. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    merci de ta reponse mais maintenant avec le 4.0.0 sa me fer ceci quand je lance mon jeu :
    ---- Minecraft Crash Report ----
    // Who set us up the TNT?

    Time: 21/10/14 00:19
    Description: There was a severe problem during mod loading that has caused the game to fail

    cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: mainModel
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:695)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    Caused by: java.lang.NoSuchFieldError: mainModel
    at morph.client.core.ClientProxy.initPostMod(ClientProxy.java:93)
    at morph.common.Morph.postLoad(Morph.java:187)
    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:513)
    at sun.reflect.GeneratedMethodAccessor5.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:208)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    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:118)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694)
    ... 10 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 8.1 (amd64) version 6.3
    Java Version: 1.8.0_11, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 96911904 bytes (92 MB) / 290713600 bytes (277 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    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: XRay v2.11.0 MCP v9.05 FML v7.10.25.1208 Minecraft Forge 10.13.0.1208 8 mods loaded, 8 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
    FML{7.10.25.1208} [Forge Mod Loader] (forge-1.7.10-10.13.0.1208.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
    Forge{10.13.0.1208} [Minecraft Forge] (forge-1.7.10-10.13.0.1208.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
    BiblioCraft{1.6.3} [BiblioCraft] (BiblioCraft[1.6.3][MC1.7.2].jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
    fossil{1.7.10 Build 7.0} [Fossils and Archeology Revival] (Fossils_Archeology_Revival-1.7.10_Build-7.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
    iChunUtil{4.0.0} [iChunUtil] (iChunUtil-4.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
    Morph{0.8.0} [Morph] (Morph-Beta-0.8.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Errored
    cfm{3.3.5} [§6MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.3.5(1.7.2).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
     
  4. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    • Gagnant Gagnant x 1
  5. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    Merci de ton aide mes maintenant j'au un souci sais tu comment faire pour qu'un mod qu'on a créer devient compatible avec un serveur enfin voila le rapport de crash :
    ---- Minecraft Crash Report ----
    // On the bright side, I bought you a teddy bear!

    Time: 23/10/14 15:26
    Description: Exception in server tick loop

    java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer
    at net.minecraft.src.PrimevalCraftWorld.<init>(PrimevalCraftWorld.java:106)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at java.lang.Class.newInstance0(Class.java:372)
    at java.lang.Class.newInstance(Class.java:325)
    at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:486)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:208)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:118)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:492)
    at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
    at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:313)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:169)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 36 more
    Caused by: java.lang.NullPointerException
    at org.objectweb.asm.ClassReader.<init>(Unknown Source)
    at cpw.mods.fml.common.asm.transformers.TerminalTransformer.transform(TerminalTransformer.java:14)
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174)
    ... 38 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: Linux (amd64) version 3.12-0.bpo.1-amd64
    Java Version: 1.7.0, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 326979648 bytes (311 MB) / 518979584 bytes (494 MB) up to 18407424000 bytes (17554 MB)
    JVM Flags: 21 total; -Xms512M -XX:PermSize=256m -XX:MaxPermSize=512m -XX:-UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ParallelGCThreads=1
    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.25.1199 Minecraft Forge 10.13.0.1199 7 mods loaded, 7 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
    FML{7.10.25.1199} [Forge Mod Loader] (cauldron.jar) Unloaded->Constructed
    Forge{10.13.0.1199} [Minecraft Forge] (cauldron.jar) Unloaded->Constructed
    BiblioCraft{1.6.3} [BiblioCraft] (BiblioCraft[1.6.3][MC1.7.2].jar) Unloaded->Constructed
    FoodPlus{3.0rS} [Food Plus] (FoodPlus-1.7.2-3.0rS.jar) Unloaded->Constructed
    fossil{1.7.10 Build 7.0} [Fossils and Archeology Revival] (Fossils_Archeology_Revival-1.7.10_Build-7.0.jar) Unloaded->Constructed
    PrimevalCraftWorld{1.0.0} [PrimevalCraftWorld] (PrimevalCraftWorld.zip) Unloaded
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'cauldron,craftbukkit,mcpc,fml,forge'
    Type: Dedicated Server (map_server.txt)
     
  6. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    Il faut le code proprement, en respectant les sides. Tout ce qui est client doit être en @SideOnly(Side.CLIENT)
    Déjà le fait que ton mod soit dans le package net.minecraft.src n'est pas bon, tu as suivis quel tutoriel ?
     
  7. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    Je n'est pas suivie de tuto j'ai pris mcreator qui je me rend compte est bien moins bien que le codage il utilise des fonction modloader mais la je n'est pas le temps de coder cette semaine il n'y a t'il pas moyen de transvider entre parenthèse bien sur ma création sur eclipse ?
     
  8. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    Non, vaut mieux recommencer de 0 proprement.
     
  9. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    c'est a dire que en plus j'ai créer une animation que j avoue ne pas être capable de la refaire sur un bon codage voici se que j'ai fait 2014-10-23_17.20.59.png
    j'ai pris un model techne vide que j'ai rempli avec ce fameux logiciel de particule de feu
     
  10. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    Ça doit être possible de récupérer le code, mais je n'ai encore jamais fait ça.
     
  11. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    Et bien voici mon code qu'est ce que je dois reprendre svp et merci de l'aide ps désoler je ne me souvient plus comment faire de balise :
    import cpw.mods.fml.client.*;
    import cpw.mods.fml.client.registry.*;
    import cpw.mods.fml.common.*;
    import cpw.mods.fml.common.asm.*;
    import cpw.mods.fml.common.asm.transformers.*;
    import cpw.mods.fml.common.discovery.*;
    import cpw.mods.fml.common.discovery.asm.*;
    import cpw.mods.fml.common.event.*;
    import cpw.mods.fml.common.functions.*;
    import cpw.mods.fml.common.network.*;
    import cpw.mods.fml.common.registry.*;
    import cpw.mods.fml.common.toposort.*;
    import cpw.mods.fml.common.versioning.*;
    import cpw.mods.fml.relauncher.*;
    import cpw.mods.fml.server.*;
    import net.minecraft.block.*;
    import net.minecraft.block.material.*;
    import net.minecraft.client.*;
    import net.minecraft.client.audio.*;
    import net.minecraft.client.entity.*;
    import net.minecraft.client.gui.*;
    import net.minecraft.client.gui.achievement.*;
    import net.minecraft.client.gui.inventory.*;
    import net.minecraft.client.model.*;
    import net.minecraft.client.multiplayer.*;
    import net.minecraft.client.particle.*;
    import net.minecraft.client.renderer.*;
    import net.minecraft.client.renderer.culling.*;
    import net.minecraft.client.renderer.entity.*;
    import net.minecraft.client.renderer.tileentity.*;
    import net.minecraft.client.settings.*;
    import net.minecraft.command.*;
    import net.minecraft.crash.*;
    import net.minecraft.creativetab.*;
    import net.minecraft.dispenser.*;
    import net.minecraft.enchantment.*;
    import net.minecraft.entity.*;
    import net.minecraft.entity.ai.*;
    import net.minecraft.entity.boss.*;
    import net.minecraft.entity.effect.*;
    import net.minecraft.entity.item.*;
    import net.minecraft.entity.monster.*;
    import net.minecraft.entity.passive.*;
    import net.minecraft.entity.player.*;
    import net.minecraft.entity.projectile.*;
    import net.minecraft.inventory.*;
    import net.minecraft.item.*;
    import net.minecraft.item.crafting.*;
    import net.minecraft.nbt.*;
    import net.minecraft.network.*;
    import net.minecraft.network.rcon.*;
    import net.minecraft.pathfinding.*;
    import net.minecraft.potion.*;
    import net.minecraft.profiler.*;
    import net.minecraft.server.*;
    import net.minecraft.server.dedicated.*;
    import net.minecraft.server.gui.*;
    import net.minecraft.server.integrated.*;
    import net.minecraft.server.management.*;
    import net.minecraft.src.*;
    import net.minecraft.stats.*;
    import net.minecraft.tileentity.*;
    import net.minecraft.util.*;
    import net.minecraft.village.*;
    import net.minecraft.world.*;
    import net.minecraft.world.biome.*;
    import net.minecraft.world.chunk.*;
    import net.minecraft.world.chunk.storage.*;
    import net.minecraft.world.demo.*;
    import net.minecraft.world.gen.*;
    import net.minecraft.world.gen.feature.*;
    import net.minecraft.world.gen.layer.*;
    import net.minecraft.world.gen.structure.*;
    import net.minecraft.world.storage.*;
    import net.minecraftforge.classloading.*;
    import net.minecraftforge.client.*;
    import net.minecraftforge.client.event.*;
    import net.minecraftforge.client.event.sound.*;
    import net.minecraftforge.common.*;
    import net.minecraftforge.event.*;
    import net.minecraftforge.event.entity.*;
    import net.minecraftforge.event.entity.item.*;
    import net.minecraftforge.event.entity.living.*;
    import net.minecraftforge.event.entity.minecart.*;
    import net.minecraftforge.event.entity.player.*;
    import net.minecraftforge.event.terraingen.*;
    import net.minecraftforge.event.world.*;
    import net.minecraftforge.oredict.*;
    import net.minecraftforge.transformers.*;
    import net.minecraft.init.*;
    import java.util.*;

    import net.minecraftforge.common.util.*;
    import net.minecraft.client.renderer.texture.*;
    import org.lwjgl.opengl.GL11;
    import org.lwjgl.opengl.GL12;
    public class mcreator_anno {

    public mcreator_anno(){}

    public static BlockAnno block;

    public static Object instance;public int addFuel(ItemStack fuel){return 0;}
    public void serverLoad(FMLServerStartingEvent event){}
    public void preInit(FMLPreInitializationEvent event){

    GameRegistry.registerBlock(block, "Anno");
    }
    public void registerRenderers(){ClientRegistry.bindTileEntitySpecialRenderer(mcreator_anno.TileEntityCustom.class, new mcreator_anno.TileEntityCustomRenderer());}
    public void load(){
    GameRegistry.registerTileEntity(mcreator_anno.TileEntityCustom.class, "tileEntityAnno");
    GameRegistry.addRecipe(new ItemStack(block, 1), new Object[]{
    "012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.glass, 1), Character.valueOf('1'), new ItemStack(Blocks.glass, 1), Character.valueOf('2'), new ItemStack(Blocks.glass, 1), Character.valueOf('3'), new ItemStack(Blocks.glass, 1), Character.valueOf('4'), new ItemStack(Blocks.diamond_block, 1), Character.valueOf('5'), new ItemStack(Blocks.glass, 1), Character.valueOf('6'), new ItemStack(Blocks.redstone_lamp, 1), Character.valueOf('7'), new ItemStack(Blocks.beacon, 1), Character.valueOf('8'), new ItemStack(Blocks.redstone_lamp, 1),
    });
    }


    static{

    block = (BlockAnno)(new BlockAnno().setHardness(2.0F)
    .setResistance(35.0F)
    .setLightLevel(1.0F)
    .setBlockName("Anno")
    .setBlockTextureName("item_createur")
    .setLightOpacity(0)
    .setStepSound(Block.soundTypeGlass)
    .setCreativeTab(CreativeTabs.tabBlock)
    );block.setBlockBounds(0.0F,1.0F,0.0F,1.0F,2.0F,1.0F);
    Block.blockRegistry.addObject(177, "Anno", block);
    block.setHarvestLevel("pickaxe", 0);
    }

    public void generateSurface(World world, Random random, int chunkX, int chunkZ){}
    public void generateNether(World world, Random random, int chunkX, int chunkZ){}
    static class BlockAnno extends BlockContainer
    {

    int a1 = 0,a2 = 0,a3 = 0,a4 = 0,a5 = 0,a6 = 0;

    IIcon gor = null, dol = null, st1 = null, st2 = null, st3 = null, st4 = null;

    boolean red = false;





    protected BlockAnno()
    {
    super(Material.ground);

    }


    public int isProvidingStrongPower(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5){
    return red?1:0;
    }
    public void randomDisplayTick(World world, int i, int j, int k, Random random){
    EntityPlayer entity = Minecraft.getMinecraft().thePlayer;
    World par1World = world;
    int par2 = i;
    int par3 = j;
    int par4 = k;
    Random par5Random = random;
    if(true)
    for (int l = 0; l < 700; ++l)
    {
    double d0 = (double)((float)par2 + par5Random.nextFloat());
    double d1 = (double)((float)par3 + par5Random.nextFloat());
    double d2 = (double)((float)par4 + par5Random.nextFloat());
    double d3 = 0.0D;
    double d4 = 0.0D;
    double d5 = 0.0D;
    int i1 = par5Random.nextInt(2) * 2 - 1;
    d3 = ((double)par5Random.nextFloat() - 0.5D) * 0.4000000014901161D;
    d4 = ((double)par5Random.nextFloat() - 0.5D) * 0.4000000014901161D;
    d5 = ((double)par5Random.nextFloat() - 0.5D) * 0.4000000014901161D;
    par1World.spawnParticle("flame", d0, d1, d2, d3, d4, d5);
    }

    }
    public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity){

    if(true){
    if (entity.ridingEntity == null && entity.riddenByEntity == null && !world.isRemote){entity.travelToDimension(1);}
    }

    }
    @Override public TileEntity createNewTileEntity(World var1, int var2){return new TileEntityCustom();}
    @SideOnly(Side.CLIENT)
    @Override
    public IIcon getIcon(int i, int par2){

    if (i == 0)
    return gor;

    else if (i == 1)
    return dol;

    else if (i == 2)
    return st1;

    else if (i == 3)
    return st2;

    else if (i == 4)
    return st4;

    else if (i == 5)
    return st3;

    else
    return gor;

    }

    @SideOnly(Side.CLIENT)
    @Override
    public void registerBlockIcons(IIconRegister reg){
    this.gor = reg.registerIcon("item_createur");
    this.dol = reg.registerIcon("item_createur");
    this.st1 = reg.registerIcon("item_createur");
    this.st2 = reg.registerIcon("item_createur");
    this.st3 = reg.registerIcon("item_createur");
    this.st4 = reg.registerIcon("item_createur");
    }
    public boolean isOpaqueCube()
    {
    return false;
    }

    public boolean renderAsNormalBlock()
    {
    return false;
    }

    public int getRenderType(){
    return -1;
    }
    @Override
    public int tickRate(World world)
    {
    return 10;
    }

    public int quantityDropped(Random par1Random){
    return 0;
    }

    }
    public static class TileEntityCustom extends TileEntity {}
    public static class TileEntityCustomRenderer extends TileEntitySpecialRenderer {
    private final Modelano model;
    public TileEntityCustomRenderer() {this.model = new Modelano();}
    private void adjustRotatePivotViaMeta(World world, int x, int y, int z) {
    int meta = world.getBlockMetadata(x, y, z);
    GL11.glPushMatrix();
    GL11.glRotatef(meta * (-90), 0.0F, 0.0F, 1.0F);
    GL11.glPopMatrix();}
    @Override public void renderTileEntityAt(TileEntity te, double x, double y, double z, float scale) {
    GL11.glPushMatrix();
    GL11.glTranslatef((float)x+0.5F, (float)y+1.0F, (float)z+0.5F);
    ResourceLocation textures = (new ResourceLocation("Anomaly.png"));
    Minecraft.getMinecraft().renderEngine.bindTexture(textures);
    GL11.glPushMatrix();
    GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
    this.model.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
    GL11.glPopMatrix();
    GL11.glPopMatrix();}
    private void adjustLightFixture(World world, int i, int j, int k, Block block) {
    Tessellator tess = Tessellator.instance;
    float brightness = block.getLightValue(world, i, j, k);
    int skyLight = world.getLightBrightnessForSkyBlocks(i, j, k, 0);
    int modulousModifier = skyLight % 65536;
    int divModifier = skyLight / 65536;
    tess.setColorOpaque_F(brightness, brightness, brightness);
    OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, (float) modulousModifier, divModifier);}}

    // Date: 23/10/2014 13:39:29
    // Template version 1.1
    // Java generated by Techne
    // Keep in mind that you still need to fill in some blanks
    // - ZeuX








    public static class Modelano extends ModelBase
    {
    //fields
    ModelRenderer Shape1;

    public Modelano()
    {
    textureWidth = 64;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 1, 1, 1);
    Shape1.setRotationPoint(0F, 0F, 0F);
    Shape1.setTextureSize(64, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 0.1858931F, 0.3126102F, -0.4833219F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity);

    Shape1.render(f5);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity e)

    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5, e);
    }

    }}
     
  12. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    On va faire plus simple, fait un .zip du dossier src qui se trouve dans le dossier de la workspace forge et envoie-le moi
     
  13. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    Voici le src
     

    Fichiers attachés:

  14. robin4002

    robin4002 Support Technique
    Staff

    Inscrit:
    17 Août 2012
    Messages:
    5 478
    Points:
    229
    Sexe:
    Homme
    J'avais oublié à quel point du code mcreator faisait mal aux yeux x). Ce logiciel ne devrait même pas exister.
    Je te renvoie le fichier src dès que j'ai fini de remettre ça au propre, il n'y a pas tellement de classe donc ça devrait pas prendre plus de 30 min.

    @theopsisblack76
    pile dans les temps, c'est fini !
     
    #14 robin4002, 23 Oct 2014
    Dernière édition: 23 Oct 2014
  15. theopsisblack76

    theopsisblack76 Enter the World

    Inscrit:
    28 Avr 2013
    Messages:
    32
    Points:
    43
    Sexe:
    Homme
    merci de m'avoir accorder un peu de ton temps et ou est le téléchargement je ne le trouve pas
     

Partager cette page