Break Customblock Objective
An objective to break blocks
Campos
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
quest | Ref<QuestEntry> | — | — |
fact | Ref<CachableFactEntry> | — | — |
item | Var<String> | — | The custom block ID that the player needs to break (e.g., 'namespace:block_id'). |
amount | Var<Int> | 1 | The amount of blocks to break. |
display | Var<String> | — | — |
onComplete | Ref<TriggerableEntry> | — | — |
Campos comunes de TypeWriter (criteria, children, priorityOverride)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
children | List<Ref<AudienceEntry>> | empty | — |
priorityOverride | Optional<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.