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
-
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 -
Method Summary
Modifier and TypeMethodDescription@NotNull Set<org.bukkit.block.BlockFace>getFaces()@NotNull org.bukkit.block.BlockFace@NotNull org.bukkit.block.data.type.Bed.PartgetPart()booleanvoidsetFacing(@NotNull org.bukkit.block.BlockFace facing) voidsetPart(@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, setMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPartin interfaceorg.bukkit.block.data.type.Bed
-
setPart
public void setPart(@NotNull @NotNull org.bukkit.block.data.type.Bed.Part part) - Specified by:
setPartin interfaceorg.bukkit.block.data.type.Bed
-
isOccupied
public boolean isOccupied()- Specified by:
isOccupiedin interfaceorg.bukkit.block.data.type.Bed
-
getFacing
@NotNull public @NotNull org.bukkit.block.BlockFace getFacing()- Specified by:
getFacingin interfaceorg.bukkit.block.data.Directional
-
setFacing
public void setFacing(@NotNull @NotNull org.bukkit.block.BlockFace facing) - Specified by:
setFacingin interfaceorg.bukkit.block.data.Directional
-
getFaces
- Specified by:
getFacesin interfaceorg.bukkit.block.data.Directional
-