mrsterner / GuardVillagers

Creative Commons Zero v1.0 Universal
12 stars 8 forks source link

Game Crashes When Guards Fight Enemies #114

Open PontestheMan opened 4 months ago

PontestheMan commented 4 months ago

---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3

Time: 2024-05-07 21:28:27 Description: Ticking entity

java.lang.IllegalAccessError: class dev.sterner.guardvillagers.common.entity.GuardEntity tried to access private method 'void net.minecraft.class_1324.method_6202(net.minecraft.class_1322)' (dev.sterner.guardvillagers.common.entity.GuardEntity and net.minecraft.class_1324 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @57d5872c) at dev.sterner.guardvillagers.common.entity.GuardEntity.method_6019(GuardEntity.java:504) at dev.sterner.guardvillagers.common.entity.goal.RaiseShieldGoal.method_6269(RaiseShieldGoal.java:36) at net.minecraft.class_4135.method_6269(class_4135.java:41) at net.minecraft.class_1355.method_6275(class_1355.java:107) at net.minecraft.class_1308.method_6023(class_1308.java:774) at net.minecraft.class_1309.method_6007(class_1309.java:2695) at net.minecraft.class_1308.method_6007(class_1308.java:555) at dev.sterner.guardvillagers.common.entity.GuardEntity.method_6007(GuardEntity.java:448) at net.minecraft.class_1309.method_5773(class_1309.java:2449) at net.minecraft.class_1308.method_5773(class_1308.java:356) at dev.sterner.guardvillagers.common.entity.GuardEntity.method_5773(GuardEntity.java:454) at net.minecraft.class_3218.method_18762(class_3218.java:745) at net.minecraft.class_1937.method_18472(class_1937.java:480) at net.minecraft.class_3218.method_31420(class_3218.java:385) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:353) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:820) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:667) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:263) at java.base/java.lang.Thread.run(Thread.java:833)

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

-- Head -- Thread: Server thread Stacktrace: at dev.sterner.guardvillagers.common.entity.GuardEntity.method_6019(GuardEntity.java:504) at dev.sterner.guardvillagers.common.entity.goal.RaiseShieldGoal.method_6269(RaiseShieldGoal.java:36) at net.minecraft.class_4135.method_6269(class_4135.java:41) at net.minecraft.class_1355.method_6275(class_1355.java:107) at net.minecraft.class_1308.method_6023(class_1308.java:774) at net.minecraft.class_1309.method_6007(class_1309.java:2695) at net.minecraft.class_1308.method_6007(class_1308.java:555) at dev.sterner.guardvillagers.common.entity.GuardEntity.method_6007(GuardEntity.java:448) at net.minecraft.class_1309.method_5773(class_1309.java:2449) at net.minecraft.class_1308.method_5773(class_1308.java:356) at dev.sterner.guardvillagers.common.entity.GuardEntity.method_5773(GuardEntity.java:454) at net.minecraft.class_3218.method_18762(class_3218.java:745) at net.minecraft.class_1937.method_18472(class_1937.java:480) at net.minecraft.class_3218.method_31420(class_3218.java:385) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:353)

