Minecraft /fill Command
두 좌표 간의 3D 영역을 지정된 블록으로 채우고, 필요에 따라 다른 블록을 교체합니다.
버전 호환성
명령어 문법
/fill <from> <to> <block>[<states>] [destroy|hollow|keep|outline|replace] [<filter>]/fill <from> <to> <tileName> [tileData|blockStates] [replace|destroy|hollow|keep|outline] [<replaceTileName>]인수 설명
from (X Y Z)Coordinates필수First corner of the 3D cuboid bounding box.
to (X Y Z)Coordinates필수Opposite diagonal corner of the bounding box.
block / tileNameNamespaced Block ID필수Block type to place (e.g. minecraft:stone, glass, oak_planks).
modeFill ModeHandling mode: replace (default), keep (fills air only), outline (outer perimeter shell), hollow (outer shell with air center), destroy (breaks blocks dropping items).
filter / replaceTileNameBlock FilterWhen mode is replace, only blocks matching this ID will be substituted.
실용적인 예시
/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:stone_bricksCreates a 21x21 stone brick floor directly beneath your feet.
Fast foundation platform builder.
/fill ~-5 ~ ~-5 ~5 ~8 ~5 minecraft:glass hollowCreates an 11x9x11 hollow glass room with an empty interior.
Instant greenhouse or underwater shelter.
/fill ~-15 ~-3 ~-15 ~15 ~15 ~15 minecraft:air replace minecraft:waterDrains water from an ocean or cave area without affecting stone or sand.
Clearing flooded structures.
/fill ~-20 ~-5 ~-20 ~20 ~15 ~20 minecraft:air replaceClears a massive 41x21x41 volume into empty air without spawning laggy item entities.
Terrain clearing for large-scale creative builds.
/fill ~-4 ~ ~-4 ~4 ~4 ~4 minecraft:oak_planks outlineConstructs the outer walls, floor, and ceiling of a cube without altering the interior.
Frame building without overwriting pre-placed furniture.
자주 발생하는 실수
실수:
한 번에 32,768개 이상의 블록을 채우려 시도
해결 방법:
큰 채우기를 여러 작은 명령어로 분할하세요.
실수:
가치 있는 아이템 근처에서 destroy 모드를 사용하여 렉 유발
해결 방법:
destroy 대신 replace 모드 사용: /fill <coords> air replace
실수:
교체 필터를 지정하지 않아 전체 건축물을 교체
해결 방법:
항상 특정 블록으로 replace 모드 사용: /fill <coords> stone replace dirt
자바 vs 베드락 차이점
Java 에디션은 명령어당 32,768개 블록 제한이 있습니다. Bedrock는 플랫폼에 따라 다른 제한이 있을 수 있습니다. Java는 대괄호 [state=value] 안의 블록 상태를 사용하고 Bedrock는 전통적으로 숫자 데이터 값을 사용했습니다.
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.
유용한 팁
대규모 채우기를 하기 전에 먼저 작은 영역으로 좌표가 올바른지 확인하세요.
hollow 모드로 집이나 방 같은 즉석 구조물을 만드세요.
keep 모드는 기존 구조물을 보존하면서 동굴이나 틈을 채우기에 완벽합니다.
/fill로 공기로 교체하여 물이나 용암을 빠르게 제거할 수 있습니다.
/fill을 상대 좌표(~)와 결합하여 위치를 계산하지 않고 작업하세요.
중요 참고사항
Java에서 명령어당 최대 블록 제한은 32,768개입니다. Bedrock는 플랫폼에 따라 다른 제한이 있을 수 있습니다.
자주 묻는 질문
여러 개의 다른 블록을 한 번에 채울 수 있나요?
아니요, /fill은 한 번에 하나의 블록 유형만 지원합니다.
"too many blocks"가 나오는 이유는?
32,768개 이상의 블록을 채우려고 합니다. 영역 크기를 줄이세요.
/fill 명령어를 되돌릴 수 있나요?
내장 취소 기능이 없습니다. 월드 백업을 갖추는 것이 최선입니다.
destroy와 replace의 차이점은?
destroy는 깨진 블록을 아이템으로 드롭하고, replace는 아무것도 드롭하지 않고 블록을 변경합니다.