li.cil.oc.api.network
@Deprecated public interface RobotContext extends Context
Robot) or use
(Robot)((Machine)context).owner().| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.player.EntityPlayer |
player()
Deprecated.
Returns the fake player used to represent the robot as an entity for
certain actions that require one.
|
void |
saveUpgrade()
Deprecated.
Causes the currently installed upgrade to be saved and synchronized.
|
int |
selectedSlot()
Deprecated.
Gets the index of the currently selected slot in the robot's inventory.
|
int selectedSlot()
net.minecraft.entity.player.EntityPlayer player()
void saveUpgrade()