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

34 lines
1.5 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.boostable",
2020-11-01 17:22:42 +01:00
"type": "object",
"title": "Boostable 1.16.0",
"additionalProperties": false,
"description": "Defines the conditions and behavior of a rideable entity's boost",
"required": [],
"properties": {
2021-03-21 15:18:38 +01:00
"duration": { "type": "number", "default": 3, "description": "Time in seconds for the boost.", "title": "Duration" },
2020-11-01 17:22:42 +01: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.",
2021-03-21 15:18:38 +01:00
"title": "Speed Multiplier"
2020-11-01 17:22:42 +01:00
},
"boost_items": {
"type": "array",
"description": "List of items that can be used to boost while riding this entity",
2021-03-21 15:18:38 +01:00
"title": "Boost Items",
2020-11-01 17:22:42 +01:00
"items": {
"type": "object",
"additionalProperties": false,
"description": "List of items that can be used to boost while riding this entity.",
"properties": {
2021-03-21 15:18:38 +01:00
"damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used.", "title": "Damage" },
"item": { "type": "string", "default": "", "description": "Name of the item that can be used to boost.", "title": "Item" },
"replace_item": { "type": "string", "default": "", "description": "The item used to boost will become this item once it is used up.", "title": "Replace Item" }
2020-11-01 17:22:42 +01:00
}
}
}
}
}