GoTo

Docs Behaviors

Effect

Moves toward a given position on the map


Attributes

  • speed (double, default 1)
  • x (double, default 0)
  • y (double, default 0)
  • once (bool, default false): Only moves during the state it's in
  • instant (bool, default false): Teleports to the given coordinates
  • onMap (bool, default false): If set false, position is relative to the entity, if set true it will be the position on the map

Examples

<Behavior speed="1" x="-6" y="-3" once="true" instant="true" onMap="false">GoTo</Behavior>