Jump to content

Recommended Posts

Posted

Today, I was playing on my Thaumcraft world when all of a sudden, my game crashes. The last thing I was doing in my world was smelting glass in my infernal furnace. I had just crafted the boots of the traveler before that so maybe it had something to do with that but I don't know. Sorry if the problem is something stupid, I've never really had to experience a crash. I've done some research on fixing the crash but I could not find a forum that has the same crash as mine.

 

Here are the mods I have (in order of installation)

Forge 1.7.2 - 10.12.2.1121

OptiFine 1.7.2

TooManyItems 1.7.2

CraftGuide 1.6.8.1 (came with TooManyItems)

VoxelMap 1.7.2 - 1.0

Thaumcraft 1.7.2 - 4.1.1.14

 

I think the crash has something to do with Thaumcraft but I don't know how to fix it. If anyone know please tell  me what's wrong and how to fix it. Here is the log that came up when it crashed:

 

---- Minecraft Crash Report ----

// Oh - I know what I did wrong!

 

Time: 03/07/14 12:26 PM

Description: Ticking block entity

 

java.lang.ArrayIndexOutOfBoundsException: -1

at java.util.ArrayList.elementData(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at net.minecraftforge.oredict.OreDictionary.getOreName(OreDictionary.java:285)

at thaumcraft.api.ThaumcraftApi.getSmeltingBonus(ThaumcraftApi.java:143)

at thaumcraft.common.tiles.TileArcaneFurnace.ejectItem(TileArcaneFurnace.java:293)

at thaumcraft.common.tiles.TileArcaneFurnace.func_145845_h(TileArcaneFurnace.java:166)

at net.minecraft.world.World.func_72939_s(World.java:1888)

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:500)

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:620)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531)

at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669)

 

 

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

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

 

-- Head --

Stacktrace:

at java.util.ArrayList.elementData(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at net.minecraftforge.oredict.OreDictionary.getOreName(OreDictionary.java:285)

at thaumcraft.api.ThaumcraftApi.getSmeltingBonus(ThaumcraftApi.java:143)

at thaumcraft.common.tiles.TileArcaneFurnace.ejectItem(TileArcaneFurnace.java:293)

at thaumcraft.common.tiles.TileArcaneFurnace.func_145845_h(TileArcaneFurnace.java:166)

 

-- Block entity being ticked --

Details:

Name: TileArcaneFurnace // thaumcraft.common.tiles.TileArcaneFurnace

Block type: ID #196 (tile.blockArcaneFurnace // thaumcraft.common.blocks.BlockArcaneFurnace)

Block data value: 0 / 0x0 / 0b0000

Block location: World: (324,72,-177), Chunk: (at 4,4,15 in 20,-12; contains blocks 320,0,-192 to 335,255,-177), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)

Actual block type: ID #196 (tile.blockArcaneFurnace // thaumcraft.common.blocks.BlockArcaneFurnace)

Actual block data value: 0 / 0x0 / 0b0000

Stacktrace:

at net.minecraft.world.World.func_72939_s(World.java:1888)

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:500)

 

-- Affected level --

Details:

Level name: Arthur's Survival World

All players: 1 total; [EntityPlayerMP['audi981'/115, l='Arthur's Survival World', x=319.58, y=71.00, z=-176.43]]

Chunk stats: ServerChunkCache: 981 Drop: 0

Level seed: -2160822303702769554

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

Level generator options:

Level spawn location: World: (220,64,120), Chunk: (at 12,4,8 in 13,7; contains blocks 208,0,112 to 223,255,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 2566582 game time, 2801921 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 39548 (now: false), thunder time: 140494 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true

Stacktrace:

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:620)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531)

at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669)

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_45, Oracle Corporation

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

Memory: 186803448 bytes (178 MB) / 422375424 bytes (402 MB) up to 518979584 bytes (494 MB)

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

AABB Pool Size: 3729 (208824 bytes; 0 MB) allocated, 518 (29008 bytes; 0 MB) used

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

FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 Optifine OptiFine_1.7.2_HD_D1 9 mods loaded, 9 mods active

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

FML{7.2.211.1121} [Forge Mod Loader] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.12.2.1121} [Minecraft Forge] (forge-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

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

craftguide{1.6.8.1} [CraftGuide] (CraftGuide-1.6.8.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

inventorytweaks{1.57-116} [inventory Tweaks] (InventoryTweaks-1.57-116.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Baubles{1.0.0.13} [baubles] (Baubles-1.7.2-1.0.0.13.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Thaumcraft{4.1.1.14} [Thaumcraft] (Thaumcraft-1.7.2-4.1.1.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

voxelmap{1.7.2} [VoxelMap] (voxelmap-1.7.2-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 908 (50848 bytes; 0 MB) allocated, 496 (27776 bytes; 0 MB) used

Player Count: 1 / 8; [EntityPlayerMP['audi981'/115, l='Arthur's Survival World', x=319.58, y=71.00, z=-176.43]]

Type: Integrated Server (map_client.txt)

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

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.