Jump to content

Recommended Posts

Posted

I deleted most Vanilla recipes and replaced them with different ones and they all work fine.

Except for a Bed. When I put the last item in the crafting grid it crashes.

 

Recipe line:

GameRegistry.addShapedRecipe(new ItemStack(Blocks.bed, 1), new Object[] {"  ", "AAA", "BCB", 'A', Main.cloth, 'B', Blocks.fence, 'C', Blocks.wooden_slab});

 

This is the console error log:

 

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

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

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

[19:55:19] [main/INFO] [FML]: Forge Mod Loader version 7.10.25.1194 for Minecraft 1.7.10 loading

[19:55:19] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_51, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7

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

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

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

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

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

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

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

[19:55:21] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Erika/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1194/forgeSrc-1.7.10-10.13.0.1194.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[19:55:21] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[19:55:21] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Erika/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1194/forgeSrc-1.7.10-10.13.0.1194.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

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

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

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

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

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

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

[19:55:24] [main/INFO]: Setting user: Player922

[19:55:26] [Client thread/INFO]: LWJGL Version: 2.9.1

[19:55:27] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[19:55:27] [Client thread/INFO] [FML]: MinecraftForge v10.13.0.1194 Initialized

[19:55:27] [Client thread/INFO] [FML]: Replaced 182 ore recipies

[19:55:27] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[19:55:27] [Client thread/INFO] [FML]: Searching C:\Users\Erika\Desktop\Forge 1194\eclipse\mods for mods

[19:55:28] [Client thread/INFO] [realism]: Mod realism is missing the required element 'name'. Substituting realism

[19:55:29] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[19:55:32] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[19:55:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:realism

[19:55:33] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[19:55:33] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[19:55:33] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[19:55:34] [Client thread/INFO] [FML]: Applying holder lookups

[19:55:34] [Client thread/INFO] [FML]: Holder lookups applied

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[19:55:35] [sound Library Loader/INFO]: Sound engine started

[19:55:35] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[19:55:36] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[19:55:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[19:55:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:realism

[19:55:36] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[19:55:36] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

 

SoundSystem shutting down...

    Author: Paul Lamb, www.paulscode.com

 

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[19:55:37] [sound Library Loader/INFO]: Sound engine started

[19:55:38] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press

[19:55:40] [server thread/INFO]: Starting integrated minecraft server version 1.7.10

[19:55:40] [server thread/INFO]: Generating keypair

[19:55:40] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[19:55:41] [server thread/INFO] [FML]: Applying holder lookups

[19:55:41] [server thread/INFO] [FML]: Holder lookups applied

[19:55:41] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@9e7cbde)

[19:55:41] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@9e7cbde)

[19:55:41] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@9e7cbde)

[19:55:41] [server thread/INFO]: Preparing start region for level 0

[19:55:42] [server thread/INFO]: Preparing spawn area: 41%

[19:55:43] [server thread/INFO]: Changing view distance to 2, from 10

[19:55:43] [Netty Client IO #0/INFO] [FML]: Server protocol version 1

[19:55:43] [Netty IO #1/INFO] [FML]: Client protocol version 1

[19:55:43] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]

[19:55:43] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

[19:55:43] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

[19:55:43] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

[19:55:43] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[19:55:44] [server thread/INFO]: Player922[local:E:62efe679] logged in with entity id 379 at (103.6886789961718, 68.0, 223.14496888049342)

[19:55:44] [server thread/INFO]: Player922 joined the game

[19:55:47] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.game.creative

[19:56:02] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.bat.takeoff

[19:56:22] [server thread/INFO]: Player922 has just earned the achievement [Taking Inventory]

[19:56:22] [Client thread/INFO]: [CHAT] Player922 has just earned the achievement [Taking Inventory]

[19:56:26] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.bat.takeoff

[19:56:42] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.step

[19:56:43] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.step

[19:56:45] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:56:51] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:56:56] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:57:01] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.game.creative

[19:57:01] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:57:07] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:57:13] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:57:19] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:57:25] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:mob.zombie.say

[19:57:26] [server thread/INFO]: Stopping server

[19:57:26] [server thread/INFO]: Saving players

[19:57:26] [server thread/INFO]: Saving worlds

[19:57:26] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[19:57:26] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[19:57:26] [server thread/INFO]: Saving chunks for level 'New World'/The End

[19:57:27] [server thread/INFO] [FML]: Unloading dimension 0

[19:57:27] [server thread/INFO] [FML]: Unloading dimension -1

