Jeryn99 / Gliders

Gliders: essential for traversing terrain and preventing falls
8 stars 3 forks source link

Crash #51

Closed Mozork01 closed 9 months ago

Mozork01 commented 9 months ago

Hey Fabric 1.20.1 I crashed when lightning struck my glider with the copper upgrade.

crash-2024-02-07_11.37.33-server.txt

Mozork01 commented 9 months ago

---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem.

Time: 2024-02-07 11:37:33 Description: Ticking entity

java.lang.IllegalStateException: Missing key in ResourceKey[minecraft:root / minecraft:damage_type]: ResourceKey[minecraft:damage_type / vc_gliders:zap_experiment] at net.minecraft.class_2378.method_47446(class_2378.java:151) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at net.minecraft.class_2378.method_40290(class_2378.java:151) at net.venturecraft.gliders.common.GliderDamageSource.getSource(GliderDamageSource.java:19) at net.venturecraft.gliders.common.GliderEvents.lightningStrike(GliderEvents.java:61) at net.threetag.palladiumcore.event.EntityEvents.lambda$static$2(EntityEvents.java:25) at net.minecraft.class_1538.handler$cei001$palladiumcore$tick(class_1538.java:2020) at net.minecraft.class_1538.method_5773(class_1538.java:130) at net.minecraft.class_3218.method_18762(class_3218.java:739) 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:824) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) 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 net.minecraft.class_2378.method_47446(class_2378.java:151) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at net.minecraft.class_2378.method_40290(class_2378.java:151) at net.venturecraft.gliders.common.GliderDamageSource.getSource(GliderDamageSource.java:19) at net.venturecraft.gliders.common.GliderEvents.lightningStrike(GliderEvents.java:61) at net.threetag.palladiumcore.event.EntityEvents.lambda$static$2(EntityEvents.java:25) at net.minecraft.class_1538.handler$cei001$palladiumcore$tick(class_1538.java:2020) at net.minecraft.class_1538.method_5773(class_1538.java:130) at net.minecraft.class_3218.method_18762(class_3218.java:739) 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: minecraft:lightning_bolt (net.minecraft.class_1538) Entity ID: 29808 Entity Name: Foudre Entity's Exact location: 112.28, 78.78, 91.07 Entity's Block location: World: (112,78,91), Section: (at 0,14,11 in 7,4,5; chunk contains blocks 112,-64,80 to 127,319,95), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Entity's Momentum: 0.00, 0.00, 0.00 Entity's Passengers: [] Entity's Vehicle: null 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:824) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:833)

-- Affected level -- Details: All players: 1 total; [class_3222['Mozork'/196, l='ServerLevel[Nouveau monde]', x=112.45, y=78.73, z=91.16]] Chunk stats: 3083 Level dimension: minecraft:overworld Level spawn location: World: (0,75,0), Section: (at 0,11,0 in 0,4,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: 180057 game time, 23710 day time Level name: Nouveau monde Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Level weather: Rain time: 10727 (now: true), thunder time: 10727 (now: true) 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:824) at net.minecraft.class_1132.method_3748(class_1132.java:105) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) at java.base/java.lang.Thread.run(Thread.java:833)

Jeryn99 commented 9 months ago

Interesting, when does this occur?

Mozork01 commented 9 months ago

The crash only occurs with the copper upgrade. The crash occurs when lightning strikes me.

Mozork01 commented 9 months ago

I tested the copper upgrade with both the Netherite and diamond gliders. In both cases, the game crashes when lightning strikes me. So the issue arises from the copper upgrade.

Jeryn99 commented 9 months ago

Fixed