Package org.bukkit.block.data.type
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 TypeMethodDescriptiondefault @NotNull SculkSensor.PhasegetPhase()Deprecated.Gets the value of the 'sculk_sensor_phase' property.default voidsetPhase(@NotNull SculkSensor.Phase phase) Deprecated.bad name, usesetSculkSensorPhase(Phase)voidSets the value of the 'sculk_sensor_phase' property.Methods inherited from interface org.bukkit.block.data.AnaloguePowerable
getMaximumPower, getPower, setPowerMethods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getPhase
Deprecated.bad name, usegetSculkSensorPhase()Gets the value of the 'sculk_sensor_phase' property.- Returns:
- the 'sculk_sensor_phase' value
-
setPhase
Deprecated.bad name, usesetSculkSensorPhase(Phase)Sets the value of the 'sculk_sensor_phase' property.- Parameters:
phase- the new 'sculk_sensor_phase' value
-
getSculkSensorPhase
Gets the value of the 'sculk_sensor_phase' property.- Returns:
- the 'sculk_sensor_phase' value
-
setSculkSensorPhase
Sets the value of the 'sculk_sensor_phase' property.- Parameters:
phase- the new 'sculk_sensor_phase' value
-
getSculkSensorPhase()