Interface Wall

All Superinterfaces:
BlockData, Cloneable, Waterlogged

public interface Wall extends Waterlogged
This class encompasses the 'north', 'east', 'south', 'west', height flags which are used to set the height of a wall. 'up' denotes whether the well has a center post.
  • Method Details

    • isUp

      boolean isUp()
      Gets the value of the 'up' property.
      Returns:
      the 'up' value
    • setUp

      void setUp(boolean up)
      Sets the value of the 'up' property.
      Parameters:
      up - the new 'up' value
    • getHeight

      Gets the height of the specified face.
      Parameters:
      face - to check
      Returns:
      if face is enabled
    • setHeight

      void setHeight(@NotNull @NotNull BlockFace face, @NotNull @NotNull Wall.Height height)
      Set the height of the specified face.
      Parameters:
      face - to set
      height - the height