50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.boostable",
|
|
"type": "object",
|
|
"title": "Boostable 1.8.0",
|
|
"additionalProperties": false,
|
|
"description": "Defines the conditions and behavior of a rideable entity's boost",
|
|
"required": [],
|
|
"properties": {
|
|
"duration": {
|
|
"type": "number",
|
|
"default": 3,
|
|
"description": "Time in seconds for the boost",
|
|
"title": "TODO title"
|
|
},
|
|
"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": "TODO title"
|
|
},
|
|
"boost_items": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"item": {
|
|
"type": "string",
|
|
"$ref": "../../../../general/item/identifier.json",
|
|
"description": "Name of the item that can be used to boost"
|
|
},
|
|
"replaceItem": {
|
|
"type": "string",
|
|
"$ref": "../../../../general/item/identifier.json",
|
|
"description": "The item used to boost will become this item once it is used up"
|
|
}
|
|
}
|
|
},
|
|
"description": "TODO description",
|
|
"title": "TODO title"
|
|
}
|
|
}
|
|
}
|