Jump to content

Recommended Posts

Posted

My game crashes right after i log into my save, I hope someone can tell me whats wrong. Heres the report:

 

 

 

Time: 30/03/14 21:37

Description: Exception in world tick

 

java.util.NoSuchElementException: key not found: codechicken.lib.vec.BlockCoord@b777

at scala.collection.MapLike$class.default(MapLike.scala:228)

at scala.collection.AbstractMap.default(Map.scala:58)

at scala.collection.mutable.HashMap.apply(HashMap.scala:64)

at codechicken.multipart.TileMultipart$$anonfun$tilemp$lzycompute$1$1.apply(TileMultipart.scala:677)

at codechicken.multipart.TileMultipart$$anonfun$tilemp$lzycompute$1$1.apply(TileMultipart.scala:677)

at scala.Option.getOrElse(Option.scala:120)

at codechicken.multipart.TileMultipart$.tilemp$lzycompute$1(TileMultipart.scala:677)

at codechicken.multipart.TileMultipart$.tilemp$1(TileMultipart.scala:677)

at codechicken.multipart.TileMultipart$.handlePacket(TileMultipart.scala:687)

at codechicken.multipart.handler.MultipartCPH$.handleCompressedTileData(packethandlers.scala:75)

at codechicken.multipart.handler.MultipartCPH$.handlePacket(packethandlers.scala:47)

at codechicken.lib.packet.PacketCustom$ClientTinyPacketHandler.handle(PacketCustom.java:216)

at codechicken.lib.packet.PacketCustom$CustomTinyPacketHandler.handle(PacketCustom.java:235)

at cpw.mods.fml.common.network.NetworkRegistry.handleTinyPacket(NetworkRegistry.java:354)

at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket131Packet(FMLNetworkHandler.java:430)

at net.minecraft.client.multiplayer.NetClientHandler.func_72494_a(NetClientHandler.java:1514)

at net.minecraft.network.packet.Packet131MapData.func_73279_a(SourceFile:41)

at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)

at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)

at net.minecraft.client.multiplayer.WorldClient.func_72835_b(WorldClient.java:99)

at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1930)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)

at net.minecraft.client.main.Main.main(SourceFile:101)

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

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

 

 

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

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

 

-- Head --

Stacktrace:

at scala.collection.MapLike$class.default(MapLike.scala:228)

at scala.collection.AbstractMap.default(Map.scala:58)

at scala.collection.mutable.HashMap.apply(HashMap.scala:64)

at codechicken.multipart.TileMultipart$$anonfun$tilemp$lzycompute$1$1.apply(TileMultipart.scala:677)

at codechicken.multipart.TileMultipart$$anonfun$tilemp$lzycompute$1$1.apply(TileMultipart.scala:677)

at scala.Option.getOrElse(Option.scala:120)

at codechicken.multipart.TileMultipart$.tilemp$lzycompute$1(TileMultipart.scala:677)

at codechicken.multipart.TileMultipart$.tilemp$1(TileMultipart.scala:677)

at codechicken.multipart.TileMultipart$.handlePacket(TileMultipart.scala:687)

at codechicken.multipart.handler.MultipartCPH$.handleCompressedTileData(packethandlers.scala:75)

at codechicken.multipart.handler.MultipartCPH$.handlePacket(packethandlers.scala:47)

at codechicken.lib.packet.PacketCustom$ClientTinyPacketHandler.handle(PacketCustom.java:216)

at codechicken.lib.packet.PacketCustom$CustomTinyPacketHandler.handle(PacketCustom.java:235)

at cpw.mods.fml.common.network.NetworkRegistry.handleTinyPacket(NetworkRegistry.java:354)

at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket131Packet(FMLNetworkHandler.java:430)

at net.minecraft.client.multiplayer.NetClientHandler.func_72494_a(NetClientHandler.java:1514)

at net.minecraft.network.packet.Packet131MapData.func_73279_a(SourceFile:41)

at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)

at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [GCCorePlayerSP['arturocan'/6, l='MpServer', x=1072,50, y=65,65, z=447,50]]

Chunk stats: MultiplayerChunkCache: 5

Level seed: 0

Level generator: ID 04 - BIOMESOP, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (24,64,232), Chunk: (at 8,4,8 in 1,14; contains blocks 16,0,224 to 31,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 2205855 game time, 2464065 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: survival (ID 0). Hardcore: false. Cheats: false

Forced entities: 2 total; [EntitySpider['Spider'/65, l='MpServer', x=1081,59, y=87,00, z=455,66], GCCorePlayerSP['arturocan'/6, l='MpServer', x=1072,50, y=65,65, z=447,50]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440)

at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1943)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)

at net.minecraft.client.main.Main.main(SourceFile:101)

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

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

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [GCCorePlayerSP['arturocan'/6, l='MpServer', x=1072,50, y=65,65, z=447,50]]

Chunk stats: MultiplayerChunkCache: 5

Level seed: 0

