Just Mob Heads (Fabric)

Just Mob Heads (Fabric)

174k Downloads

Seems to be a bug regarding basic arrays.

tensor5375 opened this issue ยท 0 comments

commented

---- Minecraft Crash Report ----
// My bad.

Time: 2025-01-08 14:17:56
Description: Ticking player

java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 10
at java.base/java.util.ArrayList.add(ArrayList.java:484) ~[?:?] {re:mixin}
at java.base/java.util.ArrayList.add(ArrayList.java:496) ~[?:?] {re:mixin}
at TRANSFORMER/[email protected]/com.natamus.stackrefill_common_neoforge.events.RefillEvent.onItemUse(RefillEvent.java:161) ~[stackrefill-1.21.4-4.5.jar%23228!/:?] {re:classloading}
at TRANSFORMER/[email protected]/com.natamus.stackrefill.neoforge.events.NeoForgeRefillEvent.onItemUse(NeoForgeRefillEvent.java:59) ~[stackrefill-1.21.4-4.5.jar%23228!/:?] {re:classloading}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350) ~[bus-8.0.2.jar%23123!/:?] {}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315) ~[bus-8.0.2.jar%23123!/:?] {}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.event.EventHooks.onItemUseFinish(EventHooks.java:465) ~[neoforge-21.4.47-beta-universal.jar%23221!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.completeUsingItem(LivingEntity.java:3320) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.completeUsingItem(ServerPlayer.java:1548) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.updateUsingItem(LivingEntity.java:3226) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.updateUsingItem(ServerPlayer.java:2221) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.updatingUsingItem(LivingEntity.java:3213) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2521) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.player.Player.tick(Player.java:288) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:719) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:268) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.tick(Connection.java:412) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,re:mixin}
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:159) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickConnection(MinecraftServer.java:1128) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1104) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:963) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:108) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:runtimedistcleaner:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:723) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:278) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}

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

-- Head --
Thread: Server thread
Stacktrace:
at java.base/java.util.ArrayList.add(ArrayList.java:484) ~[?:?] {re:mixin}
at java.base/java.util.ArrayList.add(ArrayList.java:496) ~[?:?] {re:mixin}
at TRANSFORMER/[email protected]/com.natamus.stackrefill_common_neoforge.events.RefillEvent.onItemUse(RefillEvent.java:161) ~[stackrefill-1.21.4-4.5.jar%23228!/:?] {re:classloading}
at TRANSFORMER/[email protected]/com.natamus.stackrefill.neoforge.events.NeoForgeRefillEvent.onItemUse(NeoForgeRefillEvent.java:59) ~[stackrefill-1.21.4-4.5.jar%23228!/:?] {re:classloading}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350) ~[bus-8.0.2.jar%23123!/:?] {}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315) ~[bus-8.0.2.jar%23123!/:?] {}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.event.EventHooks.onItemUseFinish(EventHooks.java:465) ~[neoforge-21.4.47-beta-universal.jar%23221!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.completeUsingItem(LivingEntity.java:3320) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.completeUsingItem(ServerPlayer.java:1548) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.updateUsingItem(LivingEntity.java:3226) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.updateUsingItem(ServerPlayer.java:2221) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.updatingUsingItem(LivingEntity.java:3213) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2521) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.entity.player.Player.tick(Player.java:288) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
-- Player being ticked --
Details:
Entity Type: minecraft:player (net.minecraft.server.level.ServerPlayer)
Entity ID: 23
Entity Name:
Entity's Exact location: 1004.48, 201.00, 1877.05
Entity's Block location: World: (1004,201,1877), Section: (at 12,9,5 in 62,12,117; chunk contains blocks 992,-64,1872 to 1007,319,1887), Region: (1,3; contains chunks 32,96 to 63,127, blocks 512,-64,1536 to 1023,319,2047)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:719) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:268) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.tick(Connection.java:412) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,re:mixin}
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:159) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickConnection(MinecraftServer.java:1128) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1104) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:963) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:108) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:runtimedistcleaner:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:723) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:278) ~[client-1.21.4-20241203.161809-srg.jar%23220!/:?] {re:classloading,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}