Interface Waterlogged

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
AmethystCluster, BigDripleaf, CalibratedSculkSensor, 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

public interface Waterlogged extends BlockData
'waterlogged' denotes whether this block has fluid in it.
  • Method Details

    • isWaterlogged

      boolean isWaterlogged()
      Gets the value of the 'waterlogged' property.
      the 'waterlogged' value
    • setWaterlogged

      void setWaterlogged(boolean waterlogged)
      Sets the value of the 'waterlogged' property.
      waterlogged - the new 'waterlogged' value