본문으로 건너뛰기
MC COMMANDS logoMC COMMANDS
건축가 가이드

마인크래프트 건축 명령어.

좌표와 블록 구조물을 완벽히 제어하여 대규모 건축과 지형 정리를 순식간에 끝마치세요.

REFERENCE GUIDE

Syntax and coordinates reference.

A quick reference cheat sheet explaining target selectors, absolute coordinate grids, relative offsets, and local direction-facing grids.

Target Selectors

Minecraft uses shorthand variables called "target selectors" to target specific players or entities without writing full usernames.

@p

Nearest Player

Targets the single player closest to where the command is executed.

@a

All Players

Targets every online player in the current dimension/world.

@r

Random Player

Targets one random player (commonly used in minigames/lobbies).

@e

All Entities

Targets all living things, including players, mobs, dropped items, and item frames.

@s

Self (Executor)

Targets the entity currently running the command (useful in command blocks and chat).

Coordinate systems

Minecraft locations use a 3D grid layout represented as X Y Z coordinates (East/West, Altitude, North/South).

X Y Z

Absolute Coordinates

Specifies an exact point on the world map. 100 64 -250 means block X=100 (East), Y=64 (Sea Level elevation), Z=-250 (North).

~ ~ ~

Relative Coordinates (Tilde)

Specifies block offsets relative to the execution origin. E.g., ~ ~5 ~ represents exactly 5 blocks directly above where the command runs.

^ ^ ^

Local Coordinates (Caret)

Specifies block offsets relative to where the executing entity is currently looking (Left/Right, Up/Down, Forward/Backward). E.g., ^ ^ ^5 is 5 blocks directly in front of the executor's face.

AxisPositive Value (+)Negative Value (-)
X AxisEastward displacementWestward displacement
Y AxisUpward altitude (Sky)Downward altitude (Void)
Z AxisSouthward displacementNorthward displacement
BUILDING COMMAND DIRECTORY

Filtered building codes list

명령어 디렉토리

명령어 검색 및 필터.

아이템 및 인벤토리통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 수량, 메타데이터, 컴포넌트 옵션과 함께 아이템을 지급합니다.

Java Edition/give <targets> <item>[<components>] [<count>]
Bedrock Edition/give <player> <itemName> [amount] [data] [components]
플레이어 관리통합Java 1.21.x • Bedrock 1.21.x

엔티티(플레이어, 몹 등)를 특정 좌표나 대상 엔티티 위치로 순간이동시킵니다.

/tp <targets> <destination> | /tp <targets> <x> <y> <z> [<yRot> <xRot>]
플레이어 관리통합Java 1.21.x • Bedrock 1.21.x

플레이어의 게임 모드(서바이벌, 크리에이티브, 모험, 관전)를 변경합니다.

/gamemode <mode> [<target>]
엔티티 및 소환통합Java 1.21.x • Bedrock 1.21.x

지정한 좌표에 몹, 발사체, 갑옷 거치대 등의 엔티티를 소환합니다.

Java Edition/summon <entity> [<pos>] [<nbt>]
Bedrock Edition/summon <entityType> [<spawnPos>] [<spawnEvent>] [<nameTag>]
월드 및 환경통합Java 1.21.x • Bedrock 1.21.x

게임 규칙(keepInventory, mobGriefing, doDaylightCycle 등)을 설정하거나 확인합니다.

/gamerule <rule> [<value>]
플레이어 관리통합Java 1.21.x • Bedrock 1.21.x

엔티티에 상태 효과(신속, 힘, 독 등)를 부여하거나 제거합니다.

Java Edition/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]
Bedrock Edition/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clear
고급 및 개발자통합Java 1.21.x • Bedrock 1.21.x

조건문과 실행 주체를 지정하여 고급 명령어를 연쇄 실행합니다.

Java Edition/execute <subcommands...> run <command>
Bedrock Edition/execute <subcommands...> run <command>
월드 및 환경통합Java 1.21.x • Bedrock 1.21.x

가장 가까운 구조물, 생물군계 또는 관심 지점(POI)를 찾아 채팅에 좌표를 출력합니다.

Java Edition/locate structure <structureID> | /locate biome <biomeID> | /locate poi <poiID>
Bedrock Edition/locate structure <structureType> | /locate biome <biome>
월드 및 환경통합Java 1.21.x • Bedrock 1.21.x

지정한 직육면체 영역 전체 또는 일부를 특정 블록으로 채웁니다.

Java Edition/fill <from> <to> <block>[<states>] [destroy|hollow|keep|outline|replace] [<filter>]
Bedrock Edition/fill <from> <to> <tileName> [tileData|blockStates] [replace|destroy|hollow|keep|outline] [<replaceTileName>]
월드 및 환경통합Java 1.21.x • Bedrock 1.21.x

Changes a single block at specified coordinates to a new block type, with optional block state properties and replacement modes.

Java Edition/setblock <pos> <block>[<states>] [destroy|keep|replace]
Bedrock Edition/setblock <position> <tileName> [tileData|blockStates] [replace|destroy|keep]
월드 및 환경통합Java 1.21.x • Bedrock 1.21.x

Duplicates or moves all blocks from a source bounding box to a destination coordinate, supporting masking filters and overlap modes.

Java Edition/clone <begin> <end> <destination> [filtered|masked|replace] [force|move|normal] [<filter>]
Bedrock Edition/clone <begin> <end> <destination> [maskMode] [cloneMode] [tileName] [tileData]
고급 및 개발자자바Java 1.21.x

Inspects, modifies, merges, or removes NBT data on block entities, non-player entities, and persistent command storage.

Java Edition/data get (block|entity|storage) ... | /data merge (block|entity|storage) ... | /data modify (block|entity|storage) ... | /data remove (block|entity|storage) ...
고급 및 개발자통합Java 1.21.x • Bedrock 1.21.x

Tracks, modifies, and displays custom objectives, player scores, timers, and statistics for game logic, economy, and leaderboard systems.

Java Edition/scoreboard objectives (add|remove|list|setdisplay|modify) ... | /scoreboard players (add|set|remove|reset|get|list|operation|enable) ...
Bedrock Edition/scoreboard objectives (add|remove|list|setdisplay) ... | /scoreboard players (add|set|remove|reset|list|operation|random) ...
플레이어 관리베드락Bedrock 1.21.x

플레이어에게 화면 진동 효과를 적용합니다. 시네마틱이나 커스텀 맵에 유용합니다.

Bedrock Edition/camerashake add <players> [intensity] [seconds] [shakeType] | /camerashake stop [players]
월드 및 환경베드락Bedrock 1.21.x

틱 영역을 생성, 목록화 또는 삭제하여 플레이어가 근처에 없어도 청크를 시뮬레이션하도록 강제합니다.

Bedrock Edition/tickingarea add <fromX> <fromY> <fromZ> <toX> <toY> <toZ> [name] | /tickingarea add circle <x> <y> <z> <radius> [name] | /tickingarea remove <name|pos>
월드 및 환경자바Java 1.21.x

플레이어가 근처에 없어도 청크를 지속적으로 로드하고 시뮬레이션하도록 강제합니다. 틱 영역과 동일합니다.

Java Edition/forceload add <fromX> <fromZ> [<toX> <toZ>] | /forceload remove <fromX> <fromZ> [<toX> <toZ>] | /forceload query [<pos>]
월드 및 환경자바Java 1.21.x

월드 경계선의 크기, 중심 좌표, 수축 속도를 제어합니다.

Java Edition/worldborder set <size> [<time>] | /worldborder center <x> <z> | /worldborder damage <buffer|amount>
플레이어 관리베드락Bedrock 1.21.x

플레이어의 캐릭터 능력(월드 빌더 권한, 비행, 뮤트 등)을 설정합니다.

Bedrock Edition/ability <player> <ability> [value: Boolean]
고급 및 개발자베드락Bedrock 1.21.x

대화 화면을 트리거하거나 NPC에게 대화 분기를 플레이어에게 표시하도록 강제합니다.

Bedrock Edition/dialogue open <npc> <player> [sceneName] | /dialogue change <npc> <sceneName> [targets]
고급 및 개발자자바Java 1.21.x

화면 상단에 커스텀 보스 체력바를 생성하고 설정합니다.

Java Edition/bossbar add <id> <name> | /bossbar set <id> <option> <value> | /bossbar remove <id>
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 레벨 255/10 마법이 부여된 과도한 강도의 네더라이트 검을 지급합니다.

Java Edition/give <targets> netherite_sword[enchantments={levels:{"minecraft:sharpness":255,"minecraft:fire_aspect":10,"minecraft:looting":10,"minecraft:unbreaking":255,"minecraft:mending":1,"minecraft:sweeping_edge":3,"minecraft:knockback":5}}] [<count>]
Bedrock Edition/give <player> netherite_sword [amount]
관리자 및 치트자바Java 1.21.x

플레이어에게 밀치기 레벨 10,000의 막대기를 지급하여 대상을 먼 거리로 날려보냅니다.

Java Edition/give <targets> stick[enchantments={levels:{"minecraft:knockback":10000}}] [<count>]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 보호 레벨 255와 가시 10이 부여된 네더라이트 흉갑을 지급하여 착용자를 사실상 무적으로 만듭니다.

Java Edition/give <targets> netherite_chestplate[enchantments={levels:{"minecraft:protection":255,"minecraft:unbreaking":255,"minecraft:mending":1,"minecraft:thorns":10}}] [<count>]
Bedrock Edition/give <player> netherite_chestplate [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 효율 레벨 255의 네더라이트 곡괭이를 지급하여 블록을 즉시 파괴합니다.

Java Edition/give <targets> netherite_pickaxe[enchantments={levels:{"minecraft:efficiency":255,"minecraft:fortune":10,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_pickaxe [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 힘 255, 강타 10, 화염, 무한의 활을 지급합니다.

Java Edition/give <targets> bow[enchantments={levels:{"minecraft:power":255,"minecraft:punch":10,"minecraft:flame":1,"minecraft:infinity":1,"minecraft:unbreaking":255}}] [<count>]
Bedrock Edition/give <player> bow [amount]
관리자 및 치트자바Java 1.21.x

플레이어에게 1분 동안 힘 255와 저항 255를 부여하는 커스텀 음식(쿠키) 스택을 지급합니다.

Java Edition/give <targets> cookie[food={nutrition:20,saturation:20,effects:[{effect:{id:"minecraft:strength",amplifier:255,duration:1200}},{effect:{id:"minecraft:resistance",amplifier:255,duration:1200}}]}] [<count>]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 효율 255, 날카로움 255, 약탈 10, 튼튼함 255, 수선의 네더라이트 도끼를 지급합니다.

Java Edition/give <targets> netherite_axe[enchantments={levels:{"minecraft:efficiency":255,"minecraft:sharpness":255,"minecraft:looting":10,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_axe [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 보호 255, 호흡 3, 친수성, 튼튼함 255의 네더라이트 투구를 지급합니다.

Java Edition/give <targets> netherite_helmet[enchantments={levels:{"minecraft:protection":255,"minecraft:respiration":3,"minecraft:aqua_affinity":1,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_helmet [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 보호 255, 빠른 걸음 3, 튼튼함 255, 수선의 네더라이트 각반을 지급합니다.

Java Edition/give <targets> netherite_leggings[enchantments={levels:{"minecraft:protection":255,"minecraft:swift_sneak":3,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_leggings [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 보호 255, 가벼운 착지 255, 깊은 보행 3, 영혼 속도 3, 튼튼함 255, 수선의 네더라이트 부츠를 지급합니다.

Java Edition/give <targets> netherite_boots[enchantments={levels:{"minecraft:protection":255,"minecraft:feather_falling":255,"minecraft:depth_strider":3,"minecraft:soul_speed":3,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_boots [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 꿰뚫기 255, 충성 10, 채널링, 튼튼함 255, 수선의 삼지창을 지급합니다.

Java Edition/give <targets> trident[enchantments={levels:{"minecraft:impaling":255,"minecraft:loyalty":10,"minecraft:channeling":1,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> trident [amount]
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

플레이어에게 10분 동안 힘 255, 저항 255, 재생 255, 신속 10, 질주 10 이상을 부여하는 OP 갓 엘릭서 물약을 지급합니다.

Java Edition/give <targets> potion[potion_contents={custom_effects:[{id:"minecraft:speed",amplifier:9,duration:12000},{id:"minecraft:haste",amplifier:9,duration:12000},{id:"minecraft:strength",amplifier:255,duration:12000},{id:"minecraft:regeneration",amplifier:255,duration:12000},{id:"minecraft:resistance",amplifier:255,duration:12000},{id:"minecraft:fire_resistance",duration:12000},{id:"minecraft:water_breathing",duration:12000},{id:"minecraft:night_vision",duration:12000}],custom_name:'{"text":"OP God Elixir","color":"gold","bold":true}'}] [<count>]
Bedrock Edition/give <player> potion [amount]
서버 및 유틸리티통합Java 1.21.x • Bedrock 1.21.x

서버의 플레이어 화이트리스트를 관리하여 승인된 플레이어만 서버에 접속할 수 있게 합니다.

/whitelist <add|remove> <player> | /whitelist <on|off|list|reload>
서버 및 유틸리티통합Java 1.21.x • Bedrock 1.21.x

지정된 플레이어를 서버에서 즉시 연결 해제하며, 선택적으로 사유를 표시합니다.

/kick <player> [reason]
서버 및 유틸리티통합Java 1.21.x • Bedrock 1.21.x

플레이어를 서버의 차단 목록에 추가하여 재접속을 차단합니다.

/ban <player> [reason]
서버 및 유틸리티통합Java 1.21.x • Bedrock 1.21.x

플레이어를 서버의 차단 목록에서 제거하여 다시 서버에 접속할 수 있게 합니다.

/pardon <player>
고급 및 개발자통합Java 1.21.x • Bedrock 1.21.x

디스크에서 모든 데이터 팩, 함수, 발전 과제, 전리품 테이블을 다시 로드합니다.

/reload
고급 및 개발자자바Java 1.21.x

서버 틱 속도와 흐름을 제어하여 개발자가 진단 테스트를 위해 게임 실행을 일시 정지, 단계별 실행 또는 고속 실행할 수 있게 합니다.

Java Edition/tick rate <rate> | /tick freeze | /tick step <time> | /tick query
고급 및 개발자자바Java 1.21.x

성능 메트릭 기록을 시작 또는 중지하여 서버의 디버그 폴더에 ZIP 진단 리포트를 생성합니다.

Java Edition/perf start | /perf stop
고급 및 개발자자바Java 1.21.x

서버에 로드된 데이터 팩을 관리하여 제작자가 동적으로 활성화, 비활성화 및 정렬할 수 있게 합니다.

Java Edition/datapack enable <name> [first|last|before|after] | /datapack disable <name> | /datapack list
서버 및 유틸리티통합Java 1.21.x • Bedrock 1.21.x

서버에 보류 중인 모든 청크, 플레이어 프로필 및 월드 데이터를 즉시 디스크에 저장하도록 강제합니다.

/save-all [flush]
고급 및 개발자통합Java 1.21.x • Bedrock 1.21.x

단일 게임 틱에서 명령어 시퀀스를 포함하는 함수 파일(.mcfunction)을 실행합니다.

/function <name>
관리자 및 치트통합Java 1.21.x • Bedrock 1.21.x

32k 갓 무기, 방어구, 도구 및 OP 물약/엘릭서를 생성합니다.

Java Edition/give <targets> <item>[enchantments={levels:{...}}] [<count>]
Bedrock Edition/give <player> <itemName> [amount]
Advertisement