Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/boostable.json

59 lines
1.7 KiB
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.boostable",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Boostable",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
2022-07-22 19:41:04 +02:00
"description": "Defines the conditions and behavior of a rideable entity's boost.",
2021-10-08 12:59:03 +02:00
"properties": {
2021-10-11 18:10:42 +02:00
"duration": {
"type": "number",
"default": 3,
"description": "Time in seconds for the boost.",
"title": "Duration"
},
2021-10-08 12:59:03 +02:00
"speed_multiplier": {
"type": "number",
"default": 1,
"description": "Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast.",
"title": "Speed Multiplier"
},
"boost_items": {
"type": "array",
2022-07-22 19:41:04 +02:00
"description": "List of items that can be used to boost while riding this entity.",
2021-10-08 12:59:03 +02:00
"title": "Boost Items",
"items": {
"type": "object",
"additionalProperties": false,
"description": "List of items that can be used to boost while riding this entity.",
"properties": {
"damage": {
"type": "integer",
"default": 1,
"description": "This is the damage that the item will take each time it is used.",
"title": "Damage"
},
2021-10-11 18:10:42 +02:00
"item": {
"type": "string",
"default": "",
"description": "Name of the item that can be used to boost.",
"title": "Item"
},
2021-10-08 12:59:03 +02:00
"replace_item": {
"type": "string",
"default": "",
"description": "The item used to boost will become this item once it is used up.",
"title": "Replace Item"
}
}
}
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"duration": 3,
"speed_multiplier": 1,
"boost_items": []
}
]
2021-10-08 12:59:03 +02:00
}