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

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

我的世界數(shù)據(jù)化教學(xué)

2023-08-03 08:23 作者:能歌擅武  | 我要投稿

數(shù)據(jù)化 攻! 防! 閃! 血! 暴! 暴傷!

[13個(gè)積分板,聊天框輸入]

/scoreboard objectives add 攻 dummy

/scoreboard objectives add 防 dummy

/scoreboard objectives add 閃 dummy

/scoreboard objectives add 血 dummy

/scoreboard objectives add 暴 dummy

/scoreboard objectives add 血a dummy

/scoreboard objectives add 攻a dummy

/scoreboard objectives add 攻b dummy

/scoreboard objectives add 防a dummy

/scoreboard objectives add 閃a dummy

?

/scoreboard objectives add 暴a dummy

?

/scoreboard objectives add 暴b dummy

?

/scoreboard objectives add 亡 dummy

————?jiǎng)澐志€————

[第1個(gè)循環(huán) 其它全部連鎖 長(zhǎng)開(kāi) 無(wú)條件 0延遲]

scoreboard players set @e 攻a 0

scoreboard players set @e 防a 0

scoreboard players set "暴傷" 暴b 100

execute @e ~ ~ ~ scoreboard players operation @s 攻a = @s 攻

execute @e ~ ~ ~ scoreboard players operation @s 防a = @s 防

execute @e ~ ~ ~ scoreboard players operation @s 閃a = @s 閃

execute @e ~ ~ ~ scoreboard players operation @s 暴a = @s 暴


[攻擊值部分]?

scoreboard players add @e 攻 0

