This commit is contained in:
DaanV2
2021-04-04 13:52:35 +02:00
parent f23e8aae6b
commit 75bd662053
952 changed files with 1050 additions and 1026 deletions

View File

@@ -0,0 +1,46 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.celebrate",
"type": "object",
"title": "Celebrate 1.8.0",
"description": "This allows the mob celebrate by jumping up and playing a sound periodically.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" },
"duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" },
"jump_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump Interval",
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{ "type": "number" }
]
},
"on_celebration_end_event": { "$ref": "../types/trigger.json", "description": "The event to trigger when the goal's duration expires.", "title": "On Celebration End Event" },
"sound_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{ "type": "number" }
]
}
}
}