Defines the conditions and behavior of a rideable entity's boost.
Boostable Properties
| Name |
Default Value |
Type |
Description |
Example Values |
| boost_items |
not set |
Boost Items item |
List of items that can be used to boost while riding this entity. |
Pig: [{"item":"carrotOnAStick","damage":2,"replace_item":"fishing_rod"}], Strider: [{"item":"warped_fungus_on_a_stick","damage":1,"replace_item":"fishing_rod"}] |
| duration |
3 |
Decimal number |
Time in seconds for the boost. |
Pig: 3, Strider: 16 |
| speed_multiplier |
1 |
Decimal number |
Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast. |
Pig: 1.35 |
Boost Items
Boost Items Properties
| Name |
Default Value |
Type |
Description |
Example Values |
| damage |
not set |
Array of strings |
This is the damage that the item will take each time it is used. |
|
| item |
not set |
String |
Name of the item that can be used to boost. |
|
| replace_item |
not set |
String |
The item used to boost will become this item once it is used up. |
|
Samples
"minecraft:boostable": {
"speed_multiplier": 1.35,
"duration": 3,
"boost_items": [
{
"item": "carrotOnAStick",
"damage": 2,
"replace_item": "fishing_rod"
}
]
}
"minecraft:boostable": {
"speed_multiplier": 1.35,
"duration": 16,
"boost_items": [
{
"item": "warped_fungus_on_a_stick",
"damage": 1,
"replace_item": "fishing_rod"
}
]
}