Level generator: ID 04 - BIOMESOP, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (24,64,232), Chunk: (at 8,4,8 in 1,14; contains blocks 16,0,224 to 31,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 2205855 game time, 2464065 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: survival (ID 0). Hardcore: false. Cheats: false

Forced entities: 2 total; [EntitySpider['Spider'/65, l='MpServer', x=1081,59, y=87,00, z=455,66], GCCorePlayerSP['arturocan'/6, l='MpServer', x=1072,50, y=65,65, z=447,50]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

 

-- System Details --

Details:

Minecraft Version: 1.6.4

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_45, Oracle Corporation

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

Memory: 118899704 bytes (113 MB) / 687341568 bytes (655 MB) up to 954728448 bytes (910 MB)

JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G

AABB Pool Size: 18 (1008 bytes; 0 MB) allocated, 13 (728 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

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

FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 27 mods loaded, 27 mods active

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

FML{6.4.49.965} [Forge Mod Loader] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{9.11.1.965} [Minecraft Forge] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

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

Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

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

OpenModsCore{0.2} [OpenModsCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct-Preloader{0.0.1} [Tinkers Corestruct] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

DamageIndicatorsMod{2.9.2.2} [Damage Indicators] (1.6.4 DamageIndicatorsv2.9.2.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

mod_ReiMinimap{v3.4_01 [1.6.2]} [mod_ReiMinimap] ([1.6.4]ReiMinimap_v3.4_01.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ArchimedesShipsMod{1.6.4 v1.4.5} [Archimedes' Ships] (ArchimedesShips.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Backpack{1.26.29} [backpack] (backpack-1.26.29-1.6.x.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BiomesOPlenty{1.1.2} [biomes O' Plenty] (BiomesOPlenty-universal-1.6.4-1.1.2.51.jar.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

chococraft{3.0.3} [Torojima's ChocoCraft] (Chococraft_3.0.3.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

GalacticraftCore{2.0.11} [Galacticraft Core] (Galacticraft-1.6.4-2.0.11.978.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

GalacticraftMars{2.0.11} [Galacticraft Mars] (Galacticraft-Planets-1.6.4-2.0.11.978.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

mca{3.5.4} [Minecraft Comes Alive] (MCA v3.5.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Mekanism{6.0.3} [Mekanism] (Mekanism-6.0.3.30.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

MekanismGenerators{6.0.3} [MekanismGenerators] (MekanismGenerators-6.0.3.30.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

MekanismTools{6.0.3} [MekanismTools] (MekanismTools-6.0.3.30.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

OpenMods{0.2} [OpenMods] (OpenModsLib-0.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

OpenBlocks{1.2.5} [OpenBlocks] (OpenBlocks-1.2.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ForgeMultipart{1.0.0.219} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct{1.6.X_1.5.3dev} [Tinkers' Construct] (TConstruct_mc1.6.4_1.5.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TMechworks{19.d4b8fa0} [Tinkers' Mechworks] (TMechworks_mc1.6.4_0.1.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

McMultipart{1.0.0.219} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ForgeMicroblock{1.0.0.219} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct Environment: Sane and ready for action. Bugs may be reported.

Launched Version: 1.6.4-Forge9.11.1.965

LWJGL: 2.9.0

OpenGL: GeForce GTX 460/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Pack: Default

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 231 (12936 bytes; 0 MB) allocated, 14 (784 bytes; 0 MB) used

 

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 everyone, I'm currently developing a Forge 1.21 mod for Minecraft and I want to display a custom HUD overlay for a minigame. My goal: When the game starts, all players should see an item/block icon (from the base game, not a custom texture) plus its name/text in the HUD – similar to how the bossbar overlay works. The HUD should appear centered above the hotbar (or at a similar prominent spot), and update dynamically (icon and name change as the target item changes). What I've tried: I looked at many online tutorials and several GitHub repos (e.g. SeasonHUD, MiniHUD), but most of them use NeoForge or Forge versions <1.20 that provide the IGuiOverlay API (e.g. implements IGuiOverlay, RegisterGuiOverlaysEvent). In Forge 1.21, it seems that neither IGuiOverlay nor RegisterGuiOverlaysEvent exist anymore – at least, I can't import them and they are missing from the docs and code completion. I tried using RenderLevelStageEvent as a workaround but it is probably not intended for custom HUDs. I am not using NeoForge, and switching the project to NeoForge is currently not an option for me. I tried to look at the original minecraft source code to see how elements like hearts, hotbar etc are drawn on the screen but I am too new to Minecraft modding to understand. What I'm looking for: What is the correct way to add a custom HUD element (icon + text) in Forge 1.21, given that the previous overlay API is missing? Is there a new recommended event, callback, or method in Forge 1.21 for custom HUD overlays, or is everyone just using a workaround? Is there a minimal open-source example repo for Forge 1.21 that demonstrates a working HUD overlay without relying on NeoForge or deprecated Forge APIs? My ideal solution: Centered HUD element with an in-game item/block icon (from the base game's assets, e.g. a diamond or any ItemStack / Item) and its name as text, with a transparent background rectangle. It should be visible to the players when the mini game is running. Easy to update the item (e.g. static variable or other method), so it can change dynamically during the game. Any help, code snippets, or up-to-date references would be really appreciated! If this is simply not possible right now in Forge 1.21, it would also help to know that for sure. Thank you very much in advance!
    • The simple answer is there is not an easy way. You would need to know how to program in Java, as well as at least some familiarity with how Forge works so you could port the differences. You would also need the sourcecode for the original mod, and permission from the author to modify it, if they did not use some sort of open source license. So it's not impossible, but it would take some effort, but doing so would open up a whole new world of possibilities for you!
    • Does it still crash if you remove holdmyitems? Looks like that mod doesn't work on a server as far as I can tell from the error.  
    • Crashes the server when trying to start. Error code -1. Log  
  • Topics

×
×
  • Create New...

Important Information

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