java.lang.NullPointerException: Cannot invoke "ttv.migami.jeg.common.Gun.getProjectile()" because "this.modifiedGun" is null
at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHitEntity(ProjectileEntity.java:565) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading}
at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHit(ProjectileEntity.java:503) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading}
at ttv.migami.jeg.entity.projectile.ProjectileEntity.m8119(ProjectileEntity.java:256) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading}
at net.minecraft.server.level.ServerLevel.m8647(ServerLevel.java:693) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.world.level.Level.m46653(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A}
at net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Suspected Mod:
Just Enough Guns (jeg), Version: 0.3.1
at TRANSFORMER/jeg@0.3.1/ttv.migami.jeg.entity.projectile.ProjectileEntity.onHitEntity(ProjectileEntity.java:565)
Stacktrace:
at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHitEntity(ProjectileEntity.java:565) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading}
at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHit(ProjectileEntity.java:503) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading}
at ttv.migami.jeg.entity.projectile.ProjectileEntity.m8119(ProjectileEntity.java:256) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading}
at net.minecraft.server.level.ServerLevel.m8647(ServerLevel.java:693) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.world.level.Level.m46653(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A}
at net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
-- Entity being ticked --
Details:
Entity Type: jeg:projectile (ttv.migami.jeg.entity.projectile.ProjectileEntity)
Entity ID: 9373
Entity Name: entity.jeg.projectile
Entity's Exact location: 839.63, 79.58, -1427.51
Entity's Block location: World: (839,79,-1428), Section: (at 7,15,12 in 52,4,-90; chunk contains blocks 832,-64,-1440 to 847,319,-1425), Region: (1,-3; contains chunks 32,-96 to 63,-65, blocks 512,-64,-1536 to 1023,319,-1025)
Entity's Momentum: 0.00, -2.12, -8.91
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.world.level.Level.m46653(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A}
at net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}
Error Stack:
Time: 2024-05-10 21:57:48 Description: Ticking entity
java.lang.NullPointerException: Cannot invoke "ttv.migami.jeg.common.Gun.getProjectile()" because "this.modifiedGun" is null at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHitEntity(ProjectileEntity.java:565) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading} at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHit(ProjectileEntity.java:503) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading} at ttv.migami.jeg.entity.projectile.ProjectileEntity.m8119(ProjectileEntity.java:256) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading} at net.minecraft.server.level.ServerLevel.m8647(ServerLevel.java:693) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.world.level.Level.m46653(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A} at net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head -- Thread: Server thread Suspected Mod: Just Enough Guns (jeg), Version: 0.3.1 at TRANSFORMER/jeg@0.3.1/ttv.migami.jeg.entity.projectile.ProjectileEntity.onHitEntity(ProjectileEntity.java:565) Stacktrace: at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHitEntity(ProjectileEntity.java:565) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading} at ttv.migami.jeg.entity.projectile.ProjectileEntity.onHit(ProjectileEntity.java:503) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading} at ttv.migami.jeg.entity.projectile.ProjectileEntity.m8119(ProjectileEntity.java:256) ~[JustEnoughGuns-0.3.1-1.20.1.%5Bjei枪%5D.jar%23263!/:0.3.1-1.20.1] {re:mixin,re:classloading} at net.minecraft.server.level.ServerLevel.m8647(ServerLevel.java:693) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.world.level.Level.m46653(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A} at net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} -- Entity being ticked -- Details: Entity Type: jeg:projectile (ttv.migami.jeg.entity.projectile.ProjectileEntity) Entity ID: 9373 Entity Name: entity.jeg.projectile Entity's Exact location: 839.63, 79.58, -1427.51 Entity's Block location: World: (839,79,-1428), Section: (at 7,15,12 in 52,4,-90; chunk contains blocks 832,-64,-1440 to 847,319,-1425), Region: (1,-3; contains chunks 32,-96 to 63,-65, blocks 512,-64,-1536 to 1023,319,-1025) Entity's Momentum: 0.00, -2.12, -8.91 Entity's Passengers: [] Entity's Vehicle: null Stacktrace: at net.minecraft.world.level.Level.m46653(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A} at net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading} at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin,pl:mixin:APP:kubejs-common.mixins.json:ServerLevelMixin,pl:mixin:APP:krypton.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:A} at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23292!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A} at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}