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

Minecraft /give Command

itemsJava版統合版 (Bedrock)

指定したアイテムをプレイヤーに与えます(Java版ではカスタムNBTデータを含む)。

バージョン対応

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

コマンド構文

Java版/give <targets> <item>[<components>] [<count>]
統合版 (Bedrock)/give <player> <itemName> [amount] [data] [components]

引数の解説

実用的な使用例

beginner両エディション
/give @p minecraft:diamond 64

Gives the nearest player a full stack (64) of diamonds.

Standard command for rewarding players or stocking inventories.

intermediateJava版
/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.

intermediate統合版 (Bedrock)
/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.

beginner両エディション
/give @a minecraft:cooked_beef 32

Gives 32 cooked beef to all connected players simultaneously.

Perfect for starting food kits or UHC events.

advancedJava版
/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.

Advertisement

よくあるミス

ミス:

アイテム名を大文字で入力する

修正方法:

アイテムIDは大文字小文字を区別し、小文字とアンダースコアで入力する必要があります。

ミス:

Bedrock版で64個以上のアイテムを一度に入手しようとする

修正方法:

Bedrock版ではコマンドごとに64個が上限です。複数のコマンドを使用してください。

ミス:

/giveにオペレーター権限が必要なことを忘れる

修正方法:

OP権限があるか、権限が有効なコマンドブロックを使用してください。

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.

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.

便利なヒント

  • 末尾に数字を追加して複数のアイテムを付与できます: /give @p dirt 64

  • @sで自分、@pで最も近いプレイヤー、@aで全プレイヤーにアイテムを与えます。

  • Java版のアイテムコンポーネントを使用して、エンチャメントや属性で武器や防具をカスタマイズできます。

  • Bedrock版では、ほとんどのアイテムのスタック数は64に制限されています。

  • コマンドブロックで/giveを使用して、アイテム自動配布システムを作成できます。

重要な注意事項

Java 1.20.5以降では、波括弧{}内のNBT構文は角括弧[]内のアイテムコンポーネントに置き換えられました。

よくある質問

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

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

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