-- Entity being ticked -- Details: Entity Type: guardvillagers:guard (dev.sterner.guardvillagers.common.entity.GuardEntity) Entity ID: 200 Entity Name: Guard Entity's Exact location: 578.53, 116.00, -2427.52 Entity's Block location: World: (578,116,-2428), Section: (at 2,4,4 in 36,7,-152; chunk contains blocks 576,-64,-2432 to 591,319,-2417), Region: (1,-5; contains chunks 32,-160 to 63,-129, blocks 512,-64,-2560 to 1023,319,-2049) Entity's Momentum: 0.14, -0.08, 0.23 Entity's Passengers: [] Entity's Vehicle: null Entity NBT: {AABB:[578.2317354367087d,116.0d,-2427.820072927447d,578.8317354605506d,117.79999995231628d,-2427.2200729036053d],AbsorptionAmount:0.0f,Air:300s,AngerTime:697,AngryAt:[I;-1554850540,-447527840,-2135322078,-791194064],ArmorDropChances:[0.085f,0.085f,0.085f,0.085f],ArmorItems:[{Count:1b,id:"minecraft:chainmail_boots",tag:{Damage:0}},{Count:1b,id:"minecraft:chainmail_leggings",tag:{Damage:0}},{Count:1b,id:"minecraft:chainmail_chestplate",tag:{Damage:0}},{Count:1b,id:"minecraft:chainmail_helmet",tag:{Damage:0}}],Attributes:[{Base:20.0d,Modifiers:[{Amount:-0.0690126999036731d,Name:"Random spawn bonus",Operation:1,UUID:[I;1375964822,-1249820241,-1301296383,-599506650]}],Name:"minecraft:generic.follow_range"},{Base:0.5d,Name:"minecraft:generic.movement_speed"},{Base:0.0d,Name:"minecraft:generic.armor_toughness"},{Base:0.0d,Name:"minecraft:generic.armor"}],Brain:{memories:{}},CanPickUpLoot:0b,DeathTime:0s,FallDistance:0.0f,FallFlying:0b,Fire:-1s,Following:0b,Gossips:[],HandDropChances:[100.0f,100.0f],HandItems:[{Count:1b,id:"minecraft:crossbow",tag:{Charged:0b,ChargedProjectiles:[],Damage:3}},{Count:1b,id:"minecraft:shield",tag:{Damage:0}}],Health:20.0f,HurtByTimestamp:1,HurtTime:0s,Interacting:0b,Inventory:[{Count:1b,Slot:0b,id:"minecraft:chainmail_helmet",tag:{Damage:0}},{Count:1b,Slot:1b,id:"minecraft:chainmail_chestplate",tag:{Damage:0}},{Count:1b,Slot:2b,id:"minecraft:chainmail_leggings",tag:{Damage:0}},{Count:1b,Slot:3b,id:"minecraft:chainmail_boots",tag:{Damage:0}},{Count:1b,Slot:4b,id:"minecraft:shield",tag:{Damage:0}},{Count:1b,Slot:5b,id:"minecraft:crossbow",tag:{Charged:0b,ChargedProjectiles:[],Damage:3}}],Invulnerable:0b,KickCooldown:0,KickTicks:0,LastGossipDecay:247172L,LastGossipTime:98465L,LeftHanded:0b,Motion:[0.14134506006440264d,-0.0784000015258789d,0.22731705138102776d],OnGround:1b,Patrolling:0b,PersistenceRequired:1b,PortalCooldown:0,Pos:[578.5317354486297d,116.0d,-2427.5200729155263d],Rotation:[332.50415f,12.276053f],ShieldCooldown:0,SpawnWithArmor:0b,Type:0,UUID:[I;-1944810330,-1279572449,-1196411029,1822898708]} Stacktrace: at net.minecraft.class_1937.method_18472(class_1937.java:480) at net.minecraft.class_3218.method_31420(class_3218.java:385) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:353) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:820) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:667) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:263) at java.base/java.lang.Thread.run(Thread.java:833)

-- Affected level -- Details: All players: 1 total; [class_3222['PontesGamer'/117, l='ServerLevel[okboomer 2]', x=603.38, y=134.00, z=-2432.05]] Chunk stats: 3428 Level dimension: minecraft:overworld Level spawn location: World: (3,63,15), Section: (at 3,15,15 in 0,3,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Level time: 265312 game time, 395972 day time Level name: okboomer 2 Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true Level weather: Rain time: 8481 (now: true), thunder time: 15243 (now: false) Known server brands: fabric Removed feature flags: Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:820) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:667) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:263) at java.base/java.lang.Thread.run(Thread.java:833)

