Skip to content

Add support for all axe types #24

@Moggla

Description

@Moggla

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions