Agent

The agent is your assistant who helps you do things in Minecraft. You command the agent with the ||agent:agent|| blocks.

Your agent appears when you teleport it to you. When you have your agent, it can do work for you. Give things from your inventory to your agent and have it build stuff for you. Use the ||agent:agent place|| action to make the agent place a block somewhere.

You make your agent go in different directions by moving, turning, and detecting blocks in the way.

Reference

agent.move(FORWARD, 1)
agent.turn(TurnDirection.Left)
agent.detect(AgentDetection.Block, FORWARD)
agent.setAssist(PLACE_ON_MOVE, false)

Position

agent.teleportToPlayer();
agent.teleport(pos(0, 0, 0), WEST)
agent.getPosition()
agent.getOrientation()

Actions

agent.place(BACK)
agent.destroy(FORWARD)
agent.till(FORWARD)
agent.attack(FORWARD)
agent.setSlot(1)
agent.collectAll()
agent.collect(IRON_SHOVEL)
agent.inspect(AgentInspection.Block, FORWARD)
agent.interact(FORWARD)

Inventory

agent.transfer(
    1,
    1,
    2
)
agent.drop(
    BACK,
    1,
    1
)
agent.dropAll(FORWARD)
agent.getItemCount(1)
agent.getItemSpace(1)
agent.getItemDetail(1)
agent.setItem(0, 0, 0)