execute @e[hasitem={item=wooden_sword,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 50

execute @e[hasitem={item=stone_sword,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 100

①①

execute @e[hasitem={item=golden_sword,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 150

①②

execute @e[hasitem={item=iron_sword,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 200

①③

execute @e[hasitem={item=diamond_sword,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 250

①④

execute @e[hasitem={item=netherite_sword,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 300

①⑤

execute @e[hasitem={item=wooden_axe,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 30

①⑥

execute @e[hasitem={item=stone_axe,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 60

①⑦

execute @e[hasitem={item=golden_axe,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 90

①⑧

execute @e[hasitem={item=iron_axe,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 120

①⑨

execute @e[hasitem={item=diamond_axe,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 150

?

execute @e[hasitem={item=netherite_axe,location=slot.weapon.mainhand}] ~~~ scoreboard players add @s 攻a 180


[防御值部分]?

②①

scoreboard players add @e 防 0

②②

execute @e[hasitem={item=leather_helmet,location=slot.armor.head}] ~~~ scoreboard players add @s 防a 15

②③

execute @e[hasitem={item=leather_chestplate,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 25

②④

execute @e[hasitem={item=leather_leggings,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 20

②⑤

execute @e[hasitem={item=chainmail_helmet,location=slot.armor.head}] ~~~ scoreboard players add @s 防a 20

②⑥

execute @e[hasitem={item=chainmail_chestplate,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 30

②⑦

execute @e[hasitem={item=chainmail_leggings,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 25

②⑧

execute @e[hasitem={item=golden_helmet,location=slot.armor.head}] ~~~ scoreboard players add @s 防a 25

②⑨

execute @e[hasitem={item=golden_chestplate,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 35

③?

execute @e[hasitem={item=golden_leggings,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 30

③①

execute @e[hasitem={item=iron_helmet,location=slot.armor.head}] ~~~ scoreboard players add @s 防a 30

③②

execute @e[hasitem={item=iron_chestplate,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 40

③③

execute @e[hasitem={item=iron_leggings,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 35

③④

execute @e[hasitem={item=diamond_helmet,location=slot.armor.head}] ~~~ scoreboard players add @s 防a 35

③⑤

execute @e[hasitem={item=diamond_chestplate,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 45

③⑥

execute @e[hasitem={item=diamond_leggings,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 40

③⑦

execute @e[hasitem={item=netherite_helmet,location=slot.armor.head}] ~~~ scoreboard players add @s 防a 40

③⑧

execute @e[hasitem={item=netherite_chestplate,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 50

③⑨

execute @e[hasitem={item=netherite_leggings,location=slot.armor.legs}] ~~~ scoreboard players add @s 防a 45


[攻擊升級(jí)部分]?

④?

scoreboard players add @e 攻 0

④①

execute @a[hasitem={item=heart_of_the_sea,location=slot.weapon.mainhand},rx=-88] ~~~ scoreboard players add @s 攻 1

④②

execute @a[hasitem={item=heart_of_the_sea,location=slot.weapon.mainhand},rx=-88] ~~~ tellraw @s {"rawtext":[{"text":"§l§o§c攻擊§f+1"}]}

④③

execute @a[hasitem={item=heart_of_the_sea,location=slot.weapon.mainhand},rx=-88] ~~~ clear @s heart_of_the_sea 0 1


[防御升級(jí)部分]?

④④

scoreboard players add @e 防 0

④⑤

execute @a[hasitem={item=totem_of_undying,location=slot.weapon.mainhand},rx=-88] ~~~ scoreboard players add @s 防 1

④⑥

execute @a[hasitem={item=totem_of_undying,location=slot.weapon.mainhand},rx=-88] ~~~ tellraw @s {"rawtext":[{"text":"§l§o§3防御§f+1"}]}

④⑦

execute @a[hasitem={item=totem_of_undying,location=slot.weapon.mainhand},rx=-88] ~~~ clear @s totem_of_undying 0 1


[閃避升級(jí)部分]?

④⑧

scoreboard players add @e 閃 0

④⑨

execute @a[hasitem={item=amethyst_shard,location=slot.weapon.mainhand},rx=-88] ~~~ scoreboard players add @s 閃 1

⑤?

execute @a[hasitem={item=amethyst_shard,location=slot.weapon.mainhand},rx=-88] ~~~ tellraw @s {"rawtext":[{"text":"§l§o§b閃避§f+1"}]}

⑤①

execute @a[hasitem={item=amethyst_shard,location=slot.weapon.mainhand},rx=-88] ~~~ clear @s amethyst_shard 0 1


[暴擊率升級(jí)部分]?

⑤②

scoreboard players add @e 暴 0

⑤③

execute @a[hasitem={item=nether_star,location=slot.weapon.mainhand},rx=-88] ~~~ scoreboard players add @s 暴 1

⑤④

execute @a[hasitem={item=nether_star,location=slot.weapon.mainhand},rx=-88] ~~~ tellraw @s {"rawtext":[{"text":"§l§o§b暴擊§f+1"}]}

⑤⑤

execute @a[hasitem={item=nether_star,location=slot.weapon.mainhand},rx=-88] ~~~ clear @s nether_star 0 1


[暴擊傷害升級(jí)部分]?

⑤⑥

scoreboard players add @e 暴b 0

⑤⑦

execute @a[hasitem={item=enchanted_golden_apple,location=slot.weapon.mainhand},rx=-88] ~~~ scoreboard players add @s 暴b 1

⑤⑧

execute @a[hasitem={item=enchanted_golden_apple,location=slot.weapon.mainhand},rx=-88] ~~~ tellraw @s {"rawtext":[{"text":"§l§o§a暴擊傷害§f+1"}]}

⑤⑨

execute @a[hasitem={item=enchanted_golden_apple,location=slot.weapon.mainhand},rx=-88] ~~~ clear @s enchanted_golden_apple 0 1


[T顯部分]?

⑥?

execute @a ~ ~ ~ titleraw @s actionbar {"rawtext":[{"text":"§l§l§b◤§r§7---------------------------- §b╢§f狀態(tài)欄§b╟§7 ---------------------------§l§b◥§r"},{"text":"\n§l§d §r"},{"text":"§l§o§d血量§r "},{"translate":"%%1%%2%%3","with":{"rawtext":[{"translate":"%%9","with":{"rawtext":[{"selector":"@s[scores={血=0..}]"},{"selector":"@s[scores={血=50..}]"},{"selector":"@s[scores={血=100..}]"},{"selector":"@s[scores={血=150..}]"},{"selector":"@s[scores={血=200..}]"},{"selector":"@s[scores={血=250..}]"},{"selector":"@s[scores={血=300..}]"},{"selector":"@s[scores={血=350..}]"},{"text":"§r"},{"text":"§l§o§c||||||§7||||||||||||||§r"},{"text":"§l§o§c|||||§7|||||||||||||||§r"},{"text":"§l§o§4||||§7||||||||||||||||§r"},{"text":"§l§o§4|||§7|||||||||||||||||§r"},{"text":"§l§o§4||§7||||||||||||||||||§r"},{"text":"§l§o§4|§7|||||||||||||||||||§r"},{"text":"§l§o§0||||||||||||||||||||§r"},{"text":"§r"}]}},{"translate":"%%8","with":{"rawtext":[{"selector":"@s[scores={血=350..}]"},{"selector":"@s[scores={血=400..}]"},{"selector":"@s[scores={血=450..}]"},{"selector":"@s[scores={血=500..}]"},{"selector":"@s[scores={血=550..}]"},{"selector":"@s[scores={血=600..}]"},{"selector":"@s[scores={血=650..}]"},{"text":"§r"},{"text":"§l§o§6|||||||||||||§7|||||||§r"},{"text":"§l§o§6||||||||||||§7||||||||§r"},{"text":"§l§o§6|||||||||||§7|||||||||§r"},{"text":"§l§o§c||||||||||§7||||||||||§r"},{"text":"§l§o§c|||||||||§7|||||||||||§r"},{"text":"§l§o§c||||||||§7||||||||||||§r"},{"text":"§r"}]}},{"translate":"%%8","with":{"rawtext":[{"selector":"@s[scores={血=650..}]"},{"selector":"@s[scores={血=700..}]"},{"selector":"@s[scores={血=750..}]"},{"selector":"@s[scores={血=850..}]"},{"selector":"@s[scores={血=900..}]"},{"selector":"@s[scores={血=950..}]"},{"selector":"@s[scores={血=1000..}]"},{"text":"§l§o§a||||||||||||||||||||§r"},{"text":"§l§o§a|||||||||||||||||||§7|§r"},{"text":"§l§o§a||||||||||||||||||§7||§r"},{"text":"§l§o§a|||||||||||||||||§7|||§r"},{"text":"§l§o§a||||||||||||||||§7||||§r"},{"text":"§l§o§6|||||||||||||||§7|||||§r"},{"text":"§l§o§6||||||||||||||§7||||||§r"},{"text":"§r"}]}}]}},{"text":"§l§o§7/§r"},{"score":{"name":"@s","objective":"血"}},{"translate":"%%4","with":{"rawtext":[{"selector":"@s[scores={血=1..}]"},{"selector":"@s[scores={血=10..}]"},{"selector":"@s[scores={血=100..}]"},{"text":"§l§b┇§r"},{"text":"§l§b ┇§r"},{"text":"§l§b ┇§r"}]}},{"text":"§l§o§c 傷害§r:"},{"score":{"name":"@s","objective":"攻a"}},{"text":"§l§o§d 防御§r:"},{"score":{"name":"@s","objective":"防a"}},{"text":"§l§o§b 閃避§r:"},{"score":{"name":"@s","objective":"閃a"}},{"text":"§l§o§f%§r"},{"text":"§l§o§e 暴擊§r:"},{"score":{"name":"@s","objective":"暴a"}},{"text":"§l§o§f%§r"},{"text":"§l§o§e 暴傷§r:"},{"score":{"name":"@s","objective":"暴b"}},{"text":"§l§o§f%§r"},{"translate":"%%2","with":{"rawtext":[{"selector":"@e[scores={血=1..},rm=0.1,r=50,c=1]"},{"translate":"%%s%%s%%s%%s%%s%%s%%s%%s%%s%%s%%s%%s%%s%%s%%s","with":{"rawtext":[{"text":"\n§l§o§e 附近§c【§b"},{"selector":"@e[scores={血=1..},rm=0.1,r=50,c=1]"},{"text":"§l§o§c】§d血量§r:"},{"score":{"name":"@e[scores={血=1..},rm=0.1,r=50,c=1]","objective":"血"}},{"translate":"%%4","with":{"rawtext":[{"selector":"@e[scores={血=1..},rm=0.1,r=50,c=1]"},{"selector":"@e[scores={血=10..},rm=0.1,r=50,c=1]"},{"selector":"@e[scores={血=100..},rm=0.1,r=50,c=1]"},{"text":"§l§b┇§r"},{"text":"§l§b ┇§r"},{"text":"§l§b ┇§r"}]}},{"text":"§l§o§c 傷害§r:"},{"score":{"name":"@e[scores={血=1..},rm=0.1,r=50,c=1]","objective":"攻a"}},{"text":"§l§o§d 防御§r:"},{"score":{"name":"@e[scores={血=1..},rm=0.1,r=50,c=1]","objective":"防a"}},{"text":"§l§o§b 閃避§r:"},{"score":{"name":"@e[scores={血=1..},rm=0.1,r=50,c=1]","objective":"閃a"}},{"text":"§l§o§f%§r"},{"text":"§l§o§e 暴擊§r:"},{"score":{"name":"@e[scores={血=1..},rm=0.1,r=50,c=1]","objective":"暴a"}},{"text":"§l§o§e 暴傷§r:"},{"score":{"name":"@e[scores={血=1..},rm=0.1,r=50,c=1]","objective":"暴b"}},{"text":"§l§o§f%§r"},{"text":"§l§o§f%§r"}]}},{"text":"§r"}]}}]}


[受擊傷害計(jì)算]?

⑥①

execute @e[hasitem={item=chainmail_boots,quantity=0,location=slot.armor.feet},scores={血=1..}] ~~~ tag @s add 受擊

⑥②

replaceitem entity @e[scores={血=1..}] slot.armor.feet 0 destroy chainmail_boots 1 195 {"minecraft:keep_on_death":{},"minecraft:item_lock":{"mode":"lock_in_slot"}}

⑥③

execute @e[tag=受擊] ~~~ tag @e[scores={血=1..},c=1,rm=0.1] add 攻擊

⑥④

execute @e[scores={血=1..},c=1,tag=攻擊] ~~~ scoreboard players random "暴擊" 暴 1 100

⑥⑤

execute @e[scores={血=1..},c=1,tag=攻擊] ~~~ scoreboard players operation @s 暴a -= "暴擊" 暴

⑥⑥

execute @e[tag=攻擊] ~ ~ ~ scoreboard players operation @s 攻b = @s 攻a

⑥⑦

execute @e[scores={血=1..,暴a=0..},c=1,tag=攻擊] ~~~ scoreboard players operation @s 攻a *= @s 暴b

⑥⑧

execute @e[scores={血=1..,暴a=0..},c=1,tag=攻擊] ~~~ scoreboard players operation @s 攻a /= "暴傷" 暴b

⑥⑨

execute @e[scores={血=1..,暴a=0..},c=1,tag=攻擊] ~~~ scoreboard players operation @s 攻a += @s 攻b

⑦?

execute @e[tag=受擊] ~~~ scoreboard players random "閃避" 閃 1 100

⑦①

execute @e[tag=受擊] ~~~ scoreboard players operation @s 閃a -= "閃避" 閃

⑦②

execute @e[tag=受擊,scores={閃a=0..}] ~~~ title @p[tag=攻擊,c=1] title §r

⑦③

execute @e[tag=受擊,scores={閃a=0..}] ~~~ titleraw @p[tag=攻擊] subtitle {"rawtext":[{"text":"§fMiss"}]}

⑦④

execute @e[tag=受擊,scores={閃a=0..}] ~~~ tag @s remove 受擊

⑦⑤

execute @e[tag=受擊,scores={閃a=..-1}] ~~~ tag @s add 擊

⑦⑥

execute @e[tag=擊] ~~~ scoreboard players operation @e[tag=攻擊,c=1] 攻a -= @s 防a

⑦⑦

execute @e[scores={血=1..,攻a=1..},c=1,tag=攻擊] ~~~ title @p[tag=攻擊,c=1] title §r

⑦⑧

execute @e[scores={血=1..,暴a=0..,攻a=1..},c=1,tag=攻擊] ~~~ titleraw @s[tag=攻擊] subtitle {"rawtext":[{"text":"§e暴擊§f-§c"},{"score":{"name":"@s","objective":"攻a"}}]}

⑦⑨

execute @e[scores={血=1..,暴a=..-1,攻a=1..},c=1,tag=攻擊] ~~~ titleraw @s[tag=攻擊] subtitle {"rawtext":[{"text":"§f-§c"},{"score":{"name":"@s","objective":"攻a"}}]}

⑧?

execute @e[tag=擊] ~~~ scoreboard players operation @s 血 -= @e[tag=攻擊,c=1,scores={攻a=1..}] 攻a

⑧①

tag @e[tag=受擊] remove 受擊

⑧②

tag @e[tag=攻擊] remove 攻擊

⑧③

tag @e[tag=擊] remove 擊


[玩家死亡重置生命值以及擊殺生物獎(jiǎng)勵(lì)]?

⑧④

scoreboard players add @a 血a 0

⑧⑤

scoreboard players set @a[scores={血a=0}] 血 1000

⑧⑥

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

⑧⑦

kill @e[scores={血=..0}]

⑧⑧

scoreboard players set @a 亡 1

⑧⑨

scoreboard players set @e[type=player] 亡 0

⑨?

scoreboard players set @a[scores={亡=1}] 血 1000

⑨①

effect @e[scores={血=1..}] resistance 999 5 true



————?jiǎng)澐志€————

添加目標(biāo)生物?

[第一個(gè)脈沖 紅石激活 其它全部連鎖]


[添加鞋子]

replaceitem entity @e[name="●"] slot.armor.feet 0 destroy chainmail_boots 1 195 {"minecraft:keep_on_death":{},"minecraft:item_lock":{"mode":"lock_in_slot"}}


[添加血量]

scoreboard players set @e[name="●"] 血 ●


[添加攻擊]

scoreboard players set @e[name="●"] 攻 ●


[添加防御]

scoreboard players set @e[name="●"] 防 ●


[添加閃避]

scoreboard players set @e[name="●"] 閃 ●


[添加暴擊率]

scoreboard players set @e[name="●"] 暴 ●


[添加暴擊傷害]

scoreboard players set @e[name="●"] 暴b ●

我的世界數(shù)據(jù)化教學(xué)的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
临清市| 施甸县| 鄂尔多斯市| 九江县| 桐柏县| 兴宁市| 绥阳县| 博爱县| 耒阳市| 海伦市| 修水县| 天全县| 夏河县| 吉首市| 昌宁县| 乐昌市| 新竹县| 渭南市| 清水县| 铜陵市| 手机| 望谟县| 郁南县| 遂宁市| 诏安县| 安福县| 盐城市| 青阳县| 福清市| 永修县| 嘉义市| 寿光市| 铜鼓县| 米脂县| 安泽县| 吉首市| 奇台县| 宁陵县| 曲阜市| 抚顺县| 丽水市|