Class BedMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.BedMock
- All Implemented Interfaces:
Cloneable
,BlockData
,Directional
,Bed
Mock implementation of
Bed
.-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class be.seeseemelk.mockbukkit.block.data.BlockDataMock
checkType, checkType, checkType, checkType, clone, createBlockState, equals, get, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, hashCode, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, mock, requiresCorrectToolForDrops, rotate, 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, createBlockState, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Constructor Details
-
BedMock
- Parameters:
type
- The material this data is for.
-
-
Method Details
-
getPart
-
setPart
-
isOccupied
public boolean isOccupied()- Specified by:
isOccupied
in interfaceBed
-
setOccupied
public void setOccupied(boolean occupied) - Specified by:
setOccupied
in interfaceBed
-
getFacing
- Specified by:
getFacing
in interfaceDirectional
-
setFacing
- Specified by:
setFacing
in interfaceDirectional
-
getFaces
- Specified by:
getFaces
in interfaceDirectional
-