Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the conditions and behavior of a rideable entity's boost.
Boostable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| boost_items | not set | Array of Boost Items items | 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
JSON path: boost_items
| Name | Default Value | Type | Description |
|---|---|---|---|
| damage | not set | Integer number | 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
Pig
"minecraft:boostable": {
"speed_multiplier": 1.35,
"duration": 3,
"boost_items": [
{
"item": "carrotOnAStick",
"damage": 2,
"replace_item": "fishing_rod"
}
]
}
Strider
"minecraft:boostable": {
"speed_multiplier": 1.35,
"duration": 16,
"boost_items": [
{
"item": "warped_fungus_on_a_stick",
"damage": 1,
"replace_item": "fishing_rod"
}
]
}