aurilisdev / Electrodynamics

Electrodynamics is a mod that brings realistic, world-based science and technology into Minecraft along with some other additions.
https://aurilis.dev/electrodynamics/
Other
72 stars 19 forks source link

[1.18.1] funny ioob #121

Closed Yoghurt4C closed 2 years ago

Yoghurt4C commented 2 years ago
Description: Ticking block entity

java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
        at java.util.Arrays$ArrayList.get(Arrays.java:4165) ~[?:?] {}
        at net.minecraft.core.NonNullList.get(NonNullList.java:47) ~[server-1.18.1-20211210.034407-srg.jar%23131!:?] {re:classloading}
        at electrodynamics.prefab.tile.components.type.ComponentInventory.m_8020_(ComponentInventory.java:197) ~[Electrodynamics-1.18.1-0.5.4-0.jar%2368!:1.18.1-0.5.4-0] {re:classloading}
        at electrodynamics.prefab.tile.components.type.ComponentInventory.getUpgradeContents(ComponentInventory.java:467) ~[Electrodynamics-1.18.1-0.5.4-0.jar%2368!:1.18.1-0.5.4-0] {re:classloading}
        at electrodynamics.prefab.tile.components.type.ComponentProcessor.tickServer(ComponentProcessor.java:81) ~[Electrodynamics-1.18.1-0.5.4-0.jar%2368!:1.18.1-0.5.4-0] {re:classloading}
        at electrodynamics.prefab.tile.components.type.ComponentTickable.tickServer(ComponentTickable.java:61) ~[Electrodynamics-1.18.1-0.5.4-0.jar%2368!:1.18.1-0.5.4-0] {re:classloading}
        at electrodynamics.prefab.tile.components.type.ComponentTickable.performTick(ComponentTickable.java:82) ~[Electrodynamics-1.18.1-0.5.4-0.jar%2368!:1.18.1-0.5.4-0] {re:classloading}
        at electrodynamics.prefab.block.GenericEntityBlock.lambda$getTicker$0(GenericEntityBlock.java:47) ~[Electrodynamics-1.18.1-0.5.4-0.jar%2368!:1.18.1-0.5.4-0] {re:classloading}
        at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:673) ~[server-1.18.1-20211210.034407-srg.jar%23131!:?] {re:classloading}

-- Block entity being ticked --
Details:
        Name: electrodynamics:reinforcedalloyer // electrodynamics.common.tile.TileReinforcedAlloyer
        Block: Block{electrodynamics:reinforcedalloyer}[facing=west,waterlogged=false]
aurilisdev commented 2 years ago

When does this occur?

Yoghurt4C commented 2 years ago

when the tile is instantiated and loaded

aurilisdev commented 2 years ago

So not on placement?

aurilisdev commented 2 years ago

Nvm this is fixed in the newest dev version. Will be released at the beginning of next month :D