• S'inscrire
    • Se connecter
    • Recherche
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes

    Résolu [Craft ERROR]

    1.7.x
    1.7.10
    2
    7
    1667
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • SpyMan
      SpyMan dernière édition par

      Bonjour j’essai de faire des recettes mais le jeu crash lors de la run. j’ai regardé le tuto sur les recettes et j’ai reproduit le même code sans résultat.  😞

      *%(#3366ff)```
      *

      ​                GameRegistry.addRecipe(new ItemStack(Wrench), new Object[] { "I I",
      				" O ", " I ", 'I', new ItemStack(Items.iron_ingot, 1), 'O',
      				new ItemStack(Items.dye, 1, 14) });
      
      		GameRegistry.addRecipe(new ItemStack(Hammer, 1), new Object[] { "III",
      				"III", " S ", 'S', new ItemStack(Items.stick, 1), 'I',
      				new ItemStack(Items.iron_ingot, 1) });
      
      		GameRegistry.addShapedRecipe(new ItemStack(ironPlate), new Object[] {
      				new ItemStack(Items.iron_ingot, 1), new ItemStack(Hammer, 1) });
      
      		GameRegistry.addShapedRecipe(new ItemStack(steelPlate), new Object[] {
      				new ItemStack(steelIngot, 1), new ItemStack(Hammer, 1) });
      

      Logs :
      [quote]
      [20:28:40] [main/INFO] [GradleStart]: Extra: []
      [20:28:41] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Family/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
      [20:28:41] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [20:28:41] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [20:28:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
      [20:28:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
      [20:28:41] [main/INFO] [FML]: Forge Mod Loader version 7.99.18.1452 for Minecraft 1.7.10 loading
      [20:28:41] [main/INFO] [FML]: Java is Java HotSpot™ 64-Bit Server VM, version 1.8.0_45, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_45
      [20:28:41] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
      [20:28:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
      [20:28:41] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
      [20:28:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
      [20:28:41] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [20:28:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [20:28:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
      [20:28:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [20:28:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [20:28:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [20:28:46] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
      [20:28:58] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
      [20:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [20:28:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [20:29:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
      [20:29:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
      [20:29:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
      [20:29:00] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
      [20:29:05] [main/INFO]: Setting user: Player493
      [20:29:17] [Client thread/INFO]: LWJGL Version: 2.9.1
      [20:29:24] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
      // Surprise! Haha. Well, this is awkward.

      Time: 21/06/15 20:29
      Description: Loading screen debug info

      This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

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

      – System Details –
      Details:
      Minecraft Version: 1.7.10
      Operating System: Windows 7 (amd64) version 6.1
      Java Version: 1.8.0_45, Oracle Corporation
      Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 953810104 bytes (909 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
      JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      FML: 
      GL info: ’ Vendor: ‘Intel’ Version: ‘2.1.0 - Build 8.15.10.2302’ Renderer: ‘Mobile Intel® 4 Series Express Chipset Family’
      [20:29:24] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
      [20:29:24] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1452 Initialized
      [20:29:24] [Client thread/INFO] [FML]: Replaced 183 ore recipies
      [20:29:26] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
      [20:29:27] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
      [20:29:27] [Client thread/INFO] [FML]: Searching C:\Users\Family\Desktop\forge-1.7.10-10.13.4.1452-1.7.10-src\eclipse\mods for mods
      [20:29:27] [Client thread/INFO] [FML]: Attempting to reparse the mod container bin
      [20:29:42] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
      [20:29:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modmechanicalcraft] at CLIENT
      [20:29:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modmechanicalcraft] at SERVER
      [20:29:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:MechanicalCraft
      [20:29:46] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
      [20:29:46] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
      [20:29:46] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
      [20:29:46] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
      [20:29:46] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
      [20:29:46] [Client thread/INFO] [FML]: Applying holder lookups
      [20:29:46] [Client thread/INFO] [FML]: Holder lookups applied
      [20:29:46] [Client thread/INFO] [FML]: Injecting itemstacks
      [20:29:46] [Client thread/INFO] [FML]: Itemstack injection complete
      [20:29:46] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
      [20:29:46] [Client thread/ERROR] [FML]: 
      States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
      UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
      UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar) 
      UCH Forge{10.13.4.1452} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar) 
      UCE modmechanicalcraft{1.0.0} [MechanicalCraft] (bin) 
      [20:29:46] [Client thread/ERROR] [FML]: The following problems were captured during this phase
      [20:29:46] [Client thread/ERROR] [FML]: Caught exception from modmechanicalcraft
      java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Character
      at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209) ~[forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar:?]
      at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250) ~[forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar:?]
      at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245) ~[forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar:?]
      at com.google.SpyMan.Mechanicalcraft.common.mod_mechanicalcraft.preInit(mod_mechanicalcraft.java:105) ~[bin/:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar:?]
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
      at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
      at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      [20:29:46] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----
      // Quite honestly, I wouldn’t worry myself about that.

      Time: 21/06/15 20:29
      Description: Initializing game

      java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Character
      at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209)
      at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
      at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
      at com.google.SpyMan.Mechanicalcraft.common.mod_mechanicalcraft.preInit(mod_mechanicalcraft.java:105)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
      at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
      at net.minecraft.client.Minecraft.run(Minecraft.java:942)
      at net.minecraft.client.main.Main.main(Main.java:164)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
      at GradleStart.main(Unknown Source)

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

      – Head –
      Stacktrace:
      at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209)
      at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
      at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
      at com.google.SpyMan.Mechanicalcraft.common.mod_mechanicalcraft.preInit(mod_mechanicalcraft.java:105)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
      at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
      at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
      at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

      – Initialization –
      Details:
      Stacktrace:
      at net.minecraft.client.Minecraft.run(Minecraft.java:942)
      at net.minecraft.client.main.Main.main(Main.java:164)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
      at GradleStart.main(Unknown Source)

      – System Details –
      Details:
      Minecraft Version: 1.7.10
      Operating System: Windows 7 (amd64) version 6.1
      Java Version: 1.8.0_45, Oracle Corporation
      Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 913899824 bytes (871 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
      JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1452 4 mods loaded, 4 mods active
      States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
      UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
      UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar) 
      UCH Forge{10.13.4.1452} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1452-1.7.10.jar) 
      UCE modmechanicalcraft{1.0.0} [MechanicalCraft] (bin) 
      GL info: ’ Vendor: ‘Intel’ Version: ‘2.1.0 - Build 8.15.10.2302’ Renderer: ‘Mobile Intel® 4 Series Express Chipset Family’
      Launched Version: 1.7.10
      LWJGL: 2.9.1
      OpenGL: Mobile Intel® 4 Series Express Chipset Family GL version 2.1.0 - Build 8.15.10.2302, Intel
      GL Caps: Using GL 1.3 multitexturing.
      Using framebuffer objects because EXT_framebuffer_object is supported.
      Anisotropic filtering is supported and maximum anisotropy is 2.
      Shaders are available because OpenGL 2.1 is supported.

      Is Modded: Definitely; Client brand changed to ‘fml,forge’
      Type: Client (map_client.txt)
      Resource Packs: []
      Current Language: English (US)
      Profiler Position: N/A (disabled)
      Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      Anisotropic Filtering: Off (1)
      [20:29:46] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Family\Desktop\forge-1.7.10-10.13.4.1452-1.7.10-src\eclipse.\crash-reports\crash-2015-06-21_20.29.46-client.txt
      Java HotSpot™ 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

      [/quote]Merci de bien vouloir me répondre :shy: .

      1 réponse Dernière réponse Répondre Citer 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

        java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Character
        at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209)
        at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
        at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
        at com.google.SpyMan.Mechanicalcraft.common.mod_mechanicalcraft.preInit(mod_mechanicalcraft.java:105)

        Ligne 105 de mod_mechanicalcraft ?

        1 réponse Dernière réponse Répondre Citer 0
        • SpyMan
          SpyMan dernière édition par

          J’ai rien a la ligne 105 pourtant. :huh:

          code :

          ​package com.google.SpyMan.Mechanicalcraft.common;
          
          import java.util.ArrayList;
          import java.util.List;
          
          import net.minecraft.creativetab.CreativeTabs;
          import net.minecraft.init.Items;
          import net.minecraft.item.Item;
          import net.minecraft.item.ItemStack;
          import net.minecraft.block.Block;
          import net.minecraft.block.material.Material;
          
          import com.google.SpyMan.Mechanicalcraft.proxy.ClientProxy;
          import com.google.SpyMan.Mechanicalcraft.proxy.CommonProxy;
          
          import cpw.mods.fml.common.FMLCommonHandler;
          import cpw.mods.fml.common.Mod;
          import cpw.mods.fml.common.Mod.EventHandler;
          import cpw.mods.fml.common.Mod.Instance;
          import cpw.mods.fml.common.SidedProxy;
          import cpw.mods.fml.common.event.FMLInitializationEvent;
          import cpw.mods.fml.common.event.FMLPostInitializationEvent;
          import cpw.mods.fml.common.event.FMLPreInitializationEvent;
          import cpw.mods.fml.common.registry.GameRegistry;
          
          @Mod(modid = "modmechanicalcraft", name = "MechanicalCraft_beta", version = "1.0.0")
          public class mod_mechanicalcraft {
          
          @Instance("modmechanicalcraft")
          public static mod_mechanicalcraft instance;
          
          @SidedProxy(clientSide = "com.google.SpyMan.Mechanicalcraft.proxy.ClientProxy", serverSide = "com.google.SpyMan.Mechanicalcraft.proxy.CommonProxy")
          public static CommonProxy proxy;
          
          // Item –---------------------------------------------
          
          public static Item Wrench;
          public static Item Hammer;
          public static Item steelIngot;
          public static Item coalDust;
          public static Item ironPlate;
          public static Item steelPlate;
          public static Item ironGear;
          public static Item redstoneCrystal;
          
          // Blocks ----------------------------------------------
          
          public static Block Crusher;
          
          @EventHandler
          public void preInit(FMLPreInitializationEvent event) {
          
          // Item ---------------------------------------------
          
          Wrench = new Wrench().setUnlocalizedName("Wrench")
          .setCreativeTab(CreativeTabs.tabTools)
          .setTextureName("modmechanicalcraft:Wrench");
          Hammer = new Hammer().setUnlocalizedName("Hammer")
          .setCreativeTab(CreativeTabs.tabTools)
          .setTextureName("modmechanicalcraft:Hammer");
          steelIngot = new steelIngot().setUnlocalizedName("steelIngot")
          .setCreativeTab(CreativeTabs.tabMaterials)
          .setTextureName("modmechanicalcraft:steelingot");
          coalDust = new coalDust().setUnlocalizedName("coalDust")
          .setCreativeTab(CreativeTabs.tabMaterials)
          .setTextureName("modmechanicalcraft:coaldust");
          ironPlate = new ironPlate().setUnlocalizedName("ironPlate")
          .setCreativeTab(CreativeTabs.tabMaterials)
          .setTextureName("modmechanicalcraft:ironplate");
          steelPlate = new steelPlate().setUnlocalizedName("steelPlate")
          .setCreativeTab(CreativeTabs.tabMaterials)
          .setTextureName("modmechanicalcraft:steelplate");
          ironGear = new ironGear().setUnlocalizedName("ironGear")
          .setCreativeTab(CreativeTabs.tabMaterials)
          .setTextureName("modmechanicalcraft:irongear");
          redstoneCrystal = new redstoneCrystal()
          .setUnlocalizedName("redstoneCrystal")
          .setCreativeTab(CreativeTabs.tabMaterials)
          .setTextureName("modmechanicalcraft:redstonecrystal");
          // Blocks ------------------------------------------------
          
          Crusher = new Crusher(Material.iron).setBlockName("Crusher")
          .setCreativeTab(CreativeTabs.tabRedstone);
          
          // Item --------------------------------------------------
          
          GameRegistry.registerItem(Wrench, "Wrench");
          GameRegistry.registerItem(Hammer, "Hammer");
          GameRegistry.registerItem(steelIngot, "steelIngot");
          GameRegistry.registerItem(coalDust, "coalDust");
          GameRegistry.registerItem(ironPlate, "ironPlate");
          GameRegistry.registerItem(steelPlate, "steelPlate");
          GameRegistry.registerItem(ironGear, "ironGear");
          
          // Blocks ---------------------------------------------
          
          GameRegistry.registerBlock(Crusher, "Crusher");
          
          // TileEntity ---------------------------------------------
          
          GameRegistry.registerTileEntity(TileCrusher.class,
          "modmechanicalcraft:Crusher");
          
          // Craft --------------------------------------------------------------
          // Ligne 105
          GameRegistry.addRecipe(new ItemStack(Wrench), new Object[] { "I I",
          " O ", " I ", 'I', new ItemStack(Items.iron_ingot, 1), 'O',
          new ItemStack(Items.dye, 1, 14) });
          
          GameRegistry.addRecipe(new ItemStack(Hammer, 1), new Object[] { "III",
          "III", " S ", 'S', new ItemStack(Items.stick, 1), 'I',
          new ItemStack(Items.iron_ingot, 1) });
          
          GameRegistry.addShapedRecipe(new ItemStack(ironPlate), new Object[] {
          new ItemStack(Items.iron_ingot, 1), new ItemStack(Hammer, 1) });
          
          GameRegistry.addShapedRecipe(new ItemStack(steelPlate), new Object[] {
          new ItemStack(steelIngot, 1), new ItemStack(Hammer, 1) });
          
          }
          
          @EventHandler
          public void init(FMLInitializationEvent event) {
          proxy.registerRender();
          }
          
          @EventHandler
          public void postInit(FMLPostInitializationEvent event) {
          }
          
          public static final String MODID = "modmechanicalcraft";
          
          }
          
          
          1 réponse Dernière réponse Répondre Citer 0
          • robin4002
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

            Tu as ajouté un truc entre temps ? Visiblement il y a un integer quelque part au lieu d’avoir un char.

            1 réponse Dernière réponse Répondre Citer 0
            • SpyMan
              SpyMan dernière édition par

              Non j’ai rien ajouté, c’est bizarre. :huh:

              1 réponse Dernière réponse Répondre Citer 0
              • robin4002
                robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

                Directement sur le rapport de crash sur eclpse clic sur (mod_mechanicalcraft.java:105) ça va te ramener sur la ligne qui cause problème.

                1 réponse Dernière réponse Répondre Citer 0
                • SpyMan
                  SpyMan dernière édition par

                  Merci du conseil ça ma bien aidé.  :shy:

                  1 réponse Dernière réponse Répondre Citer 0
                  • 1 / 1
                  • Premier message
                    Dernier message
                  Design by Woryk
                  Contact / Mentions Légales

                  MINECRAFT FORGE FRANCE © 2018

                  Powered by NodeBB