Class RfidScannerPeripheral
java.lang.Object
me.alexdevs.classicPeripherals.peripherals.rfid.AbstractRfidScannerPeripheral
me.alexdevs.classicPeripherals.peripherals.rfid.RfidScannerPeripheral
- All Implemented Interfaces:
dan200.computercraft.api.peripheral.IPeripheral
-
Nested Class Summary
Nested classes/interfaces inherited from class me.alexdevs.classicPeripherals.peripherals.rfid.AbstractRfidScannerPeripheral
AbstractRfidScannerPeripheral.ScannedRfidBadge -
Field Summary
Fields inherited from class me.alexdevs.classicPeripherals.peripherals.rfid.AbstractRfidScannerPeripheral
computers, SCAN_TIME, scanAt, scanScheduled, scanStarted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(@Nullable dan200.computercraft.api.peripheral.IPeripheral other) net.minecraft.world.level.LevelgetLevel()net.minecraft.world.phys.Vec3protected voidupdateState(boolean active) Methods inherited from class me.alexdevs.classicPeripherals.peripherals.rfid.AbstractRfidScannerPeripheral
attach, detach, emitScanEvent, getType, isScanning, scan, scanBadges, scheduleScan, tickMethods 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
getAdditionalTypes, getTarget
-
Constructor Details
-
RfidScannerPeripheral
-
-
Method Details
-
equals
public boolean equals(@Nullable dan200.computercraft.api.peripheral.IPeripheral other) -
getPosition
public net.minecraft.world.phys.Vec3 getPosition()- Specified by:
getPositionin classAbstractRfidScannerPeripheral
-
getLevel
public net.minecraft.world.level.Level getLevel()- Specified by:
getLevelin classAbstractRfidScannerPeripheral
-
updateState
protected void updateState(boolean active) - Overrides:
updateStatein classAbstractRfidScannerPeripheral
-