This commit is contained in:
DaanV2
2021-06-03 14:59:36 +02:00
parent 7639d71232
commit 73edca22ff
2 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.combat_regeneration",
"type": "object",
"title": "Combat Regeneration 1.8.0",
"description": "Gives Regeneration I and removes Mining Fatigue from the mob that kills the Actor`s attack target.",
"additionalProperties": false,
"properties": {
"apply_to_family": {
"type": "boolean",
"default": false,
"description": "Determines if the mob will grant mobs of the same type combat buffs if they kill the target.",
"title": "Apply To Family"
},
"apply_to_self": {
"type": "boolean",
"default": false,
"description": "Determines if the mob will grant itself the combat buffs if it kills the target.",
"title": "Apply To Self"
},
"regeneration_duration": {
"type": "integer",
"default": 5,
"description": "The duration in seconds of Regeneration I added to the mob.",
"title": "Regeneration Duration"
}
}
}

View File

@@ -0,0 +1,36 @@
{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.drying_out_timer",
"type": "object",
"title": "Drying Out Timer 1.8.0",
"description": "Adds a timer for drying out that will count down and fire `dried_out_event` or will stop as soon as the entity will get under rain or water and fire `stopped_drying_out_event`",
"additionalProperties": false,
"properties": {
"dried_out_event": {
"$ref": "../types/event.json",
"description": "Event to fire when the drying out time runs out.",
"title": "dried out event"
},
"recover_after_dried_out_event": {
"$ref": "../types/event.json",
"description": "Event to fire when entity was already dried out but received increase in water supply.",
"title": "recover after dried out event"
},
"stopped_drying_out_event": {
"$ref": "../types/event.json",
"description": "Event to fire when entity stopped drying out, for example got into water or under rain.",
"title": "stopped drying out event"
},
"total_time": {
"type": "number",
"default": 0,
"description": "Amount of time in seconds to dry out fully.",
"title": "total time"
},
"water_bottle_refill_time": {
"type": "number",
"default": 0,
"description": "Optional amount of additional time in seconds given by using splash water bottle on entity.",
"title": "water bottle refill time"
}
}
}