Class BedMock

java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.BedMock
All Implemented Interfaces:
Cloneable, org.bukkit.block.data.BlockData, org.bukkit.block.data.Directional, org.bukkit.block.data.type.Bed

public class BedMock extends BlockDataMock implements org.bukkit.block.data.type.Bed
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.bukkit.block.data.type.Bed

    org.bukkit.block.data.type.Bed.Part
  • Constructor Summary

    Constructors
    Constructor
    Description
    BedMock(@NotNull org.bukkit.Material type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Set<org.bukkit.block.BlockFace>
     
    @NotNull org.bukkit.block.BlockFace
     
    @NotNull org.bukkit.block.data.type.Bed.Part
     
    boolean
     
    void
    setFacing(@NotNull org.bukkit.block.BlockFace facing)
     
    void
    setPart(@NotNull org.bukkit.block.data.type.Bed.Part part)
     

    Methods inherited from class be.seeseemelk.mockbukkit.block.data.BlockDataMock

    clone, equals, get, getAsString, getAsString, getMaterial, getSoundGroup, hashCode, matches, merge, mock, set

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.block.data.BlockData

    clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
  • Constructor Details

    • BedMock

      public BedMock(@NotNull @NotNull org.bukkit.Material type)
  • Method Details

    • getPart

      @NotNull public @NotNull org.bukkit.block.data.type.Bed.Part getPart()
      Specified by:
      getPart in interface org.bukkit.block.data.type.Bed
    • setPart

      public void setPart(@NotNull @NotNull org.bukkit.block.data.type.Bed.Part part)
      Specified by:
      setPart in interface org.bukkit.block.data.type.Bed
    • isOccupied

      public boolean isOccupied()
      Specified by:
      isOccupied in interface org.bukkit.block.data.type.Bed
    • 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