Jump to content

Please help crafting error I don't understand. 1.7.10


PixelPacker

Recommended Posts

this error didn't happen till I added a hammer that can loose durability when you craft with it.

 

 

ERROR

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

 

[05:39:04] [main/INFO] [GradleStart]: Extra: []

[05:39:05] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Kevin/.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]

[05:39:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[05:39:05] [main/INFO] [FML]: Forge Mod Loader version 7.99.30.1492 for Minecraft 1.7.10 loading

[05:39:05] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_45, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_45\jre

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

[05:39:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[05:39:05] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin

[05:39:05] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[05:39:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[05:39:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

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

[05:39:16] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[05:39:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[05:39:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

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

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

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

[05:39:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[05:39:30] [main/INFO]: Setting user: Player664

[05:39:40] [Client thread/INFO]: LWJGL Version: 2.9.1

[05:39:47] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----

// Oh - I know what I did wrong!

 

Time: 7/23/15 5:39 AM

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 8.1 (amd64) version 6.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 793834704 bytes (757 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 'ATI Technologies Inc.' Version: '4.3.12804 Compatibility Profile Context 13.352.1004.1007' Renderer: 'AMD Radeon HD 8400'

[05:39:47] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[05:39:47] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1492 Initialized

[05:39:47] [Client thread/INFO] [FML]: Replaced 183 ore recipies

[05:39:48] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[05:39:50] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[05:39:50] [Client thread/INFO] [FML]: Searching C:\Users\Kevin\Desktop\North Craft Mod\eclipse\mods for mods

[05:39:50] [Client thread/INFO] [Northcraft]: Mod Northcraft is missing the required element 'name'. Substituting Northcraft

[05:40:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[05:40:37] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Northcraft] at CLIENT

[05:40:37] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Northcraft] at SERVER

[05:40:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Northcraft

[05:40:40] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[05:40:40] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[05:40:40] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[05:40:40] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[05:40:40] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[05:40:40] [Client thread/INFO] [FML]: Applying holder lookups

[05:40:40] [Client thread/INFO] [FML]: Holder lookups applied

[05:40:40] [Client thread/INFO] [FML]: Injecting itemstacks

[05:40:40] [Client thread/INFO] [FML]: Itemstack injection complete

[05:40:41] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[05:40:41] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[05:40:41] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[05:40:41] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[05:40:42] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[05:40:42] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[05:40:42] [sound Library Loader/INFO]: Sound engine started

[05:40:50] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas

[05:40:50] [Client thread/INFO]: Created: 16x16 textures/items-atlas

[05:40:50] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue

[05:40:50] [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.05} [Minecraft Coder Pack] (minecraft.jar)

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

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

UCHE Northcraft{Alpha V0.1} [Northcraft] (bin)

[05:40:50] [Client thread/ERROR] [FML]: The following problems were captured during this phase

[05:40:50] [Client thread/ERROR] [FML]: Caught exception from Northcraft

java.lang.ClassCastException: com.northcraft.mod.items.NCItems cannot be cast to java.lang.Character

at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209) ~[forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar:?]

at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250) ~[forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar:?]

at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245) ~[forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar:?]

at com.northcraft.mod.Northcraft.Init(Northcraft.java:153) ~[bin/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?: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.1492-1.7.10.jar:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1492-1.7.10.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?: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.initializeMods(Loader.java:737) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:597) [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(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]

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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]

at GradleStart.main(Unknown Source) [start/:?]

[05:40:50] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// On the bright side, I bought you a teddy bear!

 

Time: 7/23/15 5:40 AM

Description: Initializing game

 

java.lang.ClassCastException: com.northcraft.mod.items.NCItems 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.northcraft.mod.Northcraft.Init(Northcraft.java:153)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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.initializeMods(Loader.java:737)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)

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

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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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.northcraft.mod.Northcraft.Init(Northcraft.java:153)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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.initializeMods(Loader.java:737)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)

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

 

-- 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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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 8.1 (amd64) version 6.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 661703240 bytes (631 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.1492 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.05} [Minecraft Coder Pack] (minecraft.jar)

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

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

UCHE Northcraft{Alpha V0.1} [Northcraft] (bin)

GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.3.12804 Compatibility Profile Context 13.352.1004.1007' Renderer: 'AMD Radeon HD 8400'

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: AMD Radeon HD 8400 GL version 4.3.12804 Compatibility Profile Context 13.352.1004.1007, 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: []

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)

[05:40:50] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Kevin\Desktop\North Craft Mod\eclipse\.\crash-reports\crash-2015-07-23_05.40.50-client.txt

AL lib: (EE) alc_cleanup: 1 device not closed

Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

 

Main Class Code

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

package com.northcraft.mod;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.init.Items;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

import net.minecraftforge.oredict.OreDictionary;

 

import com.northcraft.mod.blocks.MetalBlock;

import com.northcraft.mod.blocks.OreBlock;

import com.northcraft.mod.handler.CraftingHandler;

import com.northcraft.mod.handler.FuelHandler;

import com.northcraft.mod.items.Hammer;

import com.northcraft.mod.items.NCItems;

import com.northcraft.mod.worldgen.NorthcraftWorldGen;

 

import cpw.mods.fml.common.FMLCommonHandler;

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.event.FMLPostInitializationEvent;

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

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

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

 

@Mod(modid = Northcraft.modid, version = Northcraft.version)

public class Northcraft {

 

    public static final String modid = "Northcraft";

    public static final String version = "Alpha V0.1";

 

    //Ore Gen

   

    NorthcraftWorldGen eventWorldGen = new NorthcraftWorldGen();

   

   

   

    //Creative Tabs

   

    //Northcraft Materials

    public static CreativeTabs northcraftmaterialsTab;

   

   

    //items

    public static Item itemLoriumIngot;

    public static Item itemLoriumNugget;

    public static Item itemNorthernFuel;

    public static Item itemHammer;

    public static Item itemLoriumPlate;

   

    //blocks

    public static Block oreLoriumOre;

    public static Block blockLoriumBlock;

    public static Block oreNorthernFuelOre;

   

   

    @EventHandler

    public void PreInit(FMLPreInitializationEvent preEvent){

   

    //Creative Tabs

   

    //Northcraft materials

    northcraftmaterialsTab = new CreativeTabs("northcraftmaterials") {

        @SideOnly(Side.CLIENT)

        public Item getTabIconItem() {

        return Item.getItemFromBlock(oreLoriumOre);

     

        }

       

    };

   

   

   

    //Items

   

    //Lorium Ingot

    itemLoriumIngot = new NCItems().setUnlocalizedName("LoriumIngot");

    GameRegistry.registerItem(itemLoriumIngot, "LoriumIngot");

   

    //Lorium Nugget

    itemLoriumNugget = new NCItems().setUnlocalizedName("LoriumNugget");

    GameRegistry.registerItem(itemLoriumNugget, "LoriumNugget");

   

    //Northern Fuel

    itemNorthernFuel = new NCItems().setUnlocalizedName("NorthernFuel");

    GameRegistry.registerItem(itemNorthernFuel, "NorthernFuel");

   

    //Hammer

    itemHammer = new Hammer().setUnlocalizedName("Hammer");

    GameRegistry.registerItem(itemHammer, "Hammer");

   

    //Lorium Plate

    itemLoriumPlate = new NCItems().setUnlocalizedName("LoriumPlate");

    GameRegistry.registerItem(itemLoriumPlate, "LoriumPlate");

   

    //Blocks

   

    //Lorium Block

    blockLoriumBlock = new MetalBlock(Material.iron).setBlockName("LoriumBlock");

    GameRegistry.registerBlock(blockLoriumBlock, "LoriumBlock");

   

        //Lorium Ore

    oreLoriumOre = new OreBlock(Material.rock).setBlockName("LoriumOre");

        GameRegistry.registerBlock(oreLoriumOre, "LoriumOre");

       

        //Northern Fuel Ore

        oreNorthernFuelOre = new OreBlock(Material.rock).setBlockName("NorthernFuelOre");

        GameRegistry.registerBlock(oreNorthernFuelOre, "NorthernFuelOre");

       

       

        //Spawn

        GameRegistry.registerWorldGenerator(eventWorldGen, 0);

       

   

   

    }

 

    @EventHandler

    public void Init(FMLInitializationEvent event){

 

        FMLCommonHandler.instance().bus().register(new CraftingHandler());

   

   

   

   

    // Fuel Handler

    GameRegistry.registerFuelHandler(new FuelHandler());

       

    //Smelting

     

    //Lorium Ingot Smelting

    GameRegistry.addSmelting(oreLoriumOre, new ItemStack(itemLoriumIngot), 10);

   

    //Northern Fuel Smelting

    GameRegistry.addSmelting(oreNorthernFuelOre, new ItemStack(itemNorthernFuel), 10);

   

    //Crafting Recipes

   

    //Lorium Block Crafting

    GameRegistry.addRecipe(new ItemStack(blockLoriumBlock), new Object[]{"LLL","LLL","LLL", 'L', itemLoriumIngot});

   

      //Lorium Ingot Crafting

      GameRegistry.addRecipe(new ItemStack(itemLoriumIngot), new Object[]{"NNN","NNN","NNN", 'N', itemLoriumNugget});

   

      //Hammer

      GameRegistry.addRecipe(new ItemStack(itemHammer), new Object[]{"LLL"," S "," S ", 'L', itemLoriumIngot, 'S', Items.stick});

     

      //Lorium Plate

      GameRegistry.addRecipe(new ItemStack(itemLoriumPlate), new Object[]{"LH ","  ","  ", itemLoriumIngot, 'H', new ItemStack(itemHammer, 1, OreDictionary.WILDCARD_VALUE)});

     

      //Shapless Crafting

   

    //Lorium Nugget

    GameRegistry.addShapelessRecipe(new ItemStack(itemLoriumNugget, 9), new Object[]{itemLoriumIngot});

     

     

   

    }

 

    @EventHandler

    public void PostInit(FMLPostInitializationEvent postEvent){

 

    }

 

}

 

 

 

 

 

 

Hammer Code

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

package com.northcraft.mod.items;

 

import net.minecraft.client.renderer.texture.IIconRegister;

import net.minecraft.item.Item;

 

import com.northcraft.mod.Northcraft;

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class Hammer extends Item{

 

    public Hammer() {

    super();

    this.maxStackSize = 1;

    this.setMaxDamage(128);

    this.setNoRepair();

    this.setCreativeTab(Northcraft.northcraftmaterialsTab);

    }

 

    @SideOnly(Side.CLIENT)

    public void registerIcons(IIconRegister iconRegister) {

    this.itemIcon = iconRegister.registerIcon(Northcraft.modid + ":" + this.getUnlocalizedName().substring(5));

    }

 

 

}

 

 

 

 

Link to comment
Share on other sites

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.