Package org.bukkit.block.data
Interface Waterlogged
- All Known Subinterfaces:
- AmethystCluster,- BigDripleaf,- Campfire,- Candle,- Chain,- Chest,- CoralWallFan,- DecoratedPot,- Dripleaf,- EnderChest,- Fence,- GlassPane,- GlowLichen,- HangingSign,- Ladder,- Lantern,- Leaves,- Light,- LightningRod,- MangrovePropagule,- PointedDripstone,- Rail,- RedstoneRail,- Scaffolding,- SculkSensor,- SculkShrieker,- SculkVein,- SeaPickle,- Sign,- Slab,- SmallDripleaf,- Stairs,- TrapDoor,- Wall,- WallHangingSign,- WallSign
'waterlogged' denotes whether this block has fluid in it.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the value of the 'waterlogged' property.voidsetWaterlogged(boolean waterlogged) Sets the value of the 'waterlogged' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
- 
Method Details- 
isWaterloggedboolean isWaterlogged()Gets the value of the 'waterlogged' property.- Returns:
- the 'waterlogged' value
 
- 
setWaterloggedvoid setWaterlogged(boolean waterlogged) Sets the value of the 'waterlogged' property.- Parameters:
- waterlogged- the new 'waterlogged' value
 
 
-