Fireball Kill caused a crash
littlecattle opened this issue · 0 comments
when fireball fired by the dispenser kills an entity, it will cause a crash.
But fireball by the Ghast won't. I guess they may have different entity id.
It seems like a problem of enchantment.
---- Minecraft Crash Report ----
// You're mean.
Time: 21-1-20 下午10:37
Description: Ticking entity
java.lang.ClassCastException: net.minecraft.class_1677 cannot be cast to net.minecraft.class_1309
at net.minecraft.class_1309.handler$zzk000$onExplodingEnchantmentKill(class_1309.java:6821)
at net.minecraft.class_1309.method_6078(class_1309.java)
at net.minecraft.class_3988.method_6078(class_3988.java:204)
at net.minecraft.class_1646.method_6078(class_1646.java:646)
at net.minecraft.class_1309.method_5643(class_1309.java:1106)
at net.minecraft.class_1677.method_7454(class_1677.java:38)
at net.minecraft.class_1676.method_7488(class_1676.java:118)
at net.minecraft.class_1677.method_7488(class_1677.java:65)
at net.minecraft.class_1668.method_5773(class_1668.java:77)
at net.minecraft.class_3218.method_18762(class_3218.java:621)
at net.minecraft.class_1937.method_18472(class_1937.java:561)
at net.minecraft.class_3218.method_18765(class_3218.java:411)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:871)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.class_1132.method_3748(class_1132.java:91)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at java.lang.Thread.run(Unknown Source)
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_1309.handler$zzk000$onExplodingEnchantmentKill(class_1309.java:6821)
at net.minecraft.class_1309.method_6078(class_1309.java)
at net.minecraft.class_3988.method_6078(class_3988.java:204)
at net.minecraft.class_1646.method_6078(class_1646.java:646)
at net.minecraft.class_1309.method_5643(class_1309.java:1106)
at net.minecraft.class_1677.method_7454(class_1677.java:38)
at net.minecraft.class_1676.method_7488(class_1676.java:118)
at net.minecraft.class_1677.method_7488(class_1677.java:65)
at net.minecraft.class_1668.method_5773(class_1668.java:77)
at net.minecraft.class_3218.method_18762(class_3218.java:621)
-- Entity being ticked --
Details:
Entity Type: minecraft:small_fireball (net.minecraft.class_1677)
Entity ID: 417
Entity Name: Small Fireball
Entity's Exact location: -68.54, 59.46, 386.17
Entity's Block location: World: (-69,59,386), Chunk: (at 11,3,2 in -5,24; contains blocks -80,0,384 to -65,255,399), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: -0.01, -0.02, -0.50
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.class_1937.method_18472(class_1937.java:561)
at net.minecraft.class_3218.method_18765(class_3218.java:411)
-- Affected level --
Details:
All players: 1 total; [class_3222['littlecattle'/53, l='ServerLevel[Test]', x=-70.12, y=61.40, z=387.20]]
Chunk stats: ServerChunkCache: 3109
Level dimension: minecraft:overworld
Level spawn location: World: (-60,53,63), Chunk: (at 4,3,15 in -4,3; contains blocks -64,0,48 to -49,255,63), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 208097 game time, 42654 day time
Level name: Test
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Level weather: Rain time: 49324 (now: false), thunder time: 8105 (now: false)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:871)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.class_1132.method_3748(class_1132.java:91)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.16.4
Minecraft Version ID: 1.16.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_271, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 3570024248 bytes (3404 MB) / 4294967296 bytes (4096 MB) up to 4294967296 bytes (4096 MB)
CPUs: 12
JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx4096m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
Fabric Mods:
enchant_giver: Enchant Giver 1.0.2
fabric: Fabric API 0.29.3+1.16
fabric-api-base: Fabric API Base 0.2.0+ab87788d3a
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.0+2e23b97c3a
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+6a2618f53a
fabric-command-api-v1: Fabric Command API (v1) 1.0.9+6a2618f53a
fabric-commands-v0: Fabric Commands (v0) 0.2.1+cbe9176f3a
fabric-containers-v0: Fabric Containers (v0) 0.1.9+a03e98793a
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.0+e77439c73a
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d3a
fabric-dimensions-v1: fabric-dimensions-v1 2.0.1+9a6c75813a
fabric-entity-events-v1: Fabric Entity Events (v1) 1.0.2+8004b36d3a
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.1+6a2618f53a
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+6a2618f53a
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.5+cbe9176f3a
fabric-item-api-v1: Fabric Item API (v1) 1.2.0+6a2618f53a
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.2+cbe9176f3a
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.1+730711c63a
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+6a2618f53a
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.0+ffb68a873a
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.1+6a2618f53a
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+6a2618f53a
fabric-models-v0: Fabric Models (v0) 0.2.0+cbe9176f3a
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.0+4358fbc63a
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.7+a03e98793a
fabric-networking-v0: Fabric Networking (v0) 0.3.1+2a4333d33a
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.2+6a2618f53a
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.1+6a2618f53a
fabric-particles-v1: Fabric Particles (v1) 0.2.3+cbe9176f3a
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.3+be155ae23a
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.0+cbe9176f3a
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.3+6a2618f53a
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.2.0+6a2618f53a
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.4+6a2618f53a
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.12+6a2618f53a
fabric-rendering-v0: Fabric Rendering (v0) 1.1.1+6a2618f53a
fabric-rendering-v1: Fabric Rendering (v1) 1.5.0+c26373133a
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.1+0d4d7e343a
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+6a2618f53a
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.3+cbe9176f3a
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.0+e77439c73a
fabric-textures-v0: Fabric Textures (v0) 1.0.5+6a2618f53a
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.5+6a2618f53a
fabricloader: Fabric Loader 0.11.1
java: Java HotSpot(TM) 64-Bit Server VM 8
mcdw: MC Dungeons Weapons 2.5.0
minecraft: Minecraft 1.16.4
reach-entity-attributes: Reach Entity Attribute 1.0.1
Player Count: 1 / 8; [class_3222['littlecattle'/53, l='ServerLevel[Test]', x=-70.12, y=61.40, z=387.20]]
Data Packs: vanilla, Fabric Mods
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fabric'