発光の効果コマンド
minecraft:glowing英語名 Glowing
発光(minecraft:glowing)は中立の効果です。輪郭が光り、ブロック越しでも見えるようになります。以下は、効果の付与・解除・ポーション作成に使うコマンドです。
よく使うコマンド
最も近いプレイヤーに30秒間付与(I)
/effect give @p minecraft:glowing 30 0
レベルII、持続時間1分
/effect give @p minecraft:glowing 60 1
レベルは0から始まります。0がI、1がIIです
すべてのプレイヤー、無限、パーティクル非表示
/effect give @a minecraft:glowing infinite 0 true
発光を解除
/effect clear @p minecraft:glowing
発光のポーション(3分)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:glowing",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.glowing",italic:false}]持続時間の単位はティックです(20ティック = 1秒)
金ブロックの上に立つと付与
/execute as @a at @s if block ~ ~-1 ~ minecraft:gold_block run effect give @s minecraft:glowing 2 0 true
リピートコマンドブロックに入れて常時実行
基本情報
- 効果ID
- minecraft:glowing
- 種類
- 中立
- 効果
- 輪郭が光り、ブロック越しでも見えるようになります
その他の中立効果
データはMinecraft Java 26.3の公式データに基づいており、すべてのコマンドで26.3の構文チェックを行っています。