Updated damage sources

This commit is contained in:
DaanV2
2021-03-11 11:53:21 +01:00
parent 88f445f7a8
commit 2a815a59d1
8 changed files with 14 additions and 188 deletions

View File

@@ -13,34 +13,7 @@
"default": "none",
"description": "Type of damage that triggers the events.",
"title": "Cause",
"enum": [
"all",
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fata",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"lightning",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"thorns",
"void",
"wither"
]
"$ref": "../../../../general/entity/damage_source.json"
},
"damage_multiplier": {
"type": "number",

View File

@@ -23,32 +23,7 @@
"type": "string",
"description": "TODO",
"title": "Cause",
"enum": [
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"thorns",
"void",
"wither"
]
"$ref": "../../../../general/entity/damage_source.json"
}
}
}

View File

@@ -13,35 +13,7 @@
"default": "none",
"description": "Type of damage that triggers the events.",
"title": "Cause",
"enum": [
"all",
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"entity_attack",
"fall",
"falling_block",
"fata",
"fire",
"fire_tick",
"fly_into_wall",
"lightning",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"thorns",
"void",
"wither"
]
"$ref": "../../../../general/entity/damage_source.json"
},
"damage_multiplier": {
"type": "number",

View File

@@ -23,33 +23,7 @@
"type": "string",
"title": "Cause",
"description": "Damage cause",
"enum": [
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"temperature",
"thorns",
"void",
"wither"
]
"$ref": "../../../../general/entity/damage_source.json"
},
"damage_per_tick": {
"type": "integer",

View File

@@ -23,32 +23,7 @@
"type": "string",
"description": "TODO",
"title": "Cause",
"enum": [
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"thorns",
"void",
"wither"
]
"$ref": "../../../../general/entity/damage_source.json"
}
}
}

View File

@@ -23,32 +23,7 @@
"type": "string",
"title": "Cause",
"description": "Damage cause",
"enum": [
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"thorns",
"void",
"wither"
]
"$ref": "../../../../general/entity/damage_source.json"
},
"damage_per_tick": {
"type": "integer",

View File

@@ -16,32 +16,7 @@
"value": {
"type": "string",
"description": "The Damage type to test",
"enum": [
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"starve",
"suffocation",
"suicide",
"thorns",
"void",
"withe"
],
"$ref": "../../../../general/entity/damage_source.json",
"title": "Value"
}
}

View File

@@ -0,0 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Entity Damage Source",
"description": "The types of damage an entity can receive",
"type": "string",
"$ref": "../../../../general/entity/damage_source.json"
}