MineToolsminetools.cn ・Minecraft Javaツール

サボテンコマンド

minecraft:cactus英語名 Cactus

サボテン(minecraft:cactus)は最大64個までスタックできます。よく使う付与・設置・消去・確認コマンドです。「コピー」をクリックすると使えます。

よく使うコマンド

最も近いプレイヤーにサボテンを1個与える
/give @p minecraft:cactus
1スタック(64個)を与える
/give @p minecraft:cactus 64
すべてのプレイヤーに与える
/give @a minecraft:cactus
金色の名前
/give @p cactus[custom_name={translate:"block.minecraft.cactus",color:"gold",italic:false}]

自分で付けた名前にするには、translateの部分を通常のテキストに変更します

足元に1個設置
/setblock ~ ~ ~ minecraft:cactus
5×5の範囲に敷き詰める
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:cactus

足元のブロックを置き換えます

プレイヤーからサボテンをすべて消去
/clear @p minecraft:cactus
サボテンを手に持っているか確認
/execute as @a if items entity @s weapon.mainhand minecraft:cactus run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"block.minecraft.cactus"}]
アイテムジェネレーターで編集(名前、エンチャント、属性など)

基本情報

アイテムID
minecraft:cactus
最大スタック数
64
種類
ブロック(設置可能)

データはMinecraft Java 26.3の公式データに基づいており、すべてのコマンドで26.3の構文チェックを行っています。