Pular para o conteúdo principal

Travel Objectives

Track how far a player travels using various methods.

Configuration

travel_distance_objective

Tracks distance traveled in blocks. amountInt

Distance required (in blocks). travelTypeTravelType

Method of travel.

  • WALK, SWIM, FLY, BOAT, HORSE, PIG, MINECART, ANY. onCompleteTriggerableEntry

Action sequence on completion.

Example

travel_distance_objective:
amount: 42000
travelType: WALK
onComplete:
- message_action:
message: "<gold>You ran a marathon!"