1. Wiki
  2. /Entities
  3. /minecraft:boostable

minecraft:boostable

Don't want to write this by hand? GodCraft sets minecraft:boostable for you with a switch.Get GodCraft

Overview

minecraft:boostable is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets a rider speed up a mount by using an item, like a carrot on a stick for pigs.

Fields

FieldTypeDefaultDescription
boost_itemsListnoneItems that give a boost while riding, with how much durability each use costs and what item it turns into when used up.
durationDecimal"3.00"How long one boost lasts, in seconds.
speed_multiplierDecimal"1.35"How much faster the mount goes while boosted. 2 means twice as fast.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:boostable": {
    "boost_items": {},
    "duration": "3.00",
    "speed_multiplier": "1.35"
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more