これは Java(ジャバ)ばんの ページです。 とうごうばん(Bedrock)は こちら →
← ぜんぶの コマンドに もどるNBTデータを調べる・書きかえる/data
ブロックやエンティティやストレージのNBTを取得・変更します。
だれが つかえるか
レベル 2 … チートが ON の ワールドか、サーバーの OP(gamemasters)だけ つかえます。
どこで つかえるか
ひとりで あそぶ ワールドでも、みんなで あそぶ サーバーでも つかえます。
かきかた
ここは かきかたを みる ところです。えらんで つくることは できません。 かんたんモード と じょうけんを かさねる では、えらぶだけで つくれます。
ぜんぶで 300 とおり あります。おおいので、はじめの ことばで まとめて あります。おしたら ひらきます。
get9 とおり
- /data get block <targetPos>
- /data get block <targetPos> <path>
- /data get block <targetPos> <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>
merge3 とおり
- /data merge block <targetPos> <nbt>
- /data merge entity <target> <nbt>
- /data merge storage <target> <nbt>
modify285 とおり
block95 とおり
- /data modify block <targetPos> <targetPath> append from block <sourcePos>
- /data modify block <targetPos> <targetPath> append from block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> append from entity <source>
- /data modify block <targetPos> <targetPath> append from entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> append from storage <source>
- /data modify block <targetPos> <targetPath> append from storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> append string block <sourcePos>
- /data modify block <targetPos> <targetPath> append string block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> append string block <sourcePos> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> append string block <sourcePos> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> append string entity <source>
- /data modify block <targetPos> <targetPath> append string entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> append string entity <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> append string entity <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> append string storage <source>
- /data modify block <targetPos> <targetPath> append string storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> append string storage <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> append string storage <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> append value <value>
- /data modify block <targetPos> <targetPath> insert <index> from block <sourcePos>
- /data modify block <targetPos> <targetPath> insert <index> from block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> insert <index> from entity <source>
- /data modify block <targetPos> <targetPath> insert <index> from entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> insert <index> from storage <source>
- /data modify block <targetPos> <targetPath> insert <index> from storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos>
- /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> insert <index> string entity <source>
- /data modify block <targetPos> <targetPath> insert <index> string entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> insert <index> string entity <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> insert <index> string entity <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> insert <index> string storage <source>
- /data modify block <targetPos> <targetPath> insert <index> string storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> insert <index> string storage <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> insert <index> string storage <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> insert <index> value <value>
- /data modify block <targetPos> <targetPath> merge from block <sourcePos>
- /data modify block <targetPos> <targetPath> merge from block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> merge from entity <source>
- /data modify block <targetPos> <targetPath> merge from entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> merge from storage <source>
- /data modify block <targetPos> <targetPath> merge from storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> merge string block <sourcePos>
- /data modify block <targetPos> <targetPath> merge string block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> merge string block <sourcePos> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> merge string block <sourcePos> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> merge string entity <source>
- /data modify block <targetPos> <targetPath> merge string entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> merge string entity <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> merge string entity <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> merge string storage <source>
- /data modify block <targetPos> <targetPath> merge string storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> merge string storage <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> merge string storage <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> merge value <value>
- /data modify block <targetPos> <targetPath> prepend from block <sourcePos>
- /data modify block <targetPos> <targetPath> prepend from block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> prepend from entity <source>
- /data modify block <targetPos> <targetPath> prepend from entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> prepend from storage <source>
- /data modify block <targetPos> <targetPath> prepend from storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> prepend string block <sourcePos>
- /data modify block <targetPos> <targetPath> prepend string block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> prepend string block <sourcePos> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> prepend string block <sourcePos> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> prepend string entity <source>
- /data modify block <targetPos> <targetPath> prepend string entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> prepend string entity <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> prepend string entity <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> prepend string storage <source>
- /data modify block <targetPos> <targetPath> prepend string storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> prepend string storage <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> prepend string storage <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> prepend value <value>
- /data modify block <targetPos> <targetPath> set from block <sourcePos>
- /data modify block <targetPos> <targetPath> set from block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> set from entity <source>
- /data modify block <targetPos> <targetPath> set from entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> set from storage <source>
- /data modify block <targetPos> <targetPath> set from storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> set string block <sourcePos>
- /data modify block <targetPos> <targetPath> set string block <sourcePos> <sourcePath>
- /data modify block <targetPos> <targetPath> set string block <sourcePos> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> set string block <sourcePos> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> set string entity <source>
- /data modify block <targetPos> <targetPath> set string entity <source> <sourcePath>
- /data modify block <targetPos> <targetPath> set string entity <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> set string entity <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> set string storage <source>
- /data modify block <targetPos> <targetPath> set string storage <source> <sourcePath>
- /data modify block <targetPos> <targetPath> set string storage <source> <sourcePath> <start>
- /data modify block <targetPos> <targetPath> set string storage <source> <sourcePath> <start> <end>
- /data modify block <targetPos> <targetPath> set value <value>
entity95 とおり
- /data modify entity <target> <targetPath> append from block <sourcePos>
- /data modify entity <target> <targetPath> append from block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> append from entity <source>
- /data modify entity <target> <targetPath> append from entity <source> <sourcePath>
- /data modify entity <target> <targetPath> append from storage <source>
- /data modify entity <target> <targetPath> append from storage <source> <sourcePath>
- /data modify entity <target> <targetPath> append string block <sourcePos>
- /data modify entity <target> <targetPath> append string block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> append string block <sourcePos> <sourcePath> <start>
- /data modify entity <target> <targetPath> append string block <sourcePos> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> append string entity <source>
- /data modify entity <target> <targetPath> append string entity <source> <sourcePath>
- /data modify entity <target> <targetPath> append string entity <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> append string entity <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> append string storage <source>
- /data modify entity <target> <targetPath> append string storage <source> <sourcePath>
- /data modify entity <target> <targetPath> append string storage <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> append string storage <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> append value <value>
- /data modify entity <target> <targetPath> insert <index> from block <sourcePos>
- /data modify entity <target> <targetPath> insert <index> from block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> insert <index> from entity <source>
- /data modify entity <target> <targetPath> insert <index> from entity <source> <sourcePath>
- /data modify entity <target> <targetPath> insert <index> from storage <source>
- /data modify entity <target> <targetPath> insert <index> from storage <source> <sourcePath>
- /data modify entity <target> <targetPath> insert <index> string block <sourcePos>
- /data modify entity <target> <targetPath> insert <index> string block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start>
- /data modify entity <target> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> insert <index> string entity <source>
- /data modify entity <target> <targetPath> insert <index> string entity <source> <sourcePath>
- /data modify entity <target> <targetPath> insert <index> string entity <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> insert <index> string entity <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> insert <index> string storage <source>
- /data modify entity <target> <targetPath> insert <index> string storage <source> <sourcePath>
- /data modify entity <target> <targetPath> insert <index> string storage <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> insert <index> string storage <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> insert <index> value <value>
- /data modify entity <target> <targetPath> merge from block <sourcePos>
- /data modify entity <target> <targetPath> merge from block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> merge from entity <source>
- /data modify entity <target> <targetPath> merge from entity <source> <sourcePath>
- /data modify entity <target> <targetPath> merge from storage <source>
- /data modify entity <target> <targetPath> merge from storage <source> <sourcePath>
- /data modify entity <target> <targetPath> merge string block <sourcePos>
- /data modify entity <target> <targetPath> merge string block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> merge string block <sourcePos> <sourcePath> <start>
- /data modify entity <target> <targetPath> merge string block <sourcePos> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> merge string entity <source>
- /data modify entity <target> <targetPath> merge string entity <source> <sourcePath>
- /data modify entity <target> <targetPath> merge string entity <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> merge string entity <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> merge string storage <source>
- /data modify entity <target> <targetPath> merge string storage <source> <sourcePath>
- /data modify entity <target> <targetPath> merge string storage <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> merge string storage <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> merge value <value>
- /data modify entity <target> <targetPath> prepend from block <sourcePos>
- /data modify entity <target> <targetPath> prepend from block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> prepend from entity <source>
- /data modify entity <target> <targetPath> prepend from entity <source> <sourcePath>
- /data modify entity <target> <targetPath> prepend from storage <source>
- /data modify entity <target> <targetPath> prepend from storage <source> <sourcePath>
- /data modify entity <target> <targetPath> prepend string block <sourcePos>
- /data modify entity <target> <targetPath> prepend string block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> prepend string block <sourcePos> <sourcePath> <start>
- /data modify entity <target> <targetPath> prepend string block <sourcePos> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> prepend string entity <source>
- /data modify entity <target> <targetPath> prepend string entity <source> <sourcePath>
- /data modify entity <target> <targetPath> prepend string entity <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> prepend string entity <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> prepend string storage <source>
- /data modify entity <target> <targetPath> prepend string storage <source> <sourcePath>
- /data modify entity <target> <targetPath> prepend string storage <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> prepend string storage <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> prepend value <value>
- /data modify entity <target> <targetPath> set from block <sourcePos>
- /data modify entity <target> <targetPath> set from block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> set from entity <source>
- /data modify entity <target> <targetPath> set from entity <source> <sourcePath>
- /data modify entity <target> <targetPath> set from storage <source>
- /data modify entity <target> <targetPath> set from storage <source> <sourcePath>
- /data modify entity <target> <targetPath> set string block <sourcePos>
- /data modify entity <target> <targetPath> set string block <sourcePos> <sourcePath>
- /data modify entity <target> <targetPath> set string block <sourcePos> <sourcePath> <start>
- /data modify entity <target> <targetPath> set string block <sourcePos> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> set string entity <source>
- /data modify entity <target> <targetPath> set string entity <source> <sourcePath>
- /data modify entity <target> <targetPath> set string entity <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> set string entity <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> set string storage <source>
- /data modify entity <target> <targetPath> set string storage <source> <sourcePath>
- /data modify entity <target> <targetPath> set string storage <source> <sourcePath> <start>
- /data modify entity <target> <targetPath> set string storage <source> <sourcePath> <start> <end>
- /data modify entity <target> <targetPath> set value <value>
storage95 とおり
- /data modify storage <target> <targetPath> append from block <sourcePos>
- /data modify storage <target> <targetPath> append from block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> append from entity <source>
- /data modify storage <target> <targetPath> append from entity <source> <sourcePath>
- /data modify storage <target> <targetPath> append from storage <source>
- /data modify storage <target> <targetPath> append from storage <source> <sourcePath>
- /data modify storage <target> <targetPath> append string block <sourcePos>
- /data modify storage <target> <targetPath> append string block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> append string block <sourcePos> <sourcePath> <start>
- /data modify storage <target> <targetPath> append string block <sourcePos> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> append string entity <source>
- /data modify storage <target> <targetPath> append string entity <source> <sourcePath>
- /data modify storage <target> <targetPath> append string entity <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> append string entity <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> append string storage <source>
- /data modify storage <target> <targetPath> append string storage <source> <sourcePath>
- /data modify storage <target> <targetPath> append string storage <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> append string storage <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> append value <value>
- /data modify storage <target> <targetPath> insert <index> from block <sourcePos>
- /data modify storage <target> <targetPath> insert <index> from block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> insert <index> from entity <source>
- /data modify storage <target> <targetPath> insert <index> from entity <source> <sourcePath>
- /data modify storage <target> <targetPath> insert <index> from storage <source>
- /data modify storage <target> <targetPath> insert <index> from storage <source> <sourcePath>
- /data modify storage <target> <targetPath> insert <index> string block <sourcePos>
- /data modify storage <target> <targetPath> insert <index> string block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start>
- /data modify storage <target> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> insert <index> string entity <source>
- /data modify storage <target> <targetPath> insert <index> string entity <source> <sourcePath>
- /data modify storage <target> <targetPath> insert <index> string entity <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> insert <index> string entity <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> insert <index> string storage <source>
- /data modify storage <target> <targetPath> insert <index> string storage <source> <sourcePath>
- /data modify storage <target> <targetPath> insert <index> string storage <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> insert <index> string storage <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> insert <index> value <value>
- /data modify storage <target> <targetPath> merge from block <sourcePos>
- /data modify storage <target> <targetPath> merge from block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> merge from entity <source>
- /data modify storage <target> <targetPath> merge from entity <source> <sourcePath>
- /data modify storage <target> <targetPath> merge from storage <source>
- /data modify storage <target> <targetPath> merge from storage <source> <sourcePath>
- /data modify storage <target> <targetPath> merge string block <sourcePos>
- /data modify storage <target> <targetPath> merge string block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> merge string block <sourcePos> <sourcePath> <start>
- /data modify storage <target> <targetPath> merge string block <sourcePos> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> merge string entity <source>
- /data modify storage <target> <targetPath> merge string entity <source> <sourcePath>
- /data modify storage <target> <targetPath> merge string entity <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> merge string entity <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> merge string storage <source>
- /data modify storage <target> <targetPath> merge string storage <source> <sourcePath>
- /data modify storage <target> <targetPath> merge string storage <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> merge string storage <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> merge value <value>
- /data modify storage <target> <targetPath> prepend from block <sourcePos>
- /data modify storage <target> <targetPath> prepend from block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> prepend from entity <source>
- /data modify storage <target> <targetPath> prepend from entity <source> <sourcePath>
- /data modify storage <target> <targetPath> prepend from storage <source>
- /data modify storage <target> <targetPath> prepend from storage <source> <sourcePath>
- /data modify storage <target> <targetPath> prepend string block <sourcePos>
- /data modify storage <target> <targetPath> prepend string block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> prepend string block <sourcePos> <sourcePath> <start>
- /data modify storage <target> <targetPath> prepend string block <sourcePos> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> prepend string entity <source>
- /data modify storage <target> <targetPath> prepend string entity <source> <sourcePath>
- /data modify storage <target> <targetPath> prepend string entity <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> prepend string entity <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> prepend string storage <source>
- /data modify storage <target> <targetPath> prepend string storage <source> <sourcePath>
- /data modify storage <target> <targetPath> prepend string storage <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> prepend string storage <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> prepend value <value>
- /data modify storage <target> <targetPath> set from block <sourcePos>
- /data modify storage <target> <targetPath> set from block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> set from entity <source>
- /data modify storage <target> <targetPath> set from entity <source> <sourcePath>
- /data modify storage <target> <targetPath> set from storage <source>
- /data modify storage <target> <targetPath> set from storage <source> <sourcePath>
- /data modify storage <target> <targetPath> set string block <sourcePos>
- /data modify storage <target> <targetPath> set string block <sourcePos> <sourcePath>
- /data modify storage <target> <targetPath> set string block <sourcePos> <sourcePath> <start>
- /data modify storage <target> <targetPath> set string block <sourcePos> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> set string entity <source>
- /data modify storage <target> <targetPath> set string entity <source> <sourcePath>
- /data modify storage <target> <targetPath> set string entity <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> set string entity <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> set string storage <source>
- /data modify storage <target> <targetPath> set string storage <source> <sourcePath>
- /data modify storage <target> <targetPath> set string storage <source> <sourcePath> <start>
- /data modify storage <target> <targetPath> set string storage <source> <sourcePath> <start> <end>
- /data modify storage <target> <targetPath> set value <value>
remove3 とおり
- /data remove block <targetPos> <path>
- /data remove entity <target> <path>
- /data remove storage <target> <path>
くわしい せつめい
get で中身を読み、merge で まとめて足し、remove で消します。modify では set・append・prepend・insert・merge から やりかたを選び、あたいを直接書く(value)ほか、別の場所から写す(from)ことも、文字として写す(string)こともできます。相手は block(座標)と entity(1 体)と storage(ID)です。このアプリは NBT パスの中身をまだ検査していないので、パスの書きまちがいは実機で見つかります。