Class BedDataMock
java.lang.Object
org.mockbukkit.mockbukkit.block.data.BlockDataMock
org.mockbukkit.mockbukkit.block.data.BedDataMock
- All Implemented Interfaces:
Cloneable,BlockData,Directional,Bed
Mock implementation of
Bed.-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBedDataMock(@NotNull Material type) Constructs a newBedDataMockfor the providedMaterial. -
Method Summary
Methods inherited from class org.mockbukkit.mockbukkit.block.data.BlockDataMock
checkMaterial, checkProperty, checkType, checkType, clone, copyTo, createBlockState, equals, get, getAsString, getAsString, getCollisionShape, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, hashCode, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, mock, newData, requiresCorrectToolForDrops, rotate, setMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Constructor Details
-
BedDataMock
- Parameters:
type- The material this data is for.
-
-
Method Details
-
getPart
-
setPart
-
isOccupied
public boolean isOccupied()- Specified by:
isOccupiedin interfaceBed
-
setOccupied
public void setOccupied(boolean occupied) - Specified by:
setOccupiedin interfaceBed
-
getFacing
- Specified by:
getFacingin interfaceDirectional
-
setFacing
- Specified by:
setFacingin interfaceDirectional
-
getFaces
- Specified by:
getFacesin interfaceDirectional
-