この項目はMinecraft Education限定の要素です。
エージェント(英:Agent)は、Education EditionまたはBedrock Edition 限定の Mob である。エージェントの動作をプレイヤーにコーディングさせることで、プレイヤーのコーディングの学習を手助けすることができる。
また、Bedrock Editionでエージェントを使ってプログラムするにはCode connection for Minecraftを入手する必要がある。
用途
エージェントはMinecraft Bedrock Editionで/connectを実行したプレイヤーの真下に出現する。
また、Code Connection for Minecraft(Education EditionまたはBedrock Edition 用のプログラム)と併用して使用され、視覚的な ScratchX インターフェイスでプログラムができる。
エージェントには27個分のインベントリが存在し、プレイヤーが使用するようコマンドで命令したり、ゲーム内の GUI にアクセスすることで直接編集することができる。
ビジュアルインターフェイスを使用することで、コマンドをドラッグアンドドロップしたり、構造物の構成要素や他の構成要素をシーケンスに組み込み、コンソールから従来の方法で実行できるカスタムネーム付きのスラッシュコマンドとシーケンスを関連付けることができる。
エージェントのコマンド
move <direction>
turn <turnDirection>
attack <direction>
destroy <direction>
drop <int:slotNum> <int:quantity> <direction>
dropall <direction>
inspect <direction>
inspectdata <direction>
detect <direction>
detectredstone <direction>
transfer <int:srcSlotNum> <int:quantity> <int:dstSlotNum>
createagent
tpagent
collect <string:item>
till <direction>
place <int:slotNum> <direction>
getitemcount <int:slotNum>
getitemspace <int:slotNum>
getitemdetail <int:slotNum>
<direction>
は forward|back|left|right|up|down
を指す
<turnDirection>
は left|right
を指す
歴史
Pocket Edition Alpha | |||||
---|---|---|---|---|---|
0.16.0 | build 1 | エージェントが追加された。 | |||
build 2 | エージェントが削除された。 | ||||
Pocket Edition | |||||
1.0 | build 1 | エージェントが .apk ファイル内に隠れた形で再追加された。 | |||
Education Edition | |||||
1.0.1 | エージェントが「コードの学習用マスコット」として追加された。 | ||||
1.0.2 | エンティティ IDが "learn_to_code_mascot" から "agent" になった | ||||
1.4.0 | Agent's default name tag color changed to blue. | ||||
1.7 | Agent can now be removed through /remove | ||||
Players will be able to show the agent coordinates on the HUD | |||||
/summon agent now creates or teleports the executor’s agent to the executor. | |||||
Added spawn eggs for agents | |||||
開発中のBedrock Edition | |||||
1.8 | エージェントが .apk ファイル内に隠れた形で再追加された。 | ||||
1.8 | エージェントのスポーンエッグが追加された |
トリビア
- エージェントのモデルはアイアンゴーレムに似ているが、それよりも小さくテクスチャが異なる。