public interface Tablet extends EnvironmentHost, MachineHost, Rotatable
if (node.host() instanceof Tablet) {This can also be used by
HostAware
item
drivers to check if the provided environment class is a tablet by checking
for assignability, which allows for items that make no sense in tablets to
deny being placed into them in the assembler, for example.
The only purpose is to allow identifying tile entities as tablets
via the API, i.e. without having to link against internal classes. This
also means that you should not implement this.Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.EntityPlayer |
player()
Returns the player last holding the tablet.
|
componentSlot, internalComponents, machine, onMachineConnect, onMachineDisconnect
markChanged, world, xPosition, yPosition, zPosition
net.minecraft.entity.player.EntityPlayer player()