
/data
チート / OP 2Java版 26.3
ブロック、エンティティ、コマンドストレージのNBTデータを確認・編集します。 基本形は/data get block <target>で、40通りの構文と12個の引数があります。権限:チート / OP 2。
/dataの構文
ゲームデータゲームが受け付けるすべての形式です。<山かっこ>内の語は入力する引数で、それ以外はそのまま入力します。
/data get block <target>/data get block <target> <path>/data get block <target> <path> <scale>/data get entity <target>/data get entity <target> <path>/data get entity <target> <path> <scale>/data get storage <target>/data get storage <target> <path>/data get storage <target> <path> <scale>/data merge block <target> <nbt>/data merge entity <target> <nbt>/data merge storage <target> <nbt>/data modify block <target> <targetPath> append from block <source>/data modify block <target> <targetPath> append from entity <source>/data modify block <target> <targetPath> append from storage <source>/data modify block <target> <targetPath> append string block <source>/data modify block <target> <targetPath> append string entity <source>/data modify block <target> <targetPath> append string storage <source>/data modify block <target> <targetPath> append value <value>/data modify block <target> <targetPath> insert <index> value <value>/data modify block <target> <targetPath> merge from block <source>/data modify block <target> <targetPath> merge from entity <source>/data modify block <target> <targetPath> merge from storage <source>/data modify block <target> <targetPath> merge string block <source>/data modify block <target> <targetPath> merge string entity <source>/data modify block <target> <targetPath> merge string storage <source>/data modify block <target> <targetPath> merge value <value>/data modify block <target> <targetPath> prepend from block <source>/data modify block <target> <targetPath> prepend from entity <source>/data modify block <target> <targetPath> prepend from storage <source>/data modify block <target> <targetPath> prepend string block <source>/data modify block <target> <targetPath> prepend string entity <source>/data modify block <target> <targetPath> prepend string storage <source>/data modify block <target> <targetPath> prepend value <value>/data modify block <target> <targetPath> set from block <source>/data modify block <target> <targetPath> set from entity <source>/data modify block <target> <targetPath> set from storage <source>/data modify block <target> <targetPath> set string block <source>/data modify block <target> <targetPath> set string entity <source>/data modify block <target> <targetPath> set string storage <source>/dataの使用例
そのまま貼り付けて使える例です(チート有効時)。@sは自分、@pは最寄りのプレイヤー、@aは全員、@eはすべてのエンティティです。
/data get entity @s SelectedItem- 手に持っているアイテムのデータをすべて表示します。
/data merge entity @e[type=minecraft:zombie,limit=1,sort=nearest] {NoAI:1b}- AIをオフにして、最も近いゾンビを動けなくします。
/dataの引数
各引数に入れる値と、ゲームが設けている制限です。
| 引数 | 入力する値 | 制限 |
|---|---|---|
<target> | ブロック座標(x y z、~は相対、^はローカル) | — |
<path> | NBTパス | — |
<scale> | 数値 | — |
<nbt> | NBT複合タグ {…} | — |
<targetPath> | NBTパス | — |
<computePos> | ブロック座標(x y z、~は相対、^はローカル) | — |
<provider> | 数値プロバイダーID | — |
<computeTarget> | ターゲットセレクターまたはプレイヤー名(@s、@p、@a、@e、@r) | 対象は1つ |
<source> | ブロック座標(x y z、~は相対、^はローカル) | — |
<sourcePath> | NBTパス | — |
<value> | NBT値 | — |
<index> | 整数 | — |
その他のコマンド
データ:Minecraft Java版 26.3 のゲームファイル データの取得方法
ブロック、エンティティ、コマンドストレージのNBTデータを確認・編集します。 40通りの構文があり、実行できるのは:チート / OP 2。
関連ページ
/dataのよくある質問(Java版 26.3)
マイクラの/dataは何をするコマンド?
ブロック、エンティティ、コマンドストレージのNBTデータを確認・編集します。
/dataの構文は?
基本形は/data get block <target>です。すべての形式は上に掲載しています。
/dataの使用例は?
/data get entity @s SelectedItem — 手に持っているアイテムのデータをすべて表示します。
/dataにはチートが必要?
はい:チート / OP 2。シングルプレイでは「チートの許可」をオンにします(またはチートありでLANに公開)。