Class PresenceSensorPeripheral
java.lang.Object
me.alexdevs.classicPeripherals.peripherals.presenceSensor.AbstractPresenceSensorPeripheral
me.alexdevs.classicPeripherals.peripherals.presenceSensor.PresenceSensorPeripheral
- All Implemented Interfaces:
dan200.computercraft.api.peripheral.IPeripheral
-
Nested Class Summary
Nested classes/interfaces inherited from class me.alexdevs.classicPeripherals.peripherals.presenceSensor.AbstractPresenceSensorPeripheral
AbstractPresenceSensorPeripheral.EntityPresenceData -
Field Summary
Fields inherited from class me.alexdevs.classicPeripherals.peripherals.presenceSensor.AbstractPresenceSensorPeripheral
computers, manualScan, scanIn -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.alexdevs.classicPeripherals.peripherals.presenceSensor.AbstractPresenceSensorPeripheral
attach, detach, emitScanEvent, getPlayerCastPoints, getType, scanEntities, sense, tick, updateStateMethods 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
-
PresenceSensorPeripheral
-
-
Method Details
-
equals
public boolean equals(@Nullable dan200.computercraft.api.peripheral.IPeripheral other) -
getPosition
public net.minecraft.world.phys.Vec3 getPosition()- Specified by:
getPositionin classAbstractPresenceSensorPeripheral
-
getLevel
public net.minecraft.world.level.Level getLevel()- Specified by:
getLevelin classAbstractPresenceSensorPeripheral
-