Jump to content

[1.7.10]Crashing when making crafting recipe


AHitmansFate

Recommended Posts

So my problem is that i have added a block to my mod and when i am in the crafting table and i place the last item needed into it the game crashes... her is my crash report...

---- Minecraft Crash Report ----

// Would you like a cupcake?

 

Time: 4/18/15 12:37 PM

Description: Rendering item

 

java.lang.NullPointerException: Rendering item

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

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

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

at codechicken.nei.guihook.GuiContainerManager.drawSlotItem(GuiContainerManager.java:488)

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

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

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

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

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

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.ItemStack.getItemDamage(ItemStack.java:265)

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 codechicken.nei.guihook.GuiContainerManager.drawSlotItem(GuiContainerManager.java:488)

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

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

 

-- Screen render details --

Details:

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

Mouse location: Scaled: (220, 92). Absolute: (660, 602)

Screen size: Scaled: (534, 293). Absolute: (1600, 878). Scale factor of 3

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player688'/167, l='MpServer', x=-361.60, y=7.77, z=-895.36]]

Chunk stats: MultiplayerChunkCache: 225, 225

Level seed: 0

Level generator: ID 01 - flat, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (-360,4,-900), Chunk: (at 8,0,12 in -23,-57; contains blocks -368,0,-912 to -353,255,-897), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,0,-1024 to -1,255,-513)

