Ride constructor

Ride(
  1. Entity entity,
  2. Entity vehicle
)

Makes one entity ride another.

Ride(Entity.Self(), Entity(type: Entities.minecart, limit:1))
⇒ ride @s mount @e[limit=1,type=minecraft:minecart]

Implementation

Ride(
  /// target entity
  this.entity,

  /// vehicle entity, eg. boat, minecart, animal
  Entity this.vehicle,
);