最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

我的世界,諸葛連弩,制作教程

2023-05-24 23:04 作者:能歌擅武  | 我要投稿

諸葛連弩[偽槍械]

[6個積分榜,聊天框輸入即可]

/scoreboard objectives add 連弩 dummy

/scoreboard objectives add 彈藥 dummy

/scoreboard objectives add 清理 dummy

/scoreboard objectives add 傷害 dummy

/scoreboard objectives add 傷害a dummy

/scoreboard objectives add 換彈 dummy

–––––––––劃分線–––––––––

?重要部分[推薦觀看教學視頻講解]


[獲得特殊值的弩]

/give @s crossbow 1 464 {"item_lock":{"mode":"lock_in_slot"}}


[儲存一個結(jié)構(gòu),打開保存實體,關閉保存方塊] 儲存名稱 :連弩


[給特殊值的弩附魔穿透]

/enchant @s piercing 3


–––––––––劃分線–––––––––

[第一個循環(huán),其他的全部連鎖無條件,常開,0延遲]?

tag @r[scores={彈藥=1..}] add 檢測連弩


clear @a[tag=檢測連弩] crossbow 464 0


[次條有條件]?

tag @a[tag=檢測連弩] remove 檢測連弩


execute @a[tag=檢測連弩] ~~~ structure load 連弩 ^^0.06^-0.1


tag @a remove 檢測連弩


scoreboard players add @a 彈藥 0


scoreboard players add @a 彈藥 0


scoreboard players add @e 連弩 0


scoreboard players add @a 換彈 0


execute @a[scores={彈藥=1..},hasitem={item=crossbow,location=slot.weapon.mainhand},tag=連弩a] ~~~ execute @e[type=minecraft:arrow,r=1.7] ~~~ scoreboard players add @s 清理 0


scoreboard players add @e[type=minecraft:arrow,scores={清理=0..}] 清理 1


execute @e[type=minecraft:arrow] ~~~ scoreboard players add @s 傷害 0


execute @e[type=minecraft:arrow,scores={清理=1}] ~~~ scoreboard players set @p[r=1.7,scores={彈藥=1..},hasitem={item=crossbow,location=slot.weapon.mainhand},tag=連弩a] 連弩 3


execute @a[scores={傷害=1..,連弩=3,彈藥=1..},tag=連弩a,hasitem={item=crossbow,location=slot.weapon.mainhand}] ~~~ scoreboard players operation @e[type=minecraft:arrow,scores={傷害=0},r=1.7] 傷害=@s 傷害


execute @a[scores={連弩=3,彈藥=2..}] ~~~ clear @s crossbow 464 64


execute @a[scores={連弩=3,彈藥=1..}] ~~~ scoreboard players remove @s 彈藥 1


execute @a[scores={連弩=3,彈藥=1..}] ~~~ structure load 連弩 ^^0.06^-0.1


execute @a[scores={連弩=3,彈藥=1..}] ~~~ playsound mob.zombie.woodbreak @a[r=30] ~~~ 1 2


execute @e[type=minecraft:arrow,scores={傷害=1..}] ~~-1.5~ scoreboard players operation @e[r=2,c=1,type=!item,type=!minecraft:arrow,scores={連弩=!1..}] 傷害a=@s 傷害


execute @e[scores={傷害a=1..}] ~~1.5~ scoreboard players set @e[r=2,c=1,type=minecraft:arrow] 清理 20


execute @a[scores={連弩=1..}] ~~~ scoreboard players remove @s 連弩 1


execute @e[scores={傷害a=120..}] ~~~ damage @s 120 projectile entity @p


execute @e[scores={傷害a=120..}] ~~~ scoreboard players remove @s 傷害a 120


execute @e[scores={傷害a=60..}] ~~~ damage @s 60 projectile entity @p


execute @e[scores={傷害a=60..}] ~~~ scoreboard players remove @s 傷害a 60


execute @e[scores={傷害a=30..}] ~~~ damage @s 30 projectile entity @p


execute @e[scores={傷害a=30..}] ~~~ scoreboard players remove @s 傷害a 30


execute @e[scores={傷害a=16..}] ~~~ damage @s 16 projectile entity @p


execute @e[scores={傷害a=16..}] ~~~ scoreboard players remove @s 傷害a 16


execute @e[scores={傷害a=8..}] ~~~ damage @s 8 projectile entity @p


execute @e[scores={傷害a=8..}] ~~~ scoreboard players remove @s 傷害a 8


execute @e[scores={傷害a=4..}] ~~~ damage @s 4 projectile entity @p


