Jump to content

Recommended Posts

Posted

Hi,

I modding in forge and i follow the book Sam's teach yourself to mod developpement in minecraft in 24H

I added a new recipe but when i launch minecraft, it crash

I readed all topic about this but they not help me

My code

package com.wuppy.samsmod;

 

import net.minecraft.init.Blocks;

import net.minecraft.init.Items;

import net.minecraft.item.ItemStack;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.registry.GameRegistry;

 

@Mod(modid = SamsMod.MODID, version = SamsMod.VERSION)

public class SamsMod

{

    public static final String MODID = "wuppy29_samsmod";

    public static final String VERSION = "1.0";

   

    @EventHandler

    public void init(FMLInitializationEvent event)

    {

GameRegistry.addRecipe(new ItemStack(Items.arrow,1),

    "YZ",

    "X ",

    'X', Items.flint, 'Y',Items.stick, 'Z', Blocks.leaves

    );

    }

}

 

 

and the crash report

[19:18:45] [main/INFO] [GradleStart]: Extra: []

[19:18:45] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Hugo/.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]

[19:18:45] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[19:18:45] [main/INFO] [FML]: Forge Mod Loader version 7.99.16.1448 for Minecraft 1.7.10 loading

[19:18:45] [main/INFO] [FML]: Java is Java HotSpot Client VM, version 1.8.0_60, running on Windows Vista:x86:6.0, installed at C:\Program Files\Java\jre1.8.0_60

[19:18:45] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[19:18:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[19:18:45] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin

[19:18:45] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[19:18:45] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[19:18:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[19:18:45] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[19:18:47] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[19:18:47] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[19:18:47] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[19:18:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[19:18:47] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[19:18:47] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[19:18:47] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[19:18:48] [main/INFO]: Setting user: Player797

[19:18:50] [Client thread/INFO]: LWJGL Version: 2.9.1

[19:18:51] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----

// Ouch. That hurt :(

 

Time: 27/09/15 19:18

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 Vista (x86) version 6.0

Java Version: 1.8.0_60, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 965980480 bytes (921 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML:

GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2869' Renderer: 'Intel® G41 Express Chipset'

[19:18:51] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[19:18:51] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1448 Initialized

[19:18:51] [Client thread/INFO] [FML]: Replaced 183 ore recipies

[19:18:51] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[19:18:51] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[19:18:51] [Client thread/INFO] [FML]: Searching C:\Users\Hugo\Desktop\Mod minecraft\eclipse\mods for mods

[19:18:51] [Client thread/INFO] [wuppy29_samsmod]: Mod wuppy29_samsmod is missing the required element 'name'. Substituting wuppy29_samsmod

[19:18:55] [Client thread/INFO]: Reloading ResourceManager: Default

[19:18:55] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// Don't do that.

 

Time: 27/09/15 19:18

Description: Initializing game

 

java.lang.IllegalArgumentException: Multiple entries with same key: examplemod=FMLMod:examplemod{1.0} and examplemod=FMLMod:examplemod{1.0}

at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)

at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)

at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)

at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:366)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

at net.minecraft.client.Minecraft.run(Minecraft.java:942)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)

at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)

at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)

at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:366)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:489)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)

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 Vista (x86) version 6.0

Java Version: 1.8.0_60, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 945483600 bytes (901 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 6 mods loaded, 0 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar)

Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar)

examplemod{1.0} [Example Mod] (bin)

examplemod{1.0} [Example Mod] (bin)

wuppy29_samsmod{1.0} [wuppy29_samsmod] (bin)

GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2869' Renderer: 'Intel® G41 Express Chipset'

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: Intel® G41 Express Chipset GL version 2.1.0 - Build 8.15.10.2869, 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)

[19:18:55] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Hugo\Desktop\Mod minecraft\eclipse\.\crash-reports\crash-2015-09-27_19.18.55-client.txt

Java HotSpot Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

 

Thank you

I am french : please no Abbreviation for me :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.