Zum Hauptinhalt springen

Survival Objectives

Track standard survival milestones and actions.

Objective Library

Configuration

sleep_objective

Sleep in a bed a number of times.

fish_caught_objective

Catch a number of fish.

consume_item_objective

Consume specific items. materialMaterial

The item to eat/drink (e.g. COOKED_BEEF).

level_reach_objective

Reach a specific XP level. levelInt

Target level to reach.

tame_entity_objective

Tame a number of animals.

harvest_crop_objective

Harvest crops. blockMaterial

Crop block type (e.g. WHEAT).

Husbandry

Entry IDDescription
tame_entity_objectiveTame an entity.
dye_entity_objectiveDye an entity.
name_entity_objectiveName an entity with a name tag.
leash_entity_objectiveLeash an entity.
harvest_crop_objectiveHarvest crops.
fertilize_objectiveFertilize plants with bone meal.
pot_flower_objectivePot a flower.

ride_vehicle_objective

Ride a vehicle.

PropertyValue
Entry IDride_vehicle_objective
TypeObjective
ColorBlue Violet
Iconmdi:car
FieldTypeDescription
vehicleTypeEntityType?Type of vehicle to ride. If null, any vehicle counts.

Example

fish_caught_objective:
amount: 20
onComplete:
- give_item_action:
item: FISHING_ROD_LUCK