Résolu Craft 1.8.9
-
Bonjour
Je voudrais ajouter une recette, j’ai suivi le tuto 1.7 pour le mettre en 1.8.9 mais ca fait un crash
Le codeGameRegistry.addRecipe(new ItemStack(swordBlue), new Object[] {"X", "X", "Y", 'X', MoDaichMod.ingotblue}, 'Y', Items.stick);
Le crash
2019-04-13 10:30:50,229 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2019-04-13 10:30:50,241 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [10:30:50] [main/INFO] [GradleStart]: username: Daich_Test72 [10:30:50] [main/INFO] [GradleStart]: Extra: [] [10:30:50] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/hyde etienne aaron/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --username, Daich_Test72, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [10:30:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [10:30:50] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [10:30:50] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [10:30:50] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [10:30:50] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading [10:30:51] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_201 [10:30:51] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [10:30:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [10:30:51] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [10:30:51] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [10:30:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [10:30:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [10:30:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [10:30:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [10:30:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [10:30:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [10:30:51] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [10:30:55] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [10:30:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [10:30:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [10:30:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [10:30:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [10:30:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [10:30:58] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2019-04-13 10:30:59,318 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2019-04-13 10:30:59,547 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2019-04-13 10:30:59,563 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [10:31:00] [Client thread/INFO]: Setting user: Daich_Test72 [10:31:16] [Client thread/INFO]: LWJGL Version: 2.9.4 [10:31:17] [Client thread/WARN] [FML]: ============================================================= [10:31:17] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML! [10:31:17] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V [10:31:17] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead [10:31:17] [Client thread/WARN] [FML]: ============================================================= [10:31:19] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ---- // Oh - I know what I did wrong! Time: 13/04/19 10:31 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.8.9 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 851682360 bytes (812 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13467 Compatibility Profile Context 21.19.414.1280' Renderer: 'AMD Radeon(TM) R4 Graphics' [10:31:20] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized [10:31:21] [Client thread/INFO] [FML]: Replaced 204 ore recipies [10:31:23] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [10:31:23] [Client thread/INFO] [FML]: Searching C:\Users\hyde etienne aaron\Downloads\src1.8.9\run\mods for mods [10:31:26] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [10:31:27] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modaichmod] at CLIENT [10:31:27] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modaichmod] at SERVER [10:31:29] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mo'Daich_'s Mod 1.8.9 [10:31:29] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [10:31:29] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [10:31:29] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [10:31:29] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [10:31:29] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [10:31:29] [Client thread/INFO] [FML]: Applying holder lookups [10:31:29] [Client thread/INFO] [FML]: Holder lookups applied [10:31:29] [Client thread/INFO] [FML]: Injecting itemstacks [10:31:29] [Client thread/INFO] [FML]: Itemstack injection complete [10:31:29] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [10:31:30] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null [10:31:30] [Sound Library Loader/INFO]: Starting up SoundSystem... [10:31:31] [Thread-9/INFO]: Initializing LWJGL OpenAL [10:31:31] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [10:31:32] [Thread-9/INFO]: OpenAL initialized. [10:31:32] [Sound Library Loader/INFO]: Sound engine started [10:32:10] [Client thread/INFO] [FML]: Max texture size: 16384 [10:32:10] [Client thread/INFO]: Created: 16x16 textures-atlas [10:32:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue [10:32:15] [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 UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) UCHI Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCHE modaichmod{0.0.3} [Mo'Daich_'s Mod 1.8.9] (bin) [10:32:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase [10:32:15] [Client thread/ERROR] [FML]: Caught exception from modaichmod java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.lang.Character at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:234) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:297) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:292) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at com.daichmff.modaichmod.MoDaichMod.init(MoDaichMod.java:123) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [10:32:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 13/04/19 10:32 Description: Initializing game java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.lang.Character at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:234) at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:297) at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:292) at com.daichmff.modaichmod.MoDaichMod.init(MoDaichMod.java:123) 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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) 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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) 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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) at net.minecraft.client.Minecraft.run(Minecraft.java:360) at net.minecraft.client.main.Main.main(Main.java:116) 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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) 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:234) at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:297) at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:292) at com.daichmff.modaichmod.MoDaichMod.init(MoDaichMod.java:123) 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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) 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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) 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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) at net.minecraft.client.Minecraft.startGame(Minecraft.java:532) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:360) at net.minecraft.client.main.Main.main(Main.java:116) 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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 821146296 bytes (783 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.1722 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 UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) UCHI Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) UCHE modaichmod{0.0.3} [Mo'Daich_'s Mod 1.8.9] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13467 Compatibility Profile Context 21.19.414.1280' Renderer: 'AMD Radeon(TM) R4 Graphics' Launched Version: 1.8.9 LWJGL: 2.9.4 OpenGL: AMD Radeon(TM) R4 Graphics GL version 4.5.13467 Compatibility Profile Context 21.19.414.1280, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No 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) CPU: 2x AMD A6-9220 RADEON R4, 5 COMPUTE CORES 2C+3G [10:32:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\hyde etienne aaron\Downloads\src1.8.9\run\.\crash-reports\crash-2019-04-13_10.32.15-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
MoDaichMod
package com.daichmff.modaichmod; import org.apache.logging.log4j.Logger; import com.daichmff.modaichmod.items.BlueBow; import com.daichmff.modaichmod.items.ItemBlueAxe; import com.daichmff.modaichmod.items.ItemBlueIngot; import com.daichmff.modaichmod.items.ItemBluePickaxe; import com.daichmff.modaichmod.items.ItemBlueShovel; import com.daichmff.modaichmod.items.ItemBlueSword; import com.daichmff.modaichmod.items.ItemTutoArmor; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.item.ItemStack; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.BiomeManager; import net.minecraftforge.common.BiomeManager.BiomeEntry; import net.minecraftforge.common.BiomeManager.BiomeType; import net.minecraftforge.common.util.EnumHelper; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.registry.GameRegistry; @Mod(modid = MoDaichMod.MODID, name = "Mo'Daich_'s Mod 1.8.9", version = "0.0.3", acceptedMinecraftVersions = "[1.8.9]") public class MoDaichMod { public static final String MODID = "modaichmod"; // par convention une constante s'écrit tout en majuscule, c'est pour cela que j'ai écrit MODID et non modid. @Instance(MoDaichMod.MODID) public static MoDaichMod instance; @SidedProxy(clientSide = "com.daichmff.modaichmod.DaichClient", serverSide = "com.daichmff.modaichmod.DaichCommon") public static DaichCommon proxy; public static Item swordBlue, pickaxeBlue, axeBlue, shovelBlue; public static Item blueBow; public static Block copuBlock; public static Block pipe; public static Item helmetTuto, chestPlateTuto, leggingsTuto, bootsTuto; public static BiomeGenBase blueBiome; public static Block bananaBush; // Avec Fraise public static Block strawberrySimple; public static Item strawberry; public static Item ingotblue; public static ToolMaterial toolBlue = EnumHelper.addToolMaterial("toolBlue", 4, 62456, 783.9F, 78556.5F, 9424); public static ArmorMaterial armorTuto = EnumHelper.addArmorMaterial("armorTuto", null, 181, new int[] {9, 12, 8, 7}, 9424); public static Logger logger; @EventHandler public void preInit(FMLPreInitializationEvent event) { logger = event.getModLog(); // initialise le logger. event.getModLog() retourne un logger avec votre modid } @EventHandler public void init(FMLInitializationEvent event) { swordBlue = new ItemBlueSword(toolBlue).setUnlocalizedName("swordBlue"); pickaxeBlue = new ItemBluePickaxe(toolBlue).setUnlocalizedName("pickaxeBlue"); axeBlue = new ItemBlueAxe(toolBlue).setUnlocalizedName("axeBlue"); shovelBlue = new ItemBlueShovel(toolBlue).setUnlocalizedName("shovelBlue"); helmetTuto = new ItemTutoArmor(armorTuto, 0).setUnlocalizedName("helmetTuto"); chestPlateTuto = new ItemTutoArmor(armorTuto, 1).setUnlocalizedName("chestPlateTuto"); leggingsTuto = new ItemTutoArmor(armorTuto, 2).setUnlocalizedName("leggingsTuto"); bootsTuto = new ItemTutoArmor(armorTuto, 3).setUnlocalizedName("bootsTuto"); bananaBush = new BaseBerry().setCreativeTab(CreativeTabs.tabFood).setUnlocalizedName("BananaBush"); strawberrySimple = new BaseBerry().setCreativeTab(CreativeTabs.tabFood).setUnlocalizedName("BananaSimple"); // Sans fraise//La fraise strawberry = new ItemBanaFood(9, 20.5F, false).setCreativeTab(CreativeTabs.tabFood).setUnlocalizedName("Banana"); ingotblue = new ItemBlueIngot().setCreativeTab(CreativeTabs.tabMaterials).setUnlocalizedName("BlueIngot"); blueBow = new BlueBow().setUnlocalizedName("blueBow").setCreativeTab(CreativeTabs.tabCombat); blueBiome = new BlueBiome(50).setBiomeName("Blue Biome").setHeight(new BiomeGenBase.Height(0.9F, 0.2F)).setTemperatureRainfall(0.9921F, 12F); GameRegistry.registerItem(swordBlue, "sword_blue"); GameRegistry.registerItem(pickaxeBlue, "pickaxe_blue"); GameRegistry.registerItem(axeBlue, "axe_blue"); GameRegistry.registerItem(shovelBlue, "shovel_blue"); GameRegistry.registerItem(ingotblue, "ingot_blue"); GameRegistry.registerItem(helmetTuto, "helmetBlue"); GameRegistry.registerItem(chestPlateTuto, "chestPlateBlue"); GameRegistry.registerItem(leggingsTuto, "leggingsBlue"); GameRegistry.registerItem(bootsTuto, "bootsBlue"); GameRegistry.registerItem(blueBow, "bowBlue"); GameRegistry.addRecipe(new ItemStack(swordBlue), new Object[] {"X", "X", "Y", 'X', MoDaichMod.ingotblue}, 'Y', Items.stick); BiomeManager.addVillageBiome(blueBiome, true); BiomeManager.addStrongholdBiome(blueBiome); BiomeManager.addBiome(BiomeType.COOL, new BiomeEntry(blueBiome, 250)); BiomeManager.addSpawnBiome(blueBiome); GameRegistry.registerBlock(bananaBush, "bush_bana"); // .json GameRegistry.registerBlock(strawberrySimple, "simple_bana"); // .json GameRegistry.registerItem(strawberry, "bana"); // .json proxy.registerBlockTexture(copuBlock, "copu_block"); GameRegistry.registerTileEntity(TitleEntityTutoriel.class, "tileEntityTutoriel"); } @EventHandler public void onServerStart(FMLServerStartingEvent event) { System.out.println("Hello Server/Client World"); } }
-
GameRegistry.addRecipe(new ItemStack(swordBlue), new Object[] {“X”, “X”, “Y”, ‘X’, MoDaichMod.ingotblue}, ‘Y’, Items.stick);
J’ai jamais fais en 1.8.9 mais je pense que l’erreur viens du “}” après MoDaichMod.ingotblue
tu devrais plutot faire :GameRegistry.addRecipe(new ItemStack(swordBlue),new Object[] {" X "," X "," Y ",'X',MoDaichMod.ingotblue,'Y',Items.sitck});
EDIT : Mets MoDaichMod.swordBlue (enfin par exemple ma classe pour déclarer les items c’est ItemMod donc je mets GameRegistry.addRecipe(new ItemStack(ItemMod.swordBleu),…"
-
GameRegistry.addRecipe(new ItemStack(swordBlue), new Object[] {“X”, “X”, “Y”, ‘X’, MoDaichMod.ingotblue}, ‘Y’, Items.stick);
J’ai jamais fais en 1.8.9 mais je pense que l’erreur viens du “}” après MoDaichMod.ingotblue
tu devrais plutot faire :GameRegistry.addRecipe(new ItemStack(swordBlue),new Object[] {" X "," X "," Y ",'X',MoDaichMod.ingotblue,'Y',Items.sitck});
EDIT : Mets MoDaichMod.swordBlue (enfin par exemple ma classe pour déclarer les items c’est ItemMod donc je mets GameRegistry.addRecipe(new ItemStack(ItemMod.swordBleu),…"
-
tous les item custom sont engristré et déclaré dans la classe principale
-
Ta essayé de changer la ligne de code pour le craft ?
-
pas besoin
-
Bah pourquoi ?
Tu demandes de l’aide pour ton craft je te dis que ta ligne n’est pas correct…
Si t’en à pas besoin il sert à quoi le topic ? -
oui ca été reglé
-
par toi
-
Mets en résolu alors
-
été fait il y a lllllllloooooooooooonnnnnngggtttteeeeemmmmmmmppppppssssssss