-- System Details -- Details: Minecraft Version: 1.20.2 Minecraft Version ID: 1.20.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.8, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 1164217368 bytes (1110 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 8 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz Identifier: Intel64 Family 6 Model 158 Stepping 10 Microarchitecture: Coffee Lake Frequency (GHz): 2.30 Number of physical packages: 1 Number of physical CPUs: 4 Number of logical CPUs: 8 Graphics card #0 name: NVIDIA GeForce GTX 1050 Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1c8d Graphics card #0 versionInfo: DriverVersion=31.0.15.5222 Graphics card #1 name: Intel(R) UHD Graphics 630 Graphics card #1 vendor: Intel Corporation (0x8086) Graphics card #1 VRAM (MB): 1024.00 Graphics card #1 deviceId: 0x3e9b Graphics card #1 versionInfo: DriverVersion=27.20.100.8729 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 2.67 Memory slot #0 type: DDR4 Virtual memory max (MB): 29427.13 Virtual memory used (MB): 12163.71 Swap memory total (MB): 21360.93 Swap memory used (MB): 462.07 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Fabric Mods: appleskin: AppleSkin 2.5.1+mc1.20.2 architectury: Architectury 10.1.20 bedrockify: BedrockIfy 1.9.1+mc1.20.2 panorama_screens: Panorama Screens 1.0+fabric+mc1.20.2 better_end_sky: Better End Sky 0.2.1+1.20 bettercombat: Better Combat 1.8.1+1.20.2 bettermounthud: Better Mount HUD 1.2.2 betterthirdperson: Better Third Person 1.9.0 blendium: Blendium 1.0.1+mc1.20.x bookshelf: Bookshelf 21.0.14 chat_heads: Chat Heads 0.10.32 cloth-config: Cloth Config v12 12.0.119 cloth-basic-math: cloth-basic-math 0.6.1 clumps: Clumps 13.0.0.6 collective: Collective 7.30 continuity: Continuity 3.0.0-beta.4+1.20.2 controlling: Controlling 13.0.8 cristellib: Cristel Lib 1.2.0 blue_endless_jankson: jankson 1.2.3 debugify: Debugify 1.20.2+1.0 distanthorizons: Distant Horizons 2.0.1-a fabric-api-base: Fabric API Base 0.4.33+fce67b32a0 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.10+b1792f7da0 fabric-rendering-v1: Fabric Rendering (v1) 3.0.11+b1792f7da0 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.12+b1792f7da0 doubledoors: Double Doors 5.2 dynamic_fps: Dynamic FPS 3.4.3 e4mc_minecraft: e4mc 4.0.1 eatinganimationid: Eating Animation 1.20+1.9.61 enchanted-vertical-slabs: Enchanted Vertical Slabs 1.9.1 enchdesc: EnchantmentDescriptions 18.0.7 entityculling: EntityCulling 1.6.3 fabric-api: Fabric API 0.91.6+1.20.2 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.43+b1792f7da0 fabric-biome-api-v1: Fabric Biome API (v1) 13.0.14+b1792f7da0 fabric-block-api-v1: Fabric Block API (v1) 1.0.12+73761d2ea0 fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.1+73761d2ea0 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.43+f4b7e424a0 fabric-client-tags-api-v1: Fabric Client Tags 1.1.4+86b12645a0 fabric-command-api-v1: Fabric Command API (v1) 1.2.37+f71b366fa0 fabric-command-api-v2: Fabric Command API (v2) 2.2.16+b1792f7da0 fabric-commands-v0: Fabric Commands (v0) 0.2.54+df3654b3a0 fabric-containers-v0: Fabric Containers (v0) 0.1.81+df3654b3a0 fabric-content-registries-v0: Fabric Content Registries (v0) 5.0.6+b1792f7da0 fabric-convention-tags-v1: Fabric Convention Tags 1.5.8+b1792f7da0 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.20+f4b7e424a0 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 13.1.11+b1792f7da0 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.57+b1792f7da0 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.26+b1792f7da0 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.70+df3654b3a0 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.42+a44e16a6a0 fabric-item-api-v1: Fabric Item API (v1) 2.1.33+b1792f7da0 fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.15+e3d2bf3fa0 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.38+f4b7e424a0 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.36+df3654b3a0 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.28+c8b10480a0 fabric-loot-api-v2: Fabric Loot API (v2) 2.1.1+3ba460fba0 fabric-message-api-v1: Fabric Message API (v1) 6.0.2+e3d2bf3fa0 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.56+f4b7e424a0 fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.6+b1792f7da0 fabric-models-v0: Fabric Models (v0) 0.4.5+9386d8a7a0 fabric-networking-api-v1: Fabric Networking API (v1) 3.1.5+f4be560ba0 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 12.1.2+2ff98d3ba0 fabric-particles-v1: Fabric Particles (v1) 1.1.4+f4b7e424a0 fabric-recipe-api-v1: Fabric Recipe API (v1) 2.0.14+52b3ebe5a0 fabric-registry-sync-v0: Fabric Registry Sync (v0) 4.0.12+b1792f7da0 fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.1+2034447ca0 fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.1+2034447ca0 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.49+df3654b3a0 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.39+73761d2ea0 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.30+f4b7e424a0 fabric-rendering-v0: Fabric Rendering (v0) 1.1.52+df3654b3a0 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.11+239dafd8a0 fabric-screen-api-v1: Fabric Screen API (v1) 2.0.12+b1792f7da0 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.47+b1792f7da0 fabric-sound-api-v1: Fabric Sound API (v1) 1.0.14+f4b7e424a0 fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.13+4944b5a5a0 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 5.0.3+fce67b32a0 fabric-language-kotlin: Fabric Language Kotlin 1.10.19+kotlin.1.9.23 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.9.23 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.9.23 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.9.23 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.9.23 org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.23.2 org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.8.0 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.8.0 org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.5.0 org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.6.3 org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.6.3 org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.6.3 fabricloader: Fabric Loader 0.15.11 mixinextras: MixinExtras 0.3.5 fallingleaves: Falling Leaves 1.15.6 ferritecore: FerriteCore 6.0.0 firstperson: FirstPerson 2.3.4 fwaystones: Fabric Waystones 3.3.1+mc1.20.2 geckolib: GeckoLib 4 4.4.4 com_eliotlash_mclib_mclib: mclib 20 guardvillagers: GuardVillagers 2.0.9-1.20.1 midnightlib: MidnightLib 1.4.1 immediatelyfast: ImmediatelyFast 1.2.13+1.20.4 net_lenni0451_reflect: Reflect 1.3.2 indium: Indium 1.0.28+mc1.20.4 inventoryprofilesnext: Inventory Profiles Next 1.10.10 iris: Iris 1.6.14 io_github_douira_glsl-transformer: glsl-transformer 2.0.0-pre13 org_anarres_jcpp: jcpp 1.4.14 org_antlr_antlr4-runtime: antlr4-runtime 4.11.1 jade: Jade 12.3.0 java: OpenJDK 64-Bit Server VM 17 lambdynlights: LambDynamicLights 2.3.3+1.20.2 pride: Pride Lib 1.2.0+1.19.4 spruceui: SpruceUI 5.0.3+1.20.2 languagereload: Language Reload 1.5.10+1.20.2 libipn: libIPN 4.0.2 lithium: Lithium 0.12.0 memoryleakfix: Memory Leak Fix 1.1.5 minecraft: Minecraft 1.20.2 modmenu: Mod Menu 8.0.1 morechathistory: More Chat History 1.3.0 naturalist: Naturalist 4.0.3 notenoughcrashes: Not Enough Crashes 4.4.7+1.20.2 owo: oωo 0.11.4+1.20.2 playeranimator: Player Animator 1.0.2-rc1+1.20.4 presencefootsteps: Presence Footsteps 1.10.3 kirin: Kirin UI 1.16.1+1.20.2 reeses-sodium-options: Reese's Sodium Options 1.6.5+mc1.20.2-build.96 roughlyenoughitems: Roughly Enough Items 13.1.726 error_notifier: Error Notifier 1.0.9 searchables: Searchables 1.0.16 sodium: Sodium 0.5.5 sodium-extra: Sodium Extra 0.5.2+mc1.20.2-build.113 caffeineconfig: CaffeineConfig 1.3.0+1.17 crowdin-translate: CrowdinTranslate 1.4+1.19.3 stepitup: StepItUp 2.0.1-1.20.1 t_and_t: Towns and Towers 1.12 terra: Terra 6.4.1-BETA+3aef97738 cloud: Cloud 1.8.4 cloud_commandframeworkcloud-brigadier: cloud-brigadier 1.8.4 cloud_commandframeworkcloud-core: cloud-core 1.8.4 cloud_commandframeworkcloud-services: cloud-services 1.8.4 fabric-permissions-api-v0: fabric-permissions-api 0.2-SNAPSHOT io_leangen_geantyref_geantyref: geantyref 1.3.13 toolstats: ToolStats 17.0.2 treeharvester: Tree Harvester 8.6 way2wayfabric: Way2Way 0.0.6 xaerominimap: Xaero's Minimap 24.1.1 xaeroworldmap: Xaero's World Map 1.38.4 yet_another_config_lib_v3: YetAnotherConfigLib 3.3.0-beta.1+1.20.2 com_twelvemonkeys_common_common-image: common-image 3.10.0 com_twelvemonkeys_common_common-io: common-io 3.10.0 com_twelvemonkeys_common_common-lang: common-lang 3.10.0 com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0 com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0 com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0 org_quiltmc_parsers_gson: gson 0.2.1 org_quiltmc_parsers_json: json 0.2.1 zoomify: Zoomify 2.12.0 com_akuleshov7_ktoml-core-jvm: ktoml-core-jvm 0.5.0 dev_isxander_settxi_settxi-core: settxi-core 2.10.6 dev_isxander_settxi_settxi-kotlinx-serialization: settxi-kotlinx-serialization 2.10.6 Loaded Shaderpack: (off) Server Running: true Player Count: 1 / 8; [class_3222['PontesGamer'/117, l='ServerLevel[okboomer 2]', x=603.38, y=134.00, z=-2432.05]] Data Packs: vanilla, fabric, Runtime Pack, bundle Enabled Feature Flags: minecraft:bundle, minecraft:vanilla World Generation: Stable Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric' Launched Version: fabric-loader-0.15.11-1.20.2 Suspected Mods: GuardVillagers (guardvillagers), Minecraft (minecraft)