Added celebrate_survive & move_outdoors

This commit is contained in:
DaanV2
2022-02-09 13:49:31 +01:00
parent 801f7ee6d9
commit 511e12c371
4 changed files with 109 additions and 48 deletions

View File

@@ -0,0 +1,27 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.celebrate_survive",
"additionalProperties": false,
"type": "object",
"title": "Celebrate Survive",
"$comment": "UNDOCUMENTED",
"description": "UNDOCUMENTED",
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"fireworks_interval": {
"title": "Fireworks Interval",
"$ref": "../types/range_number_type.json",
"description": "The interval in ticks between playing the fireworks"
},
"duration": {
"title": "Duration",
"description": "The duration in ticks of the celebration",
"type": "number"
},
"on_celebration_end_event": {
"title": "On Celebration End Event",
"description": "The event to fire when the celebration ends",
"$ref": "../types/event.json"
}
}
}

View File

@@ -0,0 +1,17 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.move_outdoors",
"additionalProperties": false,
"type": "object",
"title": "Move Outdoors",
"$comment": "UNDOCUMENTED",
"description": "UNDOCUMENTED",
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"timeout_cooldown": {
"title": "Duration",
"description": "The duration in ticks of the celebration",
"type": "number"
}
}
}

View File

@@ -5,12 +5,8 @@
"title": "Tempt",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/priority.json"
},
"speed_multiplier": {
"$ref": "types/speed_multiplier.json"
},
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"can_get_scared": {
"type": "boolean",
"default": false,
@@ -37,6 +33,27 @@
},
"title": "Items"
},
"sound_interval": {
"description": "The interval in ticks between playing the sound",
"title": "Sound Interval",
"oneOf": [
{
"type": "number",
"minimum": 0
},
{
"items": [
{ "type": "integer", "minimum": 0, "title": "Minimum" },
{ "type": "integer", "minimum": 0, "title": "Maximum" }
]
}
]
},
"tempt_sound": {
"type": "string",
"description": "Sound to play while the mob is being tempted.",
"title": "Tempt Sound"
},
"within_radius": {
"type": "number",
"default": 0,