大家好,我是星河小官微
今天给大家带来一个ooc
《飞鞋v2.0》
自制命令方块模组ooc
适用版本:Minecraft 1.11-1.12
模组特性概览
◇合成方法:一组羽毛(64个) 一双铁靴子
ps:一本名字叫 飞行 的附魔书(通过铁砧改名),丢出来!丢一起!
◆飞行方法:已经写在鞋子上了,潜行键(shift) 跳跃键起飞。
版本更新
◇配方调整:羽毛由 20 个调整为 64 个。
◇新增特性:击退免疫。
◇移除特性:无限耐久。
◇加入了 跳跃键 起飞,现在不会影响某些需要 潜行键 的操作了。
◇优化了摔落保护机制。
◇重新设计了装备描述,使之更加美观。
◆与之前的版本互不影响,可以同时使用。
效果图
本模组全部指令一览,有兴趣的小伙伴可以看看
/scoreboard objectives add faa stat.sneakTime 飞行蓄力
/scoreboard objectives add fab dummy 飞行
/scoreboard objectives add fac dummy 飞鞋合成
/scoreboard objectives add fad stat.jump 起飞
/scoreboard players set @a[score_faa_min=3,score_fad_min=1] fab 3 {Inventory:[{Slot:100b,tag:{CustomFLY:1b}}]}
/scoreboard players set @a[score_faa_min=3] faa 2
/scoreboard players set @a[score_fad_min=1] fad 0 {OnGround:1b}
/effect @a[score_fab_min=3,score_fab=3] 25 2 5 true
/effect @a[score_fab_min=1,score_fab=1] 25 0
/effect @a[score_fab_min=0,score_fab=0] 25 5 254 true
/scoreboard players set @a[score_fab_min=0,score_fab=0] faa 0
/effect @a[score_faa_min=1,score_faa=1] 25 0
/scoreboard players remove @a[score_fab_min=-99,score_fab=3] fab 1
/execute @a[score_fab_min=-99,score_fab=3] ~ ~ ~ particle cloud ~ ~-0.4 ~ 0.3 0.1 0.3 0 2
/effect @a[score_fab_min=-99,score_fab=3] 8 2 255 true
/scoreboard players set @e[type=item] fac 1 {Item:{id:"minecraft:iron_boots",Count:1b},OnGround:1b}
/scoreboard players set @e[type=item] fac 2 {Item:{id:"minecraft:feather",Count:64b},OnGround:1b}
/scoreboard players set @e[type=item] fac 3 {Item:{id:"minecraft:enchanted_book",Count:1b,tag:{display:{Name:"飞行"}}},OnGround:1b}
/execute @e[type=item,score_fac_min=1,score_fac=1] ~ ~ ~ execute @e[r=1,type=item,score_fac_min=2,score_fac=2] ~ ~ ~ execute @e[r=1,type=item,score_fac_min=3,score_fac=3] ~ ~ ~ particle cloud ~ ~ ~ 0 0 0 1 500
/execute @e[type=item,score_fac_min=1,score_fac=1] ~ ~ ~ execute @e[r=1,type=item,score_fac_min=2,score_fac=2] ~ ~ ~ execute @e[r=1,type=item,score_fac_min=3,score_fac=3] ~ ~ ~ summon item ~ ~ ~ {Item:{id:"minecraft:chainmail_boots",Count:1b,tag:{AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"K",Amount:1.0d,Operation:0,UUIDLeast:9l,UUIDMost:9l,Slot:"feet"}],ench:[{id:8,lvl:3}],CustomFLY:1b}}}
/execute @e[type=item,score_fac_min=1,score_fac=1] ~ ~ ~ execute @e[r=1,type=item,score_fac_min=2,score_fac=2] ~ ~ ~ execute @e[r=1,type=item,score_fac_min=3,score_fac=3] ~ ~ ~ kill @e[r=3,type=item,score_fac_min=1,score_fac=3]
Copyright © 2024 妖气游戏网 www.17u1u.com All Rights Reserved