public interface Robot extends Agent, Environment, EnvironmentHost, Tiered, net.minecraft.inventory.ISidedInventory
Modifier and Type | Method and Description |
---|---|
int |
componentCount()
The number of built-in components in this robot.
|
Environment |
getComponentInSlot(int index)
Get the environment for the component in the specified slot.
|
boolean |
shouldAnimate()
This essentially returns whether the robot is currently running or not.
|
void |
synchronizeSlot(int slot)
Sends the state of the item in the specified slot to the client
if it is an upgrade.
|
equipmentInventory, mainInventory, name, ownerName, ownerUUID, player, selectedSlot, selectedTank, setName, setSelectedSlot, setSelectedTank, tank
componentSlot, internalComponents, machine, machinePosition, onMachineConnect, onMachineDisconnect
markChanged, world, xPosition, yPosition, zPosition
node, onConnect, onDisconnect, onMessage
canPlaceItemThroughFace, canTakeItemThroughFace, getSlotsForFace
int componentCount()
Environment getComponentInSlot(int index)
index
- the index of the slot from which to get the environment.void synchronizeSlot(int slot)
boolean shouldAnimate()