From 61164765508bfab8869f6726ef50d3afb8c0f08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=82=BC=E3=83=B31920?= <43404913+r4isen1920@users.noreply.github.com> Date: Thu, 16 Nov 2023 04:41:51 +0800 Subject: [PATCH] Update minecraft:damage_sensor damage sources (#194) * Update damage_source.json The list of damage sources have been updated and added new possible damage sources. Damage source `attack` has been deprecated going forward and has been split into two, namely: `entity_attack` and `entity_explosion`. Damage source `fatal` has also been deprecated in newer format/`min_engine` versions, and has caused content log errors upon testing. But will remain for backwards compatibility. --- source/general/entity/damage_source.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/general/entity/damage_source.json b/source/general/entity/damage_source.json index b517d7679..62f80a0b6 100644 --- a/source/general/entity/damage_source.json +++ b/source/general/entity/damage_source.json @@ -5,8 +5,8 @@ "enum": [ "all", "anvil", - "attack", "block_explosion", + "campfire", "charging", "contact", "drowning", @@ -15,8 +15,8 @@ "fall", "falling_block", "fatal", - "fire_tick", "fire", + "fire_tick", "fireworks", "fly_into_wall", "freezing", @@ -28,7 +28,9 @@ "override", "piston", "projectile", + "ram_attack", "sonic_boom", + "soul_campfire", "stalactite", "stalagmite", "starve",