Updated damage sources
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
7
source/general/entity/damage_source.json
Normal file
7
source/general/entity/damage_source.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user