これは Java(ジャバ)ばんの ページです。 とうごうばん(Bedrock)は こちら →
← ぜんぶの コマンドに もどるルートテーブルの結果を生成する/loot
指定したルートテーブルの結果をワールドまたはインベントリへ出力します。
だれが つかえるか
レベル 2 … チートが ON の ワールドか、サーバーの OP(gamemasters)だけ つかえます。
どこで つかえるか
ひとりで あそぶ ワールドでも、みんなで あそぶ サーバーでも つかえます。
かきかた
ここは かきかたを みる ところです。えらんで つくることは できません。 かんたんモード と じょうけんを かさねる では、えらぶだけで つくれます。
ぜんぶで 70 とおり あります。おおいので、はじめの ことばで まとめて あります。おしたら ひらきます。
give10 とおり
- /loot give <players> fish <loot_table> <pos>
- /loot give <players> fish <loot_table> <pos> mainhand
- /loot give <players> fish <loot_table> <pos> offhand
- /loot give <players> fish <loot_table> <pos> <tool>
- /loot give <players> kill <target>
- /loot give <players> loot <loot_table>
- /loot give <players> mine <pos>
- /loot give <players> mine <pos> mainhand
- /loot give <players> mine <pos> offhand
- /loot give <players> mine <pos> <tool>
insert10 とおり
- /loot insert <targetPos> fish <loot_table> <pos>
- /loot insert <targetPos> fish <loot_table> <pos> mainhand
- /loot insert <targetPos> fish <loot_table> <pos> offhand
- /loot insert <targetPos> fish <loot_table> <pos> <tool>
- /loot insert <targetPos> kill <target>
- /loot insert <targetPos> loot <loot_table>
- /loot insert <targetPos> mine <pos>
- /loot insert <targetPos> mine <pos> mainhand
- /loot insert <targetPos> mine <pos> offhand
- /loot insert <targetPos> mine <pos> <tool>
replace40 とおり
- /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos>
- /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> mainhand
- /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> offhand
- /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> <tool>
- /loot replace block <targetPos> <slot> <count> kill <target>
- /loot replace block <targetPos> <slot> <count> loot <loot_table>
- /loot replace block <targetPos> <slot> <count> mine <pos>
- /loot replace block <targetPos> <slot> <count> mine <pos> mainhand
- /loot replace block <targetPos> <slot> <count> mine <pos> offhand
- /loot replace block <targetPos> <slot> <count> mine <pos> <tool>
- /loot replace block <targetPos> <slot> fish <loot_table> <pos>
- /loot replace block <targetPos> <slot> fish <loot_table> <pos> mainhand
- /loot replace block <targetPos> <slot> fish <loot_table> <pos> offhand
- /loot replace block <targetPos> <slot> fish <loot_table> <pos> <tool>
- /loot replace block <targetPos> <slot> kill <target>
- /loot replace block <targetPos> <slot> loot <loot_table>
- /loot replace block <targetPos> <slot> mine <pos>
- /loot replace block <targetPos> <slot> mine <pos> mainhand
- /loot replace block <targetPos> <slot> mine <pos> offhand
- /loot replace block <targetPos> <slot> mine <pos> <tool>
- /loot replace entity <entities> <slot> <count> fish <loot_table> <pos>
- /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> mainhand
- /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> offhand
- /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> <tool>
- /loot replace entity <entities> <slot> <count> kill <target>
- /loot replace entity <entities> <slot> <count> loot <loot_table>
- /loot replace entity <entities> <slot> <count> mine <pos>
- /loot replace entity <entities> <slot> <count> mine <pos> mainhand
- /loot replace entity <entities> <slot> <count> mine <pos> offhand
- /loot replace entity <entities> <slot> <count> mine <pos> <tool>
- /loot replace entity <entities> <slot> fish <loot_table> <pos>
- /loot replace entity <entities> <slot> fish <loot_table> <pos> mainhand
- /loot replace entity <entities> <slot> fish <loot_table> <pos> offhand
- /loot replace entity <entities> <slot> fish <loot_table> <pos> <tool>
- /loot replace entity <entities> <slot> kill <target>
- /loot replace entity <entities> <slot> loot <loot_table>
- /loot replace entity <entities> <slot> mine <pos>
- /loot replace entity <entities> <slot> mine <pos> mainhand
- /loot replace entity <entities> <slot> mine <pos> offhand
- /loot replace entity <entities> <slot> mine <pos> <tool>
spawn10 とおり
- /loot spawn <targetPos> fish <loot_table> <pos>
- /loot spawn <targetPos> fish <loot_table> <pos> mainhand
- /loot spawn <targetPos> fish <loot_table> <pos> offhand
- /loot spawn <targetPos> fish <loot_table> <pos> <tool>
- /loot spawn <targetPos> kill <target>
- /loot spawn <targetPos> loot <loot_table>
- /loot spawn <targetPos> mine <pos>
- /loot spawn <targetPos> mine <pos> mainhand
- /loot spawn <targetPos> mine <pos> offhand
- /loot spawn <targetPos> mine <pos> <tool>
くわしい せつめい
give でプレイヤーの持ち物へ、insert でチェストなどの入れ物へ、spawn で床へ、replace で決めたスロットへ入れます。中身の決めかたは loot(ルートテーブルそのまま)と kill(そのモブを倒したときの落とし物)と mine(そのブロックを壊したときの落とし物)と fish(釣りの結果)から選びます。mine と fish では、つかう道具を mainhand か offhand か アイテム指定で書けます。