public interface Robot extends Agent, Environment, EnvironmentHost, Tiered, net.minecraft.inventory.ISidedInventory, net.minecraftforge.fluids.IFluidHandler
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, onMachineConnect, onMachineDisconnect
markChanged, world, xPosition, yPosition, zPosition
node, onConnect, onDisconnect, onMessage
canExtractItem, canInsertItem, getAccessibleSlotsFromSide
closeInventory, decrStackSize, getInventoryName, getInventoryStackLimit, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, hasCustomInventoryName, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setInventorySlotContents
int componentCount()
Environment getComponentInSlot(int index)
index
- the index of the slot from which to get the environment.void synchronizeSlot(int slot)
boolean shouldAnimate()