Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- only works with diamond axe
- without commandblocks:
- /scoreboard objectives add chopped dummy
- /scoreboard objectives add axe dummy
- ® = repeating
- © = chain
- ®/scoreboard players set @a axe 1 {SelectedItem:{id:minecraft:diamond_axe}}
- ©/scoreboard players set @e[type=Item] chopped 1 {Item:{id:"minecraft:log"}}
- ©/execute @e[score_chopped_min=1] ~ ~ ~ detect ~ ~1 ~ minecraft:log 0 /setblock ~ ~1 ~ air 0 destroy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement