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

minecraft:addrider

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

Overview

minecraft:addrider is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Spawns other entities already riding this one when it appears, like a chicken jockey. The entity also needs minecraft:rideable with enough seats.

Fields

FieldTypeDefaultDescription
ridersRider Data[]noneThe entities to spawn as passengers. Only as many as the seat count of minecraft:rideable will fit.

Example

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

BP/entities/<name>.json
{
  "minecraft:addrider": {
    "riders": []
  }
}

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