Это видео недоступно.
Сожалеем об этом.

【統合版マイクラ】Ver1.19.80 スイッチも対応!? スニーク検知コマンドについて ~コマンド講座・応用編~【Switch/Win10/PE/PS4/Xbox】

Поделиться
HTML-код
  • Опубликовано: 18 авг 2024
  • #minecraft #コマンド #BE
    Minecraft BE/コマンド講座・応用編として
    「スニーク検知コマンド」について紹介いたします。
    ~今回の内容~
    0:00 オープニング
    0:47 前説
    1:44 スニーク検知方法
    4:39 スニークタイマー
    6:00 スニークした最初だけコマンドを実行
    7:06 1秒に1回コマンドを実行する方法
    9:43 エンディング
    10:25 まとめ
    ・スケルトンの魔法工房さんのスニーク検知動画
    • 【ついに】仕様変更でシフト検知が1コマンドで...
    ---- コマンド ----
    コマンドブロックの種類は基本リピートのコマンドブロックとチェーンのコマンドブロックです。
    ティックの遅延は0で無条件でやってます。
    中にはテキストチャットで実行するコマンドがありますが、最初に「/」を入れているのがそれになります。
    *****
    ・1.5ブロックスニークでスニーク検知
    ①.execute as @a at @s if entity @s[y=~1.4,dy=0] unless entity @s[y=~1.8,dy=0] run tag @s add sneak
    ②.execute as @a at @s if entity @s[y=~1.8,dy=0] run tag @s remove sneak
    *****
    ・スニークタイマーのスコアボードを作る
    ③./scoreboard objectives add sneaktimer dummy
    ・スニークをした時にカウントをする
    ④.scoreboard players add @a[tag=sneak] sneaktimer 1
    ⑤.scoreboard players set @a[tag=!sneak] sneaktimer 0
    *****
    ・スニークの最初だけ実行
    ⑥.execute as @a[scores={sneaktimer=1}] run tellraw @s {"rawtext":[{"text":"§eスニーク§rを開始しました"}]}
    *****
    ・サブのスニークタイマーのスコアボードを作成&1秒20ティックのスコアの作成
    ⑦./scoreboard objectives add sneaktimer_sub dummy
    ⑧./scoreboard players set one_sec sneaktimer_sub 20
    ・1秒間に1回実行
    ⑨.execute as @a run scoreboard players operation @s sneaktimer_sub = @s sneaktimer
    ⑩.execute as @a run scoreboard players operation @s sneaktimer_sub %= one_sec sneaktimer_sub
    ⑪.execute as @a[scores={sneaktimer_sub=1}] at @s run particle minecraft:knockback_roar_particle ~~~
    -----
    ・新executeコマンド~asやatなどのサブコマンドに関する内容~
    • ※修正版【統合版マイクラ】Ver1.19.1...
    ・新executeコマンド~ifやunlessの条件付きサブコマンドに関する内容~
    • 【統合版マイクラ】Ver1.19.10 ex...
    ・新executeコマンド~rotatedやfacingなどのサブコマンドに関する内容~
    • 【統合版マイクラ】Ver1.19.40から追...
    ・twitter
    / dolight_mishiyu
    ~コマンド講座~BTU(Better Together Update)に向けて~の再生リストはコチラ~
    • コマンド講座~統合版マインクラフト
    ~新executeコマンドの基礎と応用編まとめの再生リストはコチラ~
    • 新executeコマンド~基礎と応用編まとめ~
    ~マインクラフトのアップデート情報の再生リストはコチラ~
    • マインクラフト~アップデート情報~
    ~Extra tag player addonについての再生リストはコチラ~
    • Extra tag player addon...

Комментарии • 116