Skip to content

Commit

Permalink
Update damage_source.json
Browse files Browse the repository at this point in the history
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.

This commit aims to resolve Blockception#185. Please refer to the damage sensor documentation here: https://github.com/MicrosoftDocs/minecraft-creator/blob/main/creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_damage_sensor.md
  • Loading branch information
r4isen1920 committed Nov 14, 2023
1 parent 31b6ea9 commit 1bbdb01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/general/entity/damage_source.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"enum": [
"all",
"anvil",
"attack",
"block_explosion",
"campfire",
"charging",
"contact",
"drowning",
Expand All @@ -15,8 +15,8 @@
"fall",
"falling_block",
"fatal",
"fire_tick",
"fire",
"fire_tick",
"fireworks",
"fly_into_wall",
"freezing",
Expand All @@ -28,7 +28,9 @@
"override",
"piston",
"projectile",
"ram_attack",
"sonic_boom",
"soul_campfire",
"stalactite",
"stalagmite",
"starve",
Expand Down

0 comments on commit 1bbdb01

Please sign in to comment.