[19:57:27] [server thread/INFO] [FML]: Unloading dimension 1

[19:57:27] [server thread/INFO] [FML]: Applying holder lookups

[19:57:27] [server thread/INFO] [FML]: Holder lookups applied

[19:57:27] [Client thread/FATAL]: Reported exception thrown!

net.minecraft.util.ReportedException: Rendering item

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1176) ~[EntityRenderer.class:?]

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1066) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:961) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

Caused by: java.lang.NullPointerException

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:267) ~[itemStack.class:?]

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419) ~[RenderItem.class:?]

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) ~[RenderItem.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:291) ~[GuiContainer.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:118) ~[GuiContainer.class:?]

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1145) ~[EntityRenderer.class:?]

... 9 more

---- Minecraft Crash Report ----

// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

 

Time: 04/08/14 19:57

Description: Rendering item

 

java.lang.NullPointerException: Rendering item

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:267)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:291)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:118)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1145)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1066)

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

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:134)

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

 

 

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

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

 

-- Head --

Stacktrace:

at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:267)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

 

-- Item being rendered --

Details:

Item Type: null

Item Aux: ~~ERROR~~ NullPointerException: null

Item NBT: null

Item Foil: ~~ERROR~~ NullPointerException: null

Stacktrace:

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:291)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:118)

 

-- Screen render details --

Details:

Screen name: net.minecraft.client.gui.inventory.GuiCrafting

Mouse location: Scaled: (180, 100). Absolute: (361, 278)

Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player922'/379, l='MpServer', x=103.69, y=69.62, z=223.14]]

Chunk stats: MultiplayerChunkCache: 25, 25

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (144,64,256), Chunk: (at 0,4,0 in 9,16; contains blocks 144,0,256 to 159,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 30189 game time, 17158 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 15 total; [EntityCreeper['Creeper'/1132, l='MpServer', x=91.50, y=69.00, z=195.50], EntityZombie['Zombie'/207, l='MpServer', x=113.50, y=70.00, z=232.22], EntityCreeper['Creeper'/206, l='MpServer', x=134.50, y=71.00, z=232.50], EntityBat['Bat'/512, l='MpServer', x=83.47, y=53.10, z=236.00], EntityClientPlayerMP['Player922'/379, l='MpServer', x=103.69, y=69.62, z=223.14], EntityBat['Bat'/162, l='MpServer', x=88.16, y=49.67, z=225.31], EntityBat['Bat'/161, l='MpServer', x=76.94, y=48.23, z=213.22], EntitySkeleton['Skeleton'/178, l='MpServer', x=128.50, y=65.00, z=233.97], EntityZombie['Zombie'/179, l='MpServer', x=127.44, y=65.00, z=233.59], EntityBat['Bat'/146, l='MpServer', x=77.50, y=48.76, z=213.34], EntityBat['Bat'/147, l='MpServer', x=86.34, y=53.32, z=241.38], EntityHorse['Horse'/148, l='MpServer', x=71.22, y=71.00, z=225.25], EntitySkeleton['Skeleton'/208, l='MpServer', x=126.91, y=65.00, z=235.47], EntityHorse['Horse'/149, l='MpServer', x=72.16, y=71.00, z=244.97], EntityHorse['Horse'/150, l='MpServer', x=68.16, y=71.00, z=245.63]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:417)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2567)

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

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:134)

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

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8 (amd64) version 6.2

Java Version: 1.7.0_51, Oracle Corporation

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

Memory: 864609688 bytes (824 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: 12, tallocated: 94

FML: MCP v9.05 FML v7.10.25.1194 Minecraft Forge 10.13.0.1194 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{7.10.25.1194} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1194.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.13.0.1194} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1194.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

realism{1.7.10} [realism] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Launched Version: 1.6

LWJGL: 2.9.1

OpenGL: Intel® HD Graphics GL version 2.1.0 - Build 8.15.10.2858, Intel

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because ARB_framebuffer_object 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: ~~ERROR~~ NullPointerException: null

Profiler Position: N/A (disabled)

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

Anisotropic Filtering: Off (1)

#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Erika\Desktop\Forge 1194\eclipse\.\crash-reports\crash-2014-08-04_19.57.27-client.txt

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

 

 

 

Why is this happening?

Posted

The bed block isn't like other items.  It has its own Item, ItemBed - use that instead.

 

For more background, check out the construction of CraftingManager

 

        this.addRecipe(new ItemStack(Items.bed, 1), new Object[] {"###", "XXX", '#', Blocks.wool, 'X', Blocks.planks});

 

-TGG

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.