feat: add damage cause enum
This commit is contained in:
@@ -56,5 +56,8 @@
|
|||||||
},
|
},
|
||||||
"tile_entity_type": {
|
"tile_entity_type": {
|
||||||
"typename": "TileEntityType"
|
"typename": "TileEntityType"
|
||||||
|
},
|
||||||
|
"damage_cause": {
|
||||||
|
"typename": "DamageCause"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -167,6 +167,33 @@
|
|||||||
"italic": "\u0432\u00a7o",
|
"italic": "\u0432\u00a7o",
|
||||||
"reset": "\u0432\u00a7r"
|
"reset": "\u0432\u00a7r"
|
||||||
},
|
},
|
||||||
|
"damage_cause": {
|
||||||
|
"generic": 0,
|
||||||
|
"cactus": 1,
|
||||||
|
"mob": 2,
|
||||||
|
"impact": 3,
|
||||||
|
"in_wall": 4,
|
||||||
|
"fall": 5,
|
||||||
|
"in_fire": 6,
|
||||||
|
"on_fire": 7,
|
||||||
|
"lava": 8,
|
||||||
|
"drown": 9,
|
||||||
|
"explosion": 10,
|
||||||
|
"mob_explosion": 11,
|
||||||
|
"out_of_world": 12,
|
||||||
|
"command": 13,
|
||||||
|
"magic": 14,
|
||||||
|
"wither": 15,
|
||||||
|
"starve": 16,
|
||||||
|
"anvil": 17,
|
||||||
|
"thorns": 18,
|
||||||
|
"projectile": 19,
|
||||||
|
"falling_block": 20,
|
||||||
|
"fly_into_wall": 21,
|
||||||
|
"magma": 22,
|
||||||
|
"fireworks": 23,
|
||||||
|
"lightning_bolt": 24
|
||||||
|
},
|
||||||
"dimension": {
|
"dimension": {
|
||||||
"normal": 0,
|
"normal": 0,
|
||||||
"overworld": 0,
|
"overworld": 0,
|
||||||
|
|||||||
@@ -168,6 +168,33 @@
|
|||||||
"italic": "\u0432\u00a7o",
|
"italic": "\u0432\u00a7o",
|
||||||
"reset": "\u0432\u00a7r"
|
"reset": "\u0432\u00a7r"
|
||||||
},
|
},
|
||||||
|
"damage_cause": {
|
||||||
|
"generic": 0,
|
||||||
|
"cactus": 1,
|
||||||
|
"mob": 2,
|
||||||
|
"impact": 3,
|
||||||
|
"in_wall": 4,
|
||||||
|
"fall": 5,
|
||||||
|
"in_fire": 6,
|
||||||
|
"on_fire": 7,
|
||||||
|
"lava": 8,
|
||||||
|
"drown": 9,
|
||||||
|
"explosion": 10,
|
||||||
|
"mob_explosion": 11,
|
||||||
|
"out_of_world": 12,
|
||||||
|
"command": 13,
|
||||||
|
"magic": 14,
|
||||||
|
"wither": 15,
|
||||||
|
"starve": 16,
|
||||||
|
"anvil": 17,
|
||||||
|
"thorns": 18,
|
||||||
|
"projectile": 19,
|
||||||
|
"falling_block": 20,
|
||||||
|
"fly_into_wall": 21,
|
||||||
|
"magma": 22,
|
||||||
|
"fireworks": 23,
|
||||||
|
"lightning_bolt": 24
|
||||||
|
},
|
||||||
"dimension": {
|
"dimension": {
|
||||||
"normal": 0,
|
"normal": 0,
|
||||||
"overworld": 0,
|
"overworld": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user