Level time: 246470 game time, 7385 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: 62 total; [EntityHorse['Horse'/130, l='MpServer', x=-299.91, y=4.00, z=-963.97], EntityPig['Pig'/131, l='MpServer', x=-299.94, y=4.00, z=-854.94], EntityPig['Pig'/132, l='MpServer', x=-297.19, y=4.00, z=-833.34], EntitySheep['Sheep'/133, l='MpServer', x=-291.19, y=4.00, z=-847.56], EntityChicken['Chicken'/134, l='MpServer', x=-300.47, y=4.00, z=-833.53], EntityCow['Cow'/135, l='MpServer', x=-301.88, y=4.00, z=-849.09], EntitySheep['Sheep'/35, l='MpServer', x=-443.78, y=4.00, z=-967.38], EntityHorse['Horse'/36, l='MpServer', x=-436.66, y=4.00, z=-958.13], EntityPig['Pig'/37, l='MpServer', x=-443.53, y=4.00, z=-928.81], EntityClientPlayerMP['Player688'/167, l='MpServer', x=-361.60, y=7.77, z=-895.36], EntityCow['Cow'/45, l='MpServer', x=-402.13, y=4.00, z=-965.97], EntitySheep['Sheep'/51, l='MpServer', x=-392.25, y=4.00, z=-974.38], EntityChicken['Chicken'/52, l='MpServer', x=-386.41, y=4.00, z=-964.66], EntityItem['item.item.beefRaw'/62, l='MpServer', x=-373.47, y=4.13, z=-890.09], EntityItem['item.item.FPunch'/63, l='MpServer', x=-373.72, y=4.13, z=-890.63], EntityItem['item.item.leather'/64, l='MpServer', x=-373.34, y=4.13, z=-890.28], EntityPig['Pig'/69, l='MpServer', x=-359.63, y=4.00, z=-974.84], EntityItemFrame['entity.ItemFrame.name'/70, l='MpServer', x=-355.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/71, l='MpServer', x=-356.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/72, l='MpServer', x=-357.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/73, l='MpServer', x=-358.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/74, l='MpServer', x=-359.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/75, l='MpServer', x=-360.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/76, l='MpServer', x=-361.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/77, l='MpServer', x=-362.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/78, l='MpServer', x=-363.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/79, l='MpServer', x=-364.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/80, l='MpServer', x=-365.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/81, l='MpServer', x=-366.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/82, l='MpServer', x=-367.50, y=5.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/83, l='MpServer', x=-363.50, y=6.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/84, l='MpServer', x=-364.50, y=6.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/85, l='MpServer', x=-365.50, y=6.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/86, l='MpServer', x=-366.50, y=6.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/87, l='MpServer', x=-367.50, y=6.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/88, l='MpServer', x=-367.50, y=4.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/89, l='MpServer', x=-366.50, y=4.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/90, l='MpServer', x=-365.50, y=4.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/91, l='MpServer', x=-364.50, y=4.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/92, l='MpServer', x=-363.50, y=4.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/93, l='MpServer', x=-363.50, y=7.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/94, l='MpServer', x=-364.50, y=7.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/95, l='MpServer', x=-365.50, y=7.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/96, l='MpServer', x=-366.50, y=7.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/97, l='MpServer', x=-367.50, y=7.50, z=-887.06], EntityItemFrame['entity.ItemFrame.name'/98, l='MpServer', x=-367.50, y=7.50, z=-887.06], EntityCow['Cow'/99, l='MpServer', x=-361.03, y=4.00, z=-835.06], EntityHorse['Horse'/100, l='MpServer', x=-362.00, y=4.00, z=-833.16], EntityChicken['Chicken'/101, l='MpServer', x=-359.47, y=4.00, z=-824.47], EntityChicken['Chicken'/108, l='MpServer', x=-351.63, y=4.00, z=-848.63], EntityHorse['Horse'/109, l='MpServer', x=-343.09, y=4.00, z=-832.50], EntityChicken['Chicken'/110, l='MpServer', x=-341.53, y=4.00, z=-837.53], EntityCow['Cow'/111, l='MpServer', x=-342.22, y=4.00, z=-835.19], EntityPig['Pig'/114, l='MpServer', x=-324.09, y=4.00, z=-957.25], EntityCow['Cow'/115, l='MpServer', x=-327.94, y=4.00, z=-937.03], EntityPig['Pig'/116, l='MpServer', x=-327.19, y=4.00, z=-845.91], EntitySheep['Sheep'/117, l='MpServer', x=-332.81, y=4.00, z=-826.38], EntitySheep['Sheep'/118, l='MpServer', x=-332.25, y=4.00, z=-828.78], EntityPig['Pig'/122, l='MpServer', x=-309.09, y=4.00, z=-958.03], EntityPig['Pig'/123, l='MpServer', x=-319.16, y=4.00, z=-846.59], EntityCow['Cow'/124, l='MpServer', x=-311.94, y=4.00, z=-828.88], EntitySheep['Sheep'/125, l='MpServer', x=-305.16, y=4.00, z=-817.19]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

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

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

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

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_40, Oracle Corporation

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

Memory: 723797016 bytes (690 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.85.1291 Minecraft Forge 10.13.2.1291 6 mods loaded, 6 mods active

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

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

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

CodeChickenCore{1.0.4.29} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

NotEnoughItems{1.0.3.74} [Not Enough Items] (Not-Enough-Items-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

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

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: Intel® HD Graphics GL version 2.1.0 - Build 8.15.10.2993, 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: 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)

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, I'm trying to render a single quad in the world. I'm mixing into the ChestRenderer class. If I understand correctly, BufferSource#getBuffer opens a buffer according to the supplied RenderType (Quads with POSITION_COLOR in my case). Then, I can supply my vertices (a simple 1-block plane along the Z Axis) and close the buffer using BufferSource#endBatch for rendering. This is the code I'm using: @Inject(at = @At("TAIL"), method = "render(...)V") public void render(T blockEntity, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, int packedOverlay, CallbackInfo ci) { BlockPos pos = blockEntity.getBlockPos(); AABB box = new AABB(pos, pos.offset(1, 1, 1)); BufferSource buffer = Minecraft.getInstance().renderBuffers().bufferSource(); VertexConsumer consumer = buffer.getBuffer(RenderType.guiOverlay()); poseStack.pushPose(); poseStack.translate(-pos.getX(), -pos.getY(), -pos.getZ()); consumer.vertex(box.minX, box.maxY, box.minZ).color(1, 1, 1, 1).endVertex(); consumer.vertex(box.minX, box.maxY, box.maxZ).color(1, 1, 1, 1).endVertex(); consumer.vertex(box.minX, box.minY, box.maxZ).color(1, 1, 1, 1).endVertex(); consumer.vertex(box.minX, box.minY, box.minZ).color(1, 1, 1, 1).endVertex(); buffer.endBatch(RenderType.guiOverlay()); poseStack.popPose(); } However, the plane does not get rendered. However, if I replace those 4 vertices with a call to LevelRenderer#renderLineBox and set the RenderType to LINES, it works. Do I need something else to render planes other than the 4 edges of the quad? I used QUADS back in 1.8 where it was still the raw OpenGL type and it worked then. Or am I missing something else entirely? Thanks!
    • The Essential Role of Brunoe Quick Hack in Bitcoin Recovery Efforts The Brunoe Quick Hack has emerged as a vital tool in the ongoing efforts to recover lost or stolen Bitcoin. As the cryptocurrency landscape has evolved, the need for reliable and effective methods to regain access to misplaced or compromised digital assets has become increasingly pressing. The Brunoe Quick Hack, a specialized software solution, has stepped in to fill this critical void, offering Bitcoin users a lifeline when faced with the devastating prospect of permanently losing their hard-earned cryptocurrency holdings. At the core of this innovative technique lies a deep understanding of the underlying blockchain technology that powers Bitcoin, combined with a meticulous, methodical approach to identifying and exploiting vulnerabilities in the system. Through a series of carefully orchestrated steps, the Brunoe Quick Hack is able to bypass security measures, recover private keys, and restore access to Bitcoin wallets that were previously thought to be irretrievable. This process, while highly technical and requiring a skilled hand, has proven to be a game-changer for countless individuals and businesses who have fallen victim to the inherent risks of the cryptocurrency ecosystem. As the adoption of Bitcoin continues to grow, the Brunoe Quick Hack has emerged as an essential safeguard, providing a crucial safety net for those navigating the complex and ever-evolving world of digital finance. Contact this experts through: WhtasApp: + 170-"578-42"-635 Website: brunoequickhack.COM Email: brunoequickhack (AT) GMAIL (DOT) COM Thanks.
    • it doesnt let me import the zip that i use with curseforge
    • it doesnt let me import the zip that i use with curseforge
    • Halo semua, Kembali lagi bersama kami di situs Duta89 situs Aman, Terpercaya dan Situs yang memberikan hadiah terbesar kepada semua membernya. Pada kesempatan kali ini kami akan memberi tahu kalian semua mengenai situs permainan online yang bisa menghasilkan uang dengan cepat hanya dengan modal receh. Permainan apa kah itu? Saran bukan? >>>akungameaman<<< >>>akunminecrafsuper<<< >>>daftarsitus<<<
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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