本文へスキップ
MC COMMANDS logoMC COMMANDS
コマンドリファレンス

Minecraft /fill Command

worldJava版統合版 (Bedrock)

2つの座標間の3D領域を指定したブロックで塗りつぶし、必要に応じて他のブロックを置換します。

バージョン対応

Java版:1.21.4 (1.13+)
統合版 (Bedrock):1.21.60

コマンド構文

Java版/fill <from> <to> <block>[<states>] [destroy|hollow|keep|outline|replace] [<filter>]
統合版 (Bedrock)/fill <from> <to> <tileName> [tileData|blockStates] [replace|destroy|hollow|keep|outline] [<replaceTileName>]

引数の解説

実用的な使用例

beginner両エディション
/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:stone_bricks

Creates a 21x21 stone brick floor directly beneath your feet.

Fast foundation platform builder.

intermediate両エディション
/fill ~-5 ~ ~-5 ~5 ~8 ~5 minecraft:glass hollow

Creates an 11x9x11 hollow glass room with an empty interior.

Instant greenhouse or underwater shelter.

intermediate両エディション
/fill ~-15 ~-3 ~-15 ~15 ~15 ~15 minecraft:air replace minecraft:water

Drains water from an ocean or cave area without affecting stone or sand.

Clearing flooded structures.

intermediate両エディション
/fill ~-20 ~-5 ~-20 ~20 ~15 ~20 minecraft:air replace

Clears a massive 41x21x41 volume into empty air without spawning laggy item entities.

Terrain clearing for large-scale creative builds.

beginner両エディション
/fill ~-4 ~ ~-4 ~4 ~4 ~4 minecraft:oak_planks outline

Constructs the outer walls, floor, and ceiling of a cube without altering the interior.

Frame building without overwriting pre-placed furniture.

Advertisement

よくあるミス

ミス:

一度に32,768ブロック以上を塗りつぶそうとする

修正方法:

大きな塗りつぶしを複数の小さなコマンドに分割してください。

ミス:

貴重なアイテムの近くでdestroyモードを使用し、大量のラグを起こす

修正方法:

destroyの代わりにreplaceモードを使用: /fill <coords> air replace

ミス:

置換フィルターを指定し忘れ、すべての建築物を置換してしまう

修正方法:

常に特定のブロックでreplaceモードを使用: /fill <coords> stone replace dirt

Command Block Usage & Automation

Connect an Impulse command block to an arena reset button: "/fill 100 64 100 120 64 120 stone_bricks replace air" to regenerate the floor after each battle, or clear hazardous lava puddles during puzzle runs.

Automation Tip: Command blocks require Operator permissions (permission level 2+) and cheats enabled. In Java Edition, command blocks can execute commands up to 32,767 characters long compared to the 256-character player chat limit.

便利なヒント

  • 大規模な塗りつぶしを行う前に、まず小さな領域で座標が正しいか確認してください。

  • hollowモードで家や部屋のような即席の構造物を作成します。

  • keepモードは既存の構造物を保持しながら洞窟や隙間を埋めるのに最適です。

  • /fillで空気に置換して水や溶岩を素早く取り除けます。

  • /fillを相対座標(~)と組み合わせて、位置を計算せずに作業できます。

重要な注意事項

Java版の最大ブロック制限は1コマンドあたり32,768ブロックです。Bedrock版はプラットフォームによって異なる制限がある場合があります。Javaは角括弧[state=value]のブロック状態を使用し、Bedrockは従来数値データ値を使用していました。

よくある質問

関連コマンド

コマンドを作成しますか?

ビジュアルインターフェースで/fillコマンドをエラーなしに作成できるインタラクティブジェネレーター。

コマンドジェネレーターを開く
Advertisement