【統合版マイクラ】PvPで使える死亡検知コマンド!! 死亡した事を感知する方法 ~コマンド講座・応用編~【Switch/Win10/PE/PS4/Xbox】
#minecraft #コマンド #BE
Minecraft BE/コマンド講座・応用編として
「死亡検知コマンド」について紹介いたします。
~今回の内容~
0:00 オープニング
0:46 前説
1:27 前準備
2:04 死亡検知
6:46 死亡して5秒後に実行する方法
9:33 エンディング
10:18 まとめ
*****
・スコアボード
/scoreboard objectives add 復活時間 dummy
/scoreboard objectives add 死亡回数 dummy
・タグの種類
【s】 :死亡検知の時に使うタグ
【ss】:復活タイマーの起動と死亡検知を1度しかしないようにする為のタグ
*****
- コマンド -
コマンドブロックの種類は基本リピートのコマンドブロックとチェーンのコマンドブロックです。
ティックの遅延は0で無条件でやってます。
中にはテキストチャットで実行するコマンドがありますが、最初に「/」を入れているのがそれになります。
・死亡検知用のコマンド
execute as @a at @s run spawnpoint @s ~~~
tag @a add s
tag @e[type=player] remove s
gamemode spectator @a[tag=s,tag=!ss]
execute at @a[tag=s,tag=!ss] run summon armor_stand 墓標 ~~~
scoreboard players add @a[tag=s,tag=!ss] 死亡回数 1
tag @a[tag=s] add ss
・死亡して5秒後に実行するコマンド
scoreboard players add @a[tag=ss] 復活時間 1
tag @a[scores={復活時間=100..}] remove ss
gamemode a @a[scores={復活時間=100..}]
tp @a[scores={復活時間=100..}] 46 -60 -64 270 0
scoreboard players reset @a[scores={復活時間=100..}] 復活時間
-----
・新executeコマンド~asやatなどのサブコマンドに関する内容~
https://youtu.be/VRqd4yakEOc
・新executeコマンド~ifやunlessの条件付きサブコマンドに関する内容~
https://youtu.be/0hCh4qMGxFI
・新executeコマンド~rotatedやfacingなどのサブコマンドに関する内容~
https://youtu.be/S0MYIlvOVYw
・twitter
https://twitter.com/dolight_mishiyu
~コマンド講座~BTU(Better Together Update)に向けて~の再生リストはコチラ~
https://www.youtube.com/playlist?list=PLzQPH1XxmIf8RR5Bv4pYORINqpeAAwXyX
~新executeコマンドの基礎と応用編まとめの再生リストはコチラ~
https://youtube.com/playlist?list=PLzQPH1XxmIf81ErokAc67I0rHKFayWWQx
~マインクラフトのアップデート情報の再生リストはコチラ~
https://www.youtube.com/playlist?list=PLzQPH1XxmIf8yO7SYbhIOr5EotXA3Y_W9
~Extra tag player addonについての再生リストはコチラ~
https://youtube.com/playlist?list=PLzQPH1XxmIf-C3GrIkSbmS9K1nMOG6rYw
Other Videos By ドライトのゲーム実況ちゃんねるン.
Other Statistics
Minecraft Statistics For ドライトのゲーム実況ちゃんねるン.
At present, ドライトのゲーム実況ちゃんねるン. has 31,020,236 views spread across 3,279 videos for Minecraft, with the game making up over 42 days of published video on his channel. This is 66.85% of the total watchable video for Minecraft on ドライトのゲーム実況ちゃんねるン.'s YouTube channel.