Skip to main content

Tasks

Structure

tasks.yml
get_diamonds:
type: block_break
conditions:
- materials:
- DIAMOND_ORE
type: block
rewards:
- guild_xp:100

Description of the task structure:

  • get_diamonds: The name of the task.
  • type: The type of task, check the task types page for more information.
  • conditions: A list of conditions that must be met for the task to be completed. Check the conditions page for more information.
  • rewards: A list of rewards that will be given to the player when the task is completed. Check the rewards page for more information.

Types

Below is a list of all task types that can be used in the type field of a task.

TypeDescription
block_breakBreak a block.
block_placePlace a block.
entity_killKill an entity.
item_pickupPick up an item.
item_craftCraft an item.
fishingFish a fish.
achievementComplete an achievement.
enchant_itemEnchant an item.
biome_enterEnter a biome.
potion_consumeConsume a potion.
entity_damageDamage an entity.
entity_shootShoot an entity.
item_dropDrop an item.