Перейти к основному содержимому

Break Customblock Objective

An objective to break blocks

Поля

ПолеТипПо умолчаниюОписание
questRef<QuestEntry>——
factRef<CachableFactEntry>——
itemVar<String>—The custom block ID that the player needs to break (e.g., 'namespace:block_id').
amountVar<Int>1The amount of blocks to break.
displayVar<String>——
onCompleteRef<TriggerableEntry>——
Общие поля TypeWriter (criteria, children, priorityOverride)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—
childrenList<Ref<AudienceEntry>>empty—
priorityOverrideOptional<Int>——

How to use it​

Fill item with the namespaced id of the block (my_pack:ruby_ore); leave it empty to count any custom block. quest must be a quest the player has active, and fact stores the progress, so create one first. display is the tracker line, to which (current/required) is added. onComplete runs once when amount is reached. Each block position counts once per player. The place, furniture break and furniture place objectives work the same way.