Class DragInducerPeripheral
java.lang.Object
net.jcm.vsch.compat.cc.peripherals.DragInducerPeripheral
- All Implemented Interfaces:
dan200.computercraft.api.peripheral.IPeripheral
public class DragInducerPeripheral
extends Object
implements dan200.computercraft.api.peripheral.IPeripheral
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(dan200.computercraft.api.peripheral.IPeripheral other) booleangetType()booleanvoidsetEnabled(boolean enabled) voidsetPeripheralMode(boolean mode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dan200.computercraft.api.peripheral.IPeripheral
attach, detach, getAdditionalTypes
-
Constructor Details
-
DragInducerPeripheral
-
-
Method Details
-
getTarget
- Specified by:
getTargetin interfacedan200.computercraft.api.peripheral.IPeripheral
-
getType
- Specified by:
getTypein interfacedan200.computercraft.api.peripheral.IPeripheral
-
getPeripheralMode
@LuaFunction public boolean getPeripheralMode() -
setPeripheralMode
@LuaFunction public void setPeripheralMode(boolean mode) -
isEnabled
@LuaFunction public boolean isEnabled() -
setEnabled
@LuaFunction public void setEnabled(boolean enabled) throws dan200.computercraft.api.lua.LuaException - Throws:
dan200.computercraft.api.lua.LuaException
-
equals
public boolean equals(dan200.computercraft.api.peripheral.IPeripheral other) - Specified by:
equalsin interfacedan200.computercraft.api.peripheral.IPeripheral
-