Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mining Drill crash game #150

Open
dhgameryt opened this issue Nov 29, 2024 · 0 comments
Open

Mining Drill crash game #150

dhgameryt opened this issue Nov 29, 2024 · 0 comments

Comments

@dhgameryt
Copy link

Versions:
-Minecraft Forge: 14.23.5.2860
-Industrial Renewal: 1.12.2-0.21.8

What happens:
Game crash

What should happen:
No crash

Logs (if necessary):
`Description: Ticking block entity

java.lang.IndexOutOfBoundsException: Index (0) is greater than or equal to list size (0)
at it.unimi.dsi.fastutil.objects.ObjectArrayList.get(ObjectArrayList.java:371)
at net.minecraft.util.NonNullList.get(SourceFile:44)
at cassiokf.industrialrenewal.tileentity.TileEntityMining.mineOre(TileEntityMining.java:243)
at cassiokf.industrialrenewal.tileentity.TileEntityMining.onTick(TileEntityMining.java:144)
at cassiokf.industrialrenewal.tileentity.abstracts.TileEntityMultiBlockBase.update(TileEntityMultiBlockBase.java:41)
at net.minecraft.world.World.updateEntities(World.java:1838)
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:279)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)

No Mixin Metadata is found in the Stacktrace.

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

-- Block entity being ticked --
Name: industrialrenewal:mining // cassiokf.industrialrenewal.tileentity.TileEntityMining
Block type: ID #3680 (tile.industrialrenewal.mining // cassiokf.industrialrenewal.blocks.BlockMining // industrialrenewal:mining)
Block data value: 5 / 0x5 / 0b0101
Block location: World: (1554,65,-563), Chunk: (at 2,4,13 in 97,-36; contains blocks 1552,0,-576 to 1567,255,-561), Region: (3,-2; contains chunks 96,-64 to 127,-33, blocks 1536,0,-1024 to 2047,255,-513)
Actual block type: ID #3680 (tile.industrialrenewal.mining // cassiokf.industrialrenewal.blocks.BlockMining // industrialrenewal:mining)
Actual block data value: 5 / 0x5 / 0b0101
NBT: {z:-563,heat:9410,StoredIR:{IROutput:10240,IRInput:10240,IRCapacity:100000,IRStored:98433},x:1554,deep:0b,vsize:935,running:1b,water:{Amount:31990,FluidName:"water"},id:"industrialrenewal:mining",master:1b,y:65,depleted:0b,checked:1b,firebox:{Size:1,Items:[{Damage:292s,Slot:0,id:"industrialrenewal:drill_diamond",Count:1b}]}}

-- Affected level --
Level name: World Two
All players: 1 total; [GCEntityPlayerMP['RewLian'/335, l='World Two', x=1534.15, y=64.00, z=-566.58]]
Chunk stats: ServerChunkCache: 921 Drop: 0
Level seed: -3622911801715548970
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 2544547 game time, 3481346 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 107524 (now: false), thunder time: 31061 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true`

Additional Comments:
Crash related to the mining drill
game crash some seconds after enter in the world
game stop crash if mining drill removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant