- #scoreboard objectives add cpp_break_log stat.mineBlock.minecraft.log
- execute @a[score_cpp_break_log_min=1] ~ ~ ~ execute @e[type=item,r=5] ~ ~ ~ summon minecraft:armor_stand ~ ~1 ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe1"]}
- scoreboard players set @a cpp_break_log 0
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ log -1 summon armor_stand ~ ~ ~1 {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ log -1 summon armor_stand ~ ~ ~-1 {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ log -1 summon armor_stand ~ ~1 ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ log -1 summon armor_stand ~1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ log -1 summon armor_stand ~-1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ log -1 setblock ~ ~ ~ air 0 destroy
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ leaves -1 summon armor_stand ~ ~ ~1 {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ leaves -1 summon armor_stand ~ ~ ~-1 {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ leaves -1 summon armor_stand ~ ~1 ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ leaves -1 summon armor_stand ~1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ leaves -1 summon armor_stand ~-1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:["cpp_axe2"]}
- execute @e[tag=cpp_axe1] ~ ~ ~ detect ~ ~ ~ leaves -1 setblock ~ ~ ~ air 0 destroy
- kill @e[tag=cpp_axe1]
- entitydata @e[tag=cpp_axe2] {Tags:["cpp_axe1"]}
弄了个function版本的
ruhuasiyu 发表于 2017-11-18 14:43
弄了个function版本的
好像以前也有人弄过这样的……反正我这个是1.8的(别说我是水笔)
原理很简单,但是判断什么是树就非常非常蛋疼了。谁都不希望修房子用原木的时候放错一块,一砍就把自己屋子拆了一半。不知道快速砍树模组是怎么判断一棵树的。
840196733mw 发表于 2018-3-27 17:59
原理很简单,但是判断什么是树就非常非常蛋疼了。谁都不希望修房子用原木的时候放错一块,一砍就把自己屋子 ...
然而你要用1.8老版本实践起来并非像想象中那样容易
前面我已经说过具体原因啦
额呵呵
楼主图炸了
天狼星black 发表于 2017-11-11 20:14
你这样说是挺简单,我一开始就是这么想的(不然我费那么多功夫干嘛),理由如下:
1、execute 不能在1.8 ...
呃……掉落物id其实可以用选择器name=item.itemxxxxx,type=item解决的……
对不起挖坟了
m050131 发表于 2018-7-14 12:43
呃……掉落物id其实可以用选择器name=item.itemxxxxx,type=item解决的……
对不起挖坟了 ...
有意义的回帖不算挖坟(看版规)
1.8做不到这个操作
万能的盔甲架
谢谢谢谢谢谢楼主