Support for all types in #minecraft:axes would be great.
Sadly, it is still not possible to detect them.
Currently scoreboard objectives add timber_<type>_axe minecraft.used:minecraft.<type>_axe is used to detect each axe type manually and then check that the broken block is in #minecraft:logs.
These possibilities have been considered:
/scoreboard objectives add timber_<block>_mined minecraft.mined:minecraft:<block>: Hardcoding every log is worse than hardcoding axes. Sadly there is no support for tag e.g. #minecraft:logs.
- Using the triggers
minecraft:item_used_on_block or minecraft:using_item in advancements don't detect mined block, they only detect for example the trimming of logs.
- Using the trigger
minecraft:item_durability_changed seems perfect, but sadly the unbreaking enchantment prevents the detections sometimes.
Support for all types in
#minecraft:axeswould be great.Sadly, it is still not possible to detect them.
Currently
scoreboard objectives add timber_<type>_axe minecraft.used:minecraft.<type>_axeis used to detect each axe type manually and then check that the broken block is in#minecraft:logs.These possibilities have been considered:
/scoreboard objectives add timber_<block>_mined minecraft.mined:minecraft:<block>: Hardcoding every log is worse than hardcoding axes. Sadly there is no support for tag e.g.#minecraft:logs.minecraft:item_used_on_blockorminecraft:using_itemin advancements don't detect mined block, they only detect for example the trimming of logs.minecraft:item_durability_changedseems perfect, but sadly the unbreaking enchantment prevents the detections sometimes.