itsmeow / whisperwoods

Minecraft mod for Spooky Jam adding a few fearsome forest critters
Other
7 stars 10 forks source link

Hirschgeist can cause a crash. #39

Closed msjlwlb closed 2 years ago

msjlwlb commented 2 years ago

Describe what you were doing before the crash

I were fighting a hirschgeist. [eg. Loading game, creating world, spawning a certain mob, hurting a mob, walking around]

To Reproduce

Steps to reproduce the behavior (if possible):

  1. Spawn '...'
  2. Click on '....'
  3. See error

Crash Log (REQUIRED)

Description: Ticking entity

java.lang.IllegalAccessError: tried to access class net.minecraft.world.server.ChunkManager$EntityTracker from class dev.itsmeow.whisperwoods.entity.EntityWisp at dev.itsmeow.whisperwoods.entity.EntityWisp.func_70071h(EntityWisp.java:112) ~[whisperwoods:1.16.5-2.1.0] {re:classloading} at net.minecraft.world.server.ServerWorld.func_217479_a(ServerWorld.java:611) ~[?:?] {re:classloading,re:mixin} at net.minecraft.world.World.func_217390_a(World.java:554) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:404) ~[?:?] {re:classloading,re:mixin} at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.server.MinecraftServer.func_240802v(MinecraftServer.java:642) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.func_240783a(MinecraftServer.java:232) ~[?:?] {re:classloading,pl:accesstransformer:B} at java.lang.Thread.run(Unknown Source) [?:1.8.0_291] {}

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

-- Head -- Thread: Server thread Stacktrace: at dev.itsmeow.whisperwoods.entity.EntityWisp.func_70071h(EntityWisp.java:112) ~[whisperwoods:1.16.5-2.1.0] {re:classloading} at net.minecraft.world.server.ServerWorld.func_217479_a(ServerWorld.java:611) ~[?:?] {re:classloading,re:mixin} -- Entity being ticked -- Details: Entity Type: whisperwoods:wisp (dev.itsmeow.whisperwoods.entity.EntityWisp) Entity ID: 11 Entity Name: Wisp Entity's Exact location: -8.55, 7.93, 116.45 Entity's Block location: World: (-9,7,116), Chunk: (at 7,0,4 in -1,7; contains blocks -16,0,112 to -1,255,127), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: -0.02, -0.09, -0.02 Entity's Passengers: [] Entity's Vehicle: ERROR NullPointerException: null Stacktrace: at net.minecraft.world.World.func_217390_a(World.java:554) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:404) ~[?:?] {re:classloading,re:mixin}

-- Affected level -- Details: All players: 1 total; [ServerPlayerEntity['ksktz'/3, l='ServerLevel[新的世界]', x=-13.66, y=4.00, z=109.45]] Chunk stats: ServerChunkCache: 2254 Level dimension: minecraft:overworld Level spawn location: World: (-48,4,112), Chunk: (at 0,0,0 in -3,7; contains blocks -48,0,112 to -33,255,127), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 7470 game time, 13175 day time Level name: 新的世界 Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Level weather: Rain time: 54300 (now: false), thunder time: 133469 (now: false) Known server brands: forge Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.server.MinecraftServer.func_240802v(MinecraftServer.java:642) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.func_240783a(MinecraftServer.java:232) ~[?:?] {re:classloading,pl:accesstransformer:B} at java.lang.Thread.run(Unknown Source) [?:1.8.0_291] {}

-- System Details -- Details: Minecraft Version: 1.16.5 Minecraft Version ID: 1.16.5 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_291, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 9092026712 bytes (8670 MB) / 9661579264 bytes (9214 MB) up to 9663676416 bytes (9216 MB) CPUs: 8 JVM Flags: 7 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -XX:+IgnoreUnrecognizedVMOptions -Xmn256m -Xmx9216m ModLauncher: 8.1.3+8.1.3+main-8.1.x.c94d18ec ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /mixin-0.8.4.jar mixin PLUGINSERVICE /eventbus-4.0.0.jar eventbus PLUGINSERVICE /forge-1.16.5-36.2.34.jar object_holder_definalize PLUGINSERVICE /forge-1.16.5-36.2.34.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE /forge-1.16.5-36.2.34.jar capability_inject_definalize PLUGINSERVICE /forge-1.16.5-36.2.34.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE /forge-1.16.5-36.2.34.jar fml TRANSFORMATIONSERVICE FML: 36.2 Forge: net.minecraftforge:36.2.34 FML Language Providers: javafml@36.2 minecraft@1 Mod List: forge-1.16.5-36.2.34-client.jar |Minecraft |minecraft |1.16.5 |DONE |Manifest: NOSIGNATURE forge-1.16.5-36.2.34-universal.jar |Forge |forge |36.2.34 |DONE |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90 torohealth-1.16.4-forge-4.jar |ToroHealth |torohealth |NONE |DONE |Manifest: NOSIGNATURE whisperwoods-1.16.5-2.1.0-forge.jar |Whisperwoods |whisperwoods |1.16.5-2.1.0 |DONE |Manifest: NOSIGNATURE architectury-1.32.63.jar |Architectury |architectury |1.32.63 |DONE |Manifest: NOSIGNATURE Crash Report UUID: 936fc7ec-ceea-4950-bcab-b10a82ee7cb6 Player Count: 1 / 8; [ServerPlayerEntity['ksktz'/3, l='ServerLevel[新的世界]', x=-13.66, y=4.00, z=109.45]] Data Packs: vanilla, mod:forge, mod:torohealth, mod:whisperwoods, mod:architectury Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'forge' Get your minecraft crash log and paste it here.

Versions

Additional context

Add any other context about the problem here.