Interface SculkSensor
- All Superinterfaces:
AnaloguePowerable, BlockData, Cloneable, Waterlogged
- All Known Subinterfaces:
CalibratedSculkSensor
'sculk_sensor_phase' indicates the current operational phase of the sensor.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetPhase()Gets the value of the 'sculk_sensor_phase' property.voidsetPhase(SculkSensor.Phase phase) Sets the value of the 'sculk_sensor_phase' property.Methods inherited from interface AnaloguePowerable
getMaximumPower, getPower, setPowerMethods inherited from interface BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getPhase
Gets the value of the 'sculk_sensor_phase' property.- Returns:
- the 'sculk_sensor_phase' value
-
setPhase
Sets the value of the 'sculk_sensor_phase' property.- Parameters:
phase- the new 'sculk_sensor_phase' value
-