public interface Agent extends MachineHost, Rotatable
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.IInventory |
equipmentInventory()
The equipment inventory of this agent.
|
net.minecraft.inventory.IInventory |
mainInventory()
The main inventory of this agent, which it (usually) also can
interact with on its own.
|
java.lang.String |
name()
Get the name of this agent.
|
java.lang.String |
ownerName()
The name of the player owning this agent, e.g.
|
java.util.UUID |
ownerUUID()
The UUID of the player owning this agent, e.g.
|
net.minecraft.entity.player.EntityPlayer |
player()
Returns the fake player used to represent the agent as an entity for
certain actions that require one.
|
int |
selectedSlot()
Gets the index of the currently selected slot in the agent's inventory.
|
int |
selectedTank()
Get the index of the currently selected tank.
|
void |
setName(java.lang.String name)
Set the name of the agent.
|
void |
setSelectedSlot(int index)
Set the index of the currently selected slot.
|
void |
setSelectedTank(int index)
Set the index of the currently selected tank.
|
MultiTank |
tank()
Provides access to the tanks of the agent.
|
componentSlot, internalComponents, machine, onMachineConnect, onMachineDisconnectmarkChanged, world, xPosition, yPosition, zPositionnet.minecraft.inventory.IInventory equipmentInventory()
net.minecraft.inventory.IInventory mainInventory()
MultiTank tank()
int selectedSlot()
void setSelectedSlot(int index)
int selectedTank()
void setSelectedTank(int index)
net.minecraft.entity.player.EntityPlayer player()
java.lang.String name()
void setName(java.lang.String name)
java.lang.String ownerName()
java.util.UUID ownerUUID()