execute @e[scores={傷害a=4..}] ~~~ scoreboard players remove @s 傷害a 4


execute @e[scores={傷害a=2..}] ~~~ damage @s 2 projectile entity @p


execute @e[scores={傷害a=2..}] ~~~ scoreboard players remove @s 傷害a 2


execute @e[scores={傷害a=1..}] ~~~ damage @s 1 projectile entity @p


execute @e[scores={傷害a=1..}] ~~~ scoreboard players remove @s 傷害a 1


kill @e[type=minecraft:arrow,scores={清理=20..}]


scoreboard players add @a[hasitem={item=heart_of_the_sea,quantity=1..,location=slot.hotbar}] 傷害 3


tellraw @a[hasitem={item=heart_of_the_sea,quantity=1..,location=slot.hotbar}] {"rawtext":[{"text":"§l§o§b弩§c傷害+3"}]}


clear @a[hasitem={item=heart_of_the_sea,quantity=1..,location=slot.hotbar}] heart_of_the_sea 0 1


scoreboard players set @a[scores={彈藥=!50..,換彈=0},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] 換彈 101


scoreboard players remove @a[scores={換彈=1..},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] 換彈 1


scoreboard players set @a[scores={換彈=2},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] 彈藥 50


execute @a[scores={換彈=2},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] ~~~ playsound armor.equip_gold @a[r=10] ~ ~ ~


execute @a[scores={換彈=2},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] ~~~ clear @s crossbow 464 64


execute @a[scores={換彈=2},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] ~~~ structure load 連弩 ^^0.06^-0.1


scoreboard players remove @a[scores={換彈=1..},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] 換彈 1


clear @a[scores={換彈=1},hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] diamond 0 1


scoreboard players set @a[scores={換彈=1}] 換彈 0


execute @a[hasitem={item=diamond,quantity=1..,location=slot.weapon.mainhand}] ~~~ titleraw @s actionbar {"rawtext":[{"translate":"%%1%%2","with":{"rawtext":[{"translate":"%%7","with":{"rawtext":[{"selector":"@s[scores={換彈=..90}]"},{"selector":"@s[scores={換彈=..70}]"},{"selector":"@s[scores={換彈=..50}]"},{"selector":"@s[scores={換彈=..30}]"},{"selector":"@s[scores={換彈=..10}]"},{"selector":"@s[scores={換彈=0}]"},{"text":"§l§o§f ▅▅▅▅▅§r"},{"text":"§l§o§d ▅▅▅▅▅§r"},{"text":"§l§o§d ▅▅▅▅§f▅§r"},{"text":"§l§o§d ▅▅▅§f▅▅§r"},{"text":"§l§o§d ▅▅§f▅▅▅§r"},{"text":"§l§o§d ▅§f▅▅▅▅§r"},{"text":"§l§o§f ▅▅▅▅▅§r"}]}},{"text":"\n§c[§b正在填充彈藥§c]§r"}]}}]}


execute @a[tag=連弩a,hasitem={item=crossbow,location=slot.weapon.mainhand},scores={彈藥=1..}] ~ ~ ~ titleraw @s actionbar {"rawtext":[{"text":"§l§o§b彈藥§c剩余§r:"},{"score":{"name":"@s","objective":"彈藥"}},{"text":"\n§l§o§b連弩§c傷害§r:"},{"score":{"name":"@s","objective":"傷害"}},{"text":"§r"}]}


execute @a[hasitem={item=crossbow,location=slot.weapon.mainhand},scores={彈藥=0},tag=連弩a] ~~~ title @s actionbar §l§o§c彈藥不足


tag @a[tag=連弩a] remove 連弩a


tag @a[hasitem={item=crossbow,location=slot.weapon.mainhand}] add 連弩a


execute @a[scores={彈藥=0}] ~~~ clear @s crossbow 464 64

我的世界,諸葛連弩,制作教程的評論 (共 條)

分享到微博請遵守國家法律
吉水县| 开鲁县| 龙井市| 永顺县| 富平县| 禄丰县| 织金县| 浦北县| 聊城市| 灵璧县| 工布江达县| 岳普湖县| 铁岭市| 海阳市| 武隆县| 鄄城县| 敦化市| 巨野县| 凌海市| 柳林县| 辽宁省| 宁晋县| 高平市| 宝丰县| 崇仁县| 彭州市| 韶山市| 黑河市| 洪洞县| 建昌县| 太湖县| 苍溪县| 正阳县| 民乐县| 马鞍山市| 桦甸市| 新宾| 南靖县| 岢岚县| 乃东县| 怀柔区|