Objective
Kill ten hostile mobs with an iron sword, then repair the sword at an anvil. Activate the quest before starting.
Ready-to-use configuration
Add the quest to quests/quest-weekly.yml inside config/mcobblepassv2/. Adjust xpGain and points_gain to balance rewards and keep the ID unique.
matar_e_reparar:
display: '&aPost-combat maintenance'
scope: PERSONAL
xpGain: 180
points_gain: 25
description:
- '&7Kill ten hostile mobs with an iron sword, then repair the sword at an anvil.'
trigger_complete: []
objectives:
hostis:
id: kill_entity
description: '&7hostile mobs'
progress: '&7hostile mobs: %progress%/%target%'
type: 'entity_group=hostile,weapon=minecraft:iron_sword'
target: 10
reparo:
id: anvil_use
description: '&7reparo'
progress: '&7reparo: %progress%/%target%'
type: 'item=minecraft:iron_sword,action=repair'
target: 1
Check filters and multiple objectives and the trigger reference.