Package org.bukkit.block
Interface Conduit
- All Superinterfaces:
BlockState
,Metadatable
,PersistentDataHolder
,TileState
Represents a captured state of a conduit.
-
Method Summary
Methods inherited from interface org.bukkit.block.BlockState
copy, getBlock, getBlockData, getChunk, getData, getDrops, getDrops, getDrops, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isCollidable, isPlaced, setBlockData, setData, setRawData, setType, update, update, update
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface org.bukkit.block.TileState
getPersistentDataContainer, isSnapshot
-
Method Details
-
isActive
boolean isActive()Gets if the conduit is currently active.Requires the conduit to be placed in the world.
- Returns:
- if the conduit is active
-
getRange
int getRange()Gets the range in which the Conduit Power effect gets added to players.Requires the conduit to be placed in the world.
- Returns:
- the range
-
getTarget
Gets the current target of the conduit.- Returns:
- the current target
-