Minecraft /give Command
지정된 아이템을 플레이어에게 줍니다 (Java에서는 커스텀 NBT 데이터 포함).
버전 호환성
명령어 문법
/give <targets> <item>[<components>] [<count>]/give <player> <itemName> [amount] [data] [components]인수 설명
targets / playerSelector / Player Name필수Target entity receiving the items (e.g., @p nearest, @a all, or an exact gamer tag).
item / itemNameNamespaced Item ID필수The official identifier of the item (e.g., minecraft:diamond_sword in Java, diamond_sword in Bedrock).
count / amountInteger (1-64)Number of items to give. Defaults to 1 if omitted. Can exceed 64 in Java for unstackables.
componentsComponents / JSONJava 1.20.5+ square-bracket components (e.g. [enchantments={levels:{"sharpness":5}}]) or Bedrock adventure JSON (can_place_on / can_destroy).
실용적인 예시
/give @p minecraft:diamond 64Gives the nearest player a full stack (64) of diamonds.
Standard command for rewarding players or stocking inventories.
/give @s minecraft:netherite_sword[enchantments={levels:{"minecraft:sharpness":5,"minecraft:unbreaking":3}}]Java 1.20.5+: Gives yourself a Sharpness V, Unbreaking III Netherite Sword using modern component brackets.
Square bracket syntax [component=val] replaced legacy curly brace NBT in Java 1.20.5.
/give @p iron_pickaxe 1 0 {"minecraft:can_destroy":{"blocks":["stone","cobblestone"]}}Bedrock Edition: Gives an iron pickaxe that can only break stone and cobblestone in Adventure mode.
Crucial for Bedrock adventure maps with controlled puzzle progression.
/give @a minecraft:cooked_beef 32Gives 32 cooked beef to all connected players simultaneously.
Perfect for starting food kits or UHC events.
/give @p minecraft:potion[potion_contents={custom_effects:[{id:"minecraft:speed",duration:6000,amplifier:1}]}]Java 1.20.5+: Gives a custom Speed II potion lasting 5 minutes.
Demonstrates deep component nesting for custom consumables.
자주 발생하는 실수
실수:
아이템 이름을 대문자로 입력
해결 방법:
아이템 ID는 대소문자를 구별하며 소문자와 밑줄로 입력해야 합니다.
실수:
Bedrock에서 64개 이상의 아이템을 한번에 주려고 시도
해결 방법:
Bedrock는 명령어당 64개가 한도입니다. 여러 명령어를 사용하세요.
실수:
/give에 운영자 권한이 필요한 것을 잊음
해결 방법:
OP 권한이 있는지 또는 권한이 활성화된 명령어 블록을 사용하세요.
자바 vs 베드락 차이점
Java 에디션은 대괄호 [] 안의 완전한 아이템 컴포넌트와 커스텀 속성을 지원합니다. Bedrock 에디션은 명령어 내에서 커스텀 NBT 컴포넌트를 지원하지 않는 간소화된 형식을 사용합니다.
Command Block Usage & Automation
When used in Command Blocks, avoid using @s because the command block itself is the executor and @s evaluates to nothing. Always target players with @p (nearest player), @a (all players), or filtered selectors like @a[distance=..5]. Use Impulse command blocks connected to pressure plates for starter kits, or Chain Conditional blocks following a scoreboard balance test to dispense shop items.
유용한 팁
끝에 숫자를 추가하여 여러 아이템을 줄 수 있습니다: /give @p dirt 64
@s는 자기 자신, @p는 가장 가까운 플레이어, @a는 모든 플레이어에게 줍니다.
Java의 아이템 컴포넌트를 사용하여 마법과 속성으로 무기와 방어구를 커스터마이징할 수 있습니다.
Bedrock에서는 대부분의 아이템 스택이 64로 제한됩니다.
명령어 블록에서 /give를 사용하여 자동 배포 시스템을 만들 수 있습니다.
중요 참고사항
Java 1.20.5 이상에서는 중괄호 {} 안의 NBT 구문이 대괄호 [] 안의 아이템 컴포넌트로 대체되었습니다.
자주 묻는 질문
커스텀 마법이 있는 아이템을 받을 수 있나요?
네, Java Edition에서는 [enchantments={levels:{"minecraft:sharpness":5}}] 구문을 사용할 수 있습니다. Bedrock는 표준 마법 제한이 있습니다.
Bedrock에서 /give가 작동하지 않는 이유는?
월드 설정에서 운영자 권한이 활성화되어 있는지 확인하세요.
게임에 존재하지 않는 아이템을 받을 수 있나요?
아니요, 유효한 아이템만 받을 수 있습니다. ID는 게임에 등록된 것과 정확히 일치해야 합니다.