<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>雷 - プログラミングで遊ブログ</title>
	<atom:link href="https://lemon818.com/tag/%E9%9B%B7/feed/" rel="self" type="application/rss+xml" />
	<link>https://lemon818.com</link>
	<description>現役システムエンジニアが趣味でプログラミングする自由気ままなブログ</description>
	<lastBuildDate>Thu, 26 May 2022 03:15:12 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>	<item>
		<title>【マイクラ】コマンドだけで魔法（炎・水・闇・風・氷・雷）をつかう簡単な方法！</title>
		<link>https://lemon818.com/minecraft_magic/</link>
		
		<dc:creator><![CDATA[Take]]></dc:creator>
		<pubDate>Tue, 24 May 2022 07:33:52 +0000</pubDate>
				<category><![CDATA[minecraft]]></category>
		<category><![CDATA[やり方]]></category>
		<category><![CDATA[コマンド]]></category>
		<category><![CDATA[コマンドブロック]]></category>
		<category><![CDATA[マイクラ]]></category>
		<category><![CDATA[水]]></category>
		<category><![CDATA[氷]]></category>
		<category><![CDATA[炎]]></category>
		<category><![CDATA[簡単]]></category>
		<category><![CDATA[闇]]></category>
		<category><![CDATA[雷]]></category>
		<category><![CDATA[風]]></category>
		<category><![CDATA[魔法]]></category>
		<guid isPermaLink="false">https://lemon818.com/?p=6185</guid>

					<description><![CDATA[Minecraft で炎とか氷の魔法をつかってみたい！ どーも、お久しぶりです。Takeです。 &#160; この記事でMinecraft で 「Mod なし・コマンドだけで魔法をつかう方法」について記述します。 今回は…]]></description>
										<content:encoded><![CDATA[<div class="sc_frame_wrap solid yellow">
<div class="sc_frame_wrap solid yellow">
<div class="sc_frame "><span style="color: #000000;"><b>Minecraft で炎とか氷の魔法をつかってみたい！<br />
</b></span></div>
</div>
</div>
<p>どーも、お久しぶりです。Takeです。</p>
<p>&nbsp;</p>
<p>この記事で<strong><span style="color: #3366ff;">Minecraft で 「Mod なし・コマンドだけで魔法をつかう方法」</span></strong>について記述します。</p>
<p>今回は<strong><span style="color: #3366ff;">コマンドブロックだけで設定でき、</span>ニンジン付きの棒をふる</strong>とその<strong>棒から魔法がでてくる</strong>ようにします。</p>
<p>&nbsp;</p>
<p>これを調べられた方は「<strong><span style="color: #ff0000;">どうやって杖から魔法が飛ぶようにできるのだろう？</span></strong>」とかいろいろと悩まれているかもしれません。</p>
<p>私も最初はそうでしたが、コマンドブロックを使って実現すると思ったより簡単に魔法をつかうことができました！！！</p>
<p>&nbsp;</p>
<p>↓ イメージこんな感じです。</p>
<p><img fetchpriority="high" decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/magic1.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6220" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/magic1.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/magic1-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/magic1-768x459.png 768w" sizes="(max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>上記の画像ではなんか炎が出てると思います。これが<span style="color: #3366ff;"><strong>魔法</strong></span>です。</p>
<p><span>ニンジン付きの棒</span>のしたのは特に理由はありませんが、<strong>釣竿</strong>でもなんでも行けると思います。</p>
<p>&nbsp;</p>
<p>コマンドブロックは10個必要です（実行する魔法によっては個数が変化します）。</p>
<p>難しいかもしれませんが、<span style="color: #3366ff;"><strong>コピー &amp; ペーストしてもすぐに実行できる</strong></span>と思いますので、よければ最後まで記事を読んでみてください。</p>
<p>&nbsp;</p>
<p>「魔法」というと、いろいろとあると思いますが、今回は下記を用意しました。</p>
<div class="sc_frame_wrap orange">
<div class="sc_frame ">
<div class="sc_frame_text">
<div class="sc_designlist ol square solid orange">
<ol>
<li>炎の魔法</li>
<li>水の魔法</li>
<li>闇の魔法</li>
<li>風の魔法</li>
<li>氷の魔法</li>
<li>雷の魔法</li>
</ol>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>とりあえず用意したコマンドはこんな感じですが、マイクラのコマンドは自由度が高いのでもっといろいろできると思います。</p>
<p>今回のマイクラのバージョンは、Minecraft Java版 1.17 ですが、Java版なら問題なく実行できると思います（1.8以降も実践可能）。</p>
<p>&nbsp;</p>
<div class="sc_frame_wrap solid yellow">
<h2>魔法をコマンドブロックで実行する方法</h2>
</div>
<p>マイクラで魔法を実現する方法ですが、ざっくり説明するとこんな感じです。</p>
<div class="sc_frame_wrap orange">
<div class="sc_frame ">
<div class="sc_frame_text">
<div class="sc_designlist ol square solid orange">
<ol>
<li>透明の防具立てを召喚する</li>
<li>透明の防具立ての周りに「パーティクル」を出現させる</li>
<li>召喚立てを前方に動かし続ける</li>
<li>一定の距離が離れたら、召喚立てを削除する</li>
</ol>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>「パーティクル」はマイクラの炎、煙、雪とかいろいろと表現することができます。</p>
<p>※ このサイトがすごくわかりやすかったです↓</p>
<p><a href="https://minecraft-blog.net/?p=7628">https://minecraft-blog.net/?p=7628</a></p>
<div class="sc_frame_wrap solid yellow">
<p>次にコマンドブロックで魔法を実現する具体的な設定方法についてまとめました。</p>
<p>下の表のようにコマンドブロックを作成・書き込めばOKです！</p>
<p>&nbsp;</p>
<table style="height: 548px; width: 95.3539%; border-collapse: collapse;">
<tbody>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 49px; text-align: center; background-color: #141675;"><span style="color: #ffffff;">No.</span></td>
<td style="width: 22.8009%; background-color: #141675; height: 49px; text-align: left;"><span style="color: #ffffff;">内容</span></td>
<td style="width: 8.08757%; height: 49px; background-color: #141675; text-align: center;"><span style="color: #ffffff;">種類</span></td>
<td style="width: 7.13085%; background-color: #141675; height: 49px; text-align: center;"><span style="color: #ffffff;">条件</span></td>
<td style="width: 55.2084%; height: 49px; background-color: #141675; text-align: center;"><span style="color: #ffffff;">コマンド</span></td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 48px; text-align: center; background-color: #ffd8c4;">1</td>
<td style="width: 22.8009%; background-color: #ffd8c4; height: 48px; vertical-align: middle; text-align: left;">コマンドブロックのコメントを停止させる</td>
<td style="width: 8.08757%; height: 48px; background-color: #ffd8c4; text-align: left;">インパルス</td>
<td style="width: 7.13085%; background-color: #ffd8c4; height: 48px; text-align: left;"><span>動力が必要</span></td>
<td style="width: 55.2084%; height: 48px; background-color: #ffd8c4; text-align: left;"><span>gamerule commandBlockOutput false</span></td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 21px; text-align: center; background-color: #befac0;">2</td>
<td style="width: 22.8009%; background-color: #befac0; height: 21px; vertical-align: middle; text-align: left;">スコアボードに「<span>ニンジン付きの棒」を振ることを検知するように設定する</span></p>
<p><span style="color: #3366ff;"><strong>※ 検知するとスコアボードの「magic」が 1 になる</strong></span></td>
<td style="width: 8.08757%; height: 21px; background-color: #befac0; text-align: left;">チェーン</td>
<td style="width: 7.13085%; height: 21px; background-color: #befac0; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 21px; text-align: left;">scoreboard objectives add magic minecraft.used:minecraft.carrot_on_a_stick</td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 49px; text-align: center; background-color: #f7dbff;">3</td>
<td style="width: 22.8009%; background-color: #f7dbff; height: 49px; vertical-align: middle; text-align: left;"><span style="color: #3366ff;"><strong>スコアボードの「magic」が 1 の間、</strong></span><br />
防具立て（透明、当たり判定なし、重力なし）を召喚する</td>
<td style="width: 8.08757%; height: 49px; background-color: #f7dbff; text-align: left;">ループ</td>
<td style="width: 7.13085%; height: 49px; background-color: #f7dbff; text-align: left;">常時実行</td>
<td style="width: 55.2084%; height: 49px; background-color: #f7dbff; text-align: left;">execute as @a[scores={magic=1..}] at @s run summon minecraft:armor_stand ~ ~ ~ {NoGravity:1b,Marker:1b,Invisible:1b,Tags:["magicArm"]}</td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 49px; text-align: center; background-color: #befac0;">4</td>
<td style="width: 22.8009%; background-color: #befac0; height: 49px; vertical-align: middle; text-align: left;">召喚した防具立ての向きを変更する</td>
<td style="width: 8.08757%; height: 49px; background-color: #befac0; text-align: left;">チェーン</td>
<td style="width: 7.13085%; height: 49px; background-color: #befac0; text-align: left;">常時実行</td>
<td style="width: 55.2084%; height: 49px; background-color: #befac0; text-align: left;">execute as @a[scores={magic=1..}] at @s rotated as @e[type=minecraft:player] run tp @e[tag=magicArm,limit=1,sort=nearest] ~ ~ ~ ~ ~</td>
</tr>
<tr style="height: 73px;">
<td style="width: 4.64974%; text-align: center; background-color: #befac0; height: 39px;">5</td>
<td style="width: 22.8009%; background-color: #befac0; height: 39px; vertical-align: middle; text-align: left;">防具立ての前方ブロックが Air（空気）なら、防具立てを前方に移動させる</td>
<td style="width: 8.08757%; background-color: #befac0; height: 39px; text-align: left;">チェーン</td>
<td style="width: 7.13085%; background-color: #befac0; height: 39px; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 39px; text-align: left;">execute as @e[type=armor_stand,tag=magicArm] at @s if block ^ ^ ^1.0 air run tp ^ ^ ^1.0</td>
</tr>
<tr style="height: 73px;">
<td style="width: 4.64974%; text-align: center; background-color: #befac0; height: 73px;">6</td>
<td style="width: 22.8009%; background-color: #befac0; height: 73px; vertical-align: middle; text-align: left;">防具立ての前方ブロックが Air（空気）でないなら、防具立てを kill する</td>
<td style="width: 8.08757%; background-color: #befac0; height: 73px; text-align: left;">チェーン</td>
<td style="width: 7.13085%; background-color: #befac0; height: 73px; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 73px; text-align: left;">execute as @e[type=armor_stand,tag=magicArm] at @s unless block ^ ^ ^1.0 air run kill @s</td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; text-align: center; background-color: #befac0; height: 49px;">7</td>
<td style="width: 22.8009%; background-color: #befac0; height: 49px; vertical-align: middle; text-align: left;"><span style="color: #3366ff;"><strong>スコアボードの「magic」を0にする</strong></span></td>
<td style="width: 8.08757%; background-color: #befac0; height: 49px; text-align: left;">チェーン</td>
<td style="width: 7.13085%; background-color: #befac0; height: 49px; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 49px; text-align: left;">scoreboard players set @a[scores={magic=1..}] magic 0</td>
</tr>
<tr style="height: 73px;">
<td style="width: 4.64974%; text-align: center; background-color: #befac0; height: 73px;">8</td>
<td style="width: 22.8009%; background-color: #befac0; height: 73px; vertical-align: middle; text-align: left;">防具立ての周囲のエンティティに対し、即時ダメージ（instant_damage）を与えるにする</td>
<td style="width: 8.08757%; background-color: #befac0; height: 73px; text-align: left;">チェーン</td>
<td style="width: 7.13085%; background-color: #befac0; height: 73px; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 73px; text-align: left;">execute as @e[tag=magicArm] at @s run effect give @e[distance=..1.5,type=!minecraft:player] instant_damage 1 0</td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; text-align: center; background-color: #befac0; height: 49px;">9</td>
<td style="width: 22.8009%; background-color: #befac0; height: 49px; vertical-align: middle; text-align: left;">防具立ての周りに particle を出現させる</td>
<td style="width: 8.08757%; background-color: #befac0; height: 49px; text-align: left;">チェーン</td>
<td style="width: 7.13085%; background-color: #befac0; height: 49px; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 49px; text-align: left;"><span style="color: #3366ff;"><strong>※ 魔法コマンド(次章で説明）</strong></span></td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; text-align: center; background-color: #befac0; height: 49px;">10</td>
<td style="width: 22.8009%; background-color: #befac0; height: 49px; vertical-align: middle; text-align: left;">16ブロック以上離れた防具立てを kill する</td>
<td style="width: 8.08757%; background-color: #befac0; height: 49px; text-align: left;">チェーン</td>
<td style="width: 7.13085%; background-color: #befac0; height: 49px; text-align: left;">常時実行</td>
<td style="width: 55.2084%; background-color: #befac0; height: 49px; text-align: left;">kill @e[tag=magicArm,distance=16..]</td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;</p>
<p><span style="color: #3366ff;"><span style="color: #000000;">※ 上記「N0.9」のコマンドについては、</span><strong>攻撃魔法ごと（炎とか氷の魔法攻撃など）ごとにコマンド内容が変わってきます。</strong></span></p>
<p><strong><span style="background-color: #ffff00;">つまり上記表のようにコマンドブロックを設定し、No.9 のコマンドの箇所だけ次章に記載のコマンドをうめこめば OK です！</span></strong></p>
<p>&nbsp;</p>
<p>つぎからいろいろな魔法のコマンドを紹介しますが、</p>
<p><strong><span style="color: #ff0000;"><span style="text-decoration: underline;">雷の魔法だけ上記の表とは別の表</span>になりますので、ご注意ください。</span></strong></p>
<p>&nbsp;</p>
<h3>炎の魔法</h3>
<p><img decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/honoo.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6228" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/honoo.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/honoo-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/honoo-768x459.png 768w" sizes="(max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>炎の魔法については下記になります。</p>
<p>要は防具立ての周りに炎のパーティクルを出現させてます。</p>
<p>&nbsp;</p><pre class="crayon-plain-tag">execute as @e[tag=magicArm] at @s run particle minecraft:flame ~ ~1.5 ~ 0.05 0.05 0.05 0.01 100</pre><p>
&nbsp;</p>
<h3>水の魔法</h3>
<p><img decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/water.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6229" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/water.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/water-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/water-768x459.png 768w" sizes="(max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>つぎに水の魔法については下記になります。</p>
<p>これも炎の魔法同様に、防具立ての周りに水のパーティクルを出現させてます。</p>
<p>&nbsp;</p><pre class="crayon-plain-tag">execute as @e[tag=magicArm] at @s run particle minecraft:bubble ~ ~1.5 ~ 1 1 1 0.01 100</pre><p>
&nbsp;</p>
<h3>闇の魔法</h3>
<p><img loading="lazy" decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/yami.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6230" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/yami.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/yami-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/yami-768x459.png 768w" sizes="auto, (max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>次に闇の魔法です。</p>
<p>これも炎の魔法同様に、防具立ての周りに闇？のパーティクルを出現させてます。</p>
<p>これは呪いとか効果付けても面白いな～と思いましたが、今回はつけてません。</p>
<p>&nbsp;</p><pre class="crayon-plain-tag">execute as @e[tag=magicArm] at @s run particle minecraft:dragon_breath ~ ~1.5 ~ 0.05 0.05 0.05 0.01 100</pre><p>
&nbsp;</p>
<h3>風の魔法</h3>
<p><img loading="lazy" decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/kaze.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6232" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/kaze.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/kaze-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/kaze-768x459.png 768w" sizes="auto, (max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>次に風の魔法です。</p>
<p>これも炎の魔法同様に、防具立ての周りに風のパーティクルを出現させてます。</p>
<p>風の魔法については、エンティティに当たると上に吹っ飛ぶように設定をしています、</p>
<p>いままでとは違い、<strong><span style="color: #ff0000;">コマンドブロックが2つ必要となります</span></strong>（コマンドブロックは両方とも、チェーン、定常実行になります）。</p>
<p>&nbsp;</p><pre class="crayon-plain-tag">execute as @e[tag=magicArm] at @s run particle minecraft:sweep_attack ~ ~1.5 ~ 1 1 1 0.01 10
execute as @e[tag=magicArm] at @s run effect give @e[distance=..1.5,type=!minecraft:player] levitation 1 30 true</pre><p>
&nbsp;</p>
<div class="sc_frame_wrap solid yellow">
<h3>氷の魔法</h3>
</div>
<p><img loading="lazy" decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/koori.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6233" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/koori.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/koori-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/koori-768x459.png 768w" sizes="auto, (max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>次は氷の魔法ですが、</p>
<p>防具立ての周りに氷っぽいパーティクルを出現させてます。</p>
<p>そしてある一定の距離（16ブロック）を離れるとアイスブロックを出現させてます。</p>
<p>いままでとは違い、<strong><span style="color: #ff0000;">コマンドブロックが2つ必要となります</span></strong>（コマンドブロックは両方とも、チェーン、定常実行になります）。</p>
<p>&nbsp;</p>
<div class="sc_frame_wrap solid yellow">
<pre class="crayon-plain-tag">execute as @e[tag=magicArm] at @s run particle minecraft:dolphin ~ ~1.5 ~ 0.05 0.05 0.05 0.01 100
execute as @e[tag=magicArm,distance=16..] at @s run fill ^-1 ^-1 ^-1 ^1 ^1 ^1 ice</pre>
</div>
<p>&nbsp;</p>
<h3>雷の魔法</h3>
<p><img loading="lazy" decoding="async" src="https://lemon818.com/wp/wp-content/uploads/2022/05/kaminari.png" alt="" width="856" height="512" class="aligncenter size-full wp-image-6235" srcset="https://lemon818.com/wp/wp-content/uploads/2022/05/kaminari.png 856w, https://lemon818.com/wp/wp-content/uploads/2022/05/kaminari-300x179.png 300w, https://lemon818.com/wp/wp-content/uploads/2022/05/kaminari-768x459.png 768w" sizes="auto, (max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>いままでは、10個のコマンドブロックを実行していたのですが（上のでかい表）、</p>
<p>雷の魔法は下記表のように<strong><span style="text-decoration: underline;">４個のコマンドブロック</span></strong>で実現できます。</p>
<p>&nbsp;</p>
<div class="sc_frame_wrap solid yellow">
<table style="height: 548px; width: 93.4431%; border-collapse: collapse;">
<tbody>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 49px; text-align: center; background-color: #141675;"><span style="color: #ffffff;">No.</span></td>
<td style="width: 22.8009%; background-color: #141675; height: 49px; text-align: left;"><span style="color: #ffffff;">内容</span></td>
<td style="width: 8.08757%; height: 49px; background-color: #141675; text-align: center;"><span style="color: #ffffff;">種類</span></td>
<td style="width: 9.66926%; background-color: #141675; height: 49px; text-align: center;"><span style="color: #ffffff;">条件</span></td>
<td style="width: 50.666%; height: 49px; background-color: #141675; text-align: center;"><span style="color: #ffffff;">コマンド</span></td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 48px; text-align: center; background-color: #ffd8c4;">1</td>
<td style="width: 22.8009%; background-color: #ffd8c4; height: 48px; vertical-align: middle; text-align: left;">コマンドブロックのコメントを停止させる</td>
<td style="width: 8.08757%; height: 48px; background-color: #ffd8c4; text-align: left;">インパルス</td>
<td style="width: 9.66926%; background-color: #ffd8c4; height: 48px; text-align: left;"><span>動力が必要</span></td>
<td style="width: 50.666%; height: 48px; background-color: #ffd8c4; text-align: left;"><span>gamerule commandBlockOutput false</span></td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 21px; text-align: center; background-color: #befac0;">2</td>
<td style="width: 22.8009%; background-color: #befac0; height: 21px; vertical-align: middle; text-align: left;">スコアボードに「<span>ニンジン付きの棒」を振ることを検知するように設定する</span></p>
<p><span style="color: #3366ff;"><strong>※ 検知するとスコアボードの「magic」が 1 になる</strong></span></td>
<td style="width: 8.08757%; height: 21px; background-color: #befac0; text-align: left;">チェーン</td>
<td style="width: 9.66926%; height: 21px; background-color: #befac0; text-align: left;">常時実行</td>
<td style="width: 50.666%; background-color: #befac0; height: 21px; text-align: left;">scoreboard objectives add magic minecraft.used:minecraft.carrot_on_a_stick</td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 49px; text-align: center; background-color: #f7dbff;">3</td>
<td style="width: 22.8009%; background-color: #f7dbff; height: 49px; vertical-align: middle; text-align: left;"><span style="color: #3366ff;"><strong>スコアボードの「magic」が 1 の間、</strong></span><br />
一番近いエンティティ雷を落とす</td>
<td style="width: 8.08757%; height: 49px; background-color: #f7dbff; text-align: left;">ループ</td>
<td style="width: 9.66926%; height: 49px; background-color: #f7dbff; text-align: left;">常時実行</td>
<td style="width: 50.666%; height: 49px; background-color: #f7dbff; text-align: left;">execute as @e[distance=..30,type=!minecraft:player,limit=1,sort=nearest] at @s if score @p magica matches 1.. run summon minecraft:lightning_bolt ^ ^ ^</td>
</tr>
<tr style="height: 49px;">
<td style="width: 4.64974%; height: 49px; text-align: center; background-color: #befac0;">4</td>
<td style="width: 22.8009%; background-color: #befac0; height: 49px; vertical-align: middle; text-align: left;"><span style="color: #3366ff;"><strong>スコアボードの「magic」が 0 になる</strong></span></td>
<td style="width: 8.08757%; height: 49px; background-color: #befac0; text-align: left;">チェーン</td>
<td style="width: 9.66926%; height: 49px; background-color: #befac0; text-align: left;">常時実行</td>
<td style="width: 50.666%; height: 49px; background-color: #befac0; text-align: left;">scoreboard players set @a[scores={magica=1..}]</td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;</p>
<div class="sc_frame_wrap solid yellow">
<h2>最後に</h2>
<p>&nbsp;</p>
<p>いかがでしたでしょうか？</p>
<p>この記事で<strong><span style="color: #3366ff;">Minecraft で「Mod なし・コマンドだけで魔法をつかう方法」</span></strong>について記述しました。</p>
<p>★ 動画でもこの記事について解説していますのでよければどうぞ！</p>
<p>（現在作成中！！！）</p>
<p>&nbsp;</p>
<p>最近YouTube でマイクラの普段動画流してます。</p>
<p>よければチャンネル登録&amp;高評価していただけると嬉しいです。</p>
<p>ではでは。</p>
</div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
