Class StairsMock

java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.StairsMock
All Implemented Interfaces:
Cloneable, org.bukkit.block.data.Bisected, org.bukkit.block.data.BlockData, org.bukkit.block.data.Directional, org.bukkit.block.data.type.Stairs, org.bukkit.block.data.Waterlogged

public class StairsMock extends BlockDataMock implements org.bukkit.block.data.type.Stairs
Mock implementation of Stairs.
  • Constructor Details

    • StairsMock

      public StairsMock(@NotNull @NotNull org.bukkit.Material type)
      Constructs a new BedMock for the provided Material. Only supports materials in Tag.STAIRS
      Parameters:
      type - The material this data is for.
  • Method Details

    • getShape

      @NotNull public @NotNull org.bukkit.block.data.type.Stairs.Shape getShape()
      Specified by:
      getShape in interface org.bukkit.block.data.type.Stairs
    • setShape

      public void setShape(@NotNull @NotNull org.bukkit.block.data.type.Stairs.Shape shape)
      Specified by:
      setShape in interface org.bukkit.block.data.type.Stairs
    • getHalf

      @NotNull public @NotNull org.bukkit.block.data.Bisected.Half getHalf()
      Specified by:
      getHalf in interface org.bukkit.block.data.Bisected
    • setHalf

      public void setHalf(@NotNull @NotNull org.bukkit.block.data.Bisected.Half half)
      Specified by:
      setHalf in interface org.bukkit.block.data.Bisected
    • getFacing

      @NotNull public @NotNull org.bukkit.block.BlockFace getFacing()
      Specified by:
      getFacing in interface org.bukkit.block.data.Directional
    • setFacing

      public void setFacing(@NotNull @NotNull org.bukkit.block.BlockFace facing)
      Specified by:
      setFacing in interface org.bukkit.block.data.Directional
    • getFaces

      @NotNull public @NotNull Set<org.bukkit.block.BlockFace> getFaces()
      Specified by:
      getFaces in interface org.bukkit.block.data.Directional
    • isWaterlogged

      public boolean isWaterlogged()
      Specified by:
      isWaterlogged in interface org.bukkit.block.data.Waterlogged
    • setWaterlogged

      public void setWaterlogged(boolean waterlogged)
      Specified by:
      setWaterlogged in interface org.bukkit.block.data.Waterlogged