
Addon無しでできる便利系機能
マイクラってこれ欲しーわーって機能ほどないし、アドオンとか漁ってみてもがっしりとした作品は皆有料品。作ろうにも知識がないし開発環境だってすんごいお金と時間がかかってしまう。んー、なら作ろうぜ?コマンドで
というわけでアドオンほど便利で高機能な
コマンドを組んでみたよ
ちなみに僕はコマンド製の軽量ベッドウォーズを作成中。軽量化とバグ無しを同時に進めるのが本当に難しい。けど成功したらSwitchでも作れるようになるしマジで頑張る💪
松明を持つと周りが明るくなるコマンド(前作の改造版)
配置
A→B
Aのコマンドブロック
リピート、無条件、tick遅延無、常時実行
/execute at @a run fill ~5 ~5 ~5 ~-5 ~-5 ~-5 air replace light_block ["block_light_level":15]Bのコマンドブロック
チェーン、無条件、tick遅延無、常時実行
/execute at @a[hasitem={item=torch,location=slot.weapon.mainhand}] run fill ~ ~1 ~ ~ ~ ~ light_block ["block_light_level":15] replace air
少し前に書いたものだと土の道の上とかで土の道を消しちゃうバグがあったので修正したよ
擬似X-ray
ガラスを手に持っている時に石ブロックをガラスにすることで鉱石を透過できるよ。建築に使用されてる石も置き換わっちゃうから気をつけて。
深層岩と石以外は壊れない。
execute at @a[hasitem={item=Glass, location=slot.weapon.mainhand}] run fill ~10 ~10 ~10 ~-10 ~-10 ~-10 air replace stoneexecute at @a[hasitem={item=Glass, location=slot.weapon.mainhand}] run fill ~10 ~10 ~10 ~-10 ~-10 ~-10 air replace deepslate高効率整地
/execute at @a[hasitem=[{item=diamond_pickaxe,location=slot.weapon.mainhand},{item=arrow,location=slot.weapon.offhand}]] run fill ~10 ~10 ~10 ~-10 ~ ~-10 air destroyオフハンドに矢、メインハンドにダイヤのツルハシを持つと10×10が全て採掘されるコマンド。削ったとこのブロックとかアイテムは全部アイテム化するから気をつけて
羽を手に持つとゆっくり落ちる
effect @a[hasitem={item=feather, location=slot.weapon.mainhand}] slow_falling 1 1草ブロックを踏むと死ぬ
execute as @a at @a if block ~ ~-1 ~ grass_block run kill @sYouTubeで稀に見るやつ。ブロックIDを変えれば他のブロックにすることも可能