Class WallSignMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.WallSignMock
- All Implemented Interfaces:
Cloneable
,BlockData
,Directional
,WallSign
,Waterlogged
Mock implementation of a
WallSign
.-
Constructor Summary
ConstructorsConstructorDescriptionWallSignMock
(@NotNull Material type) Constructs a newWallSignMock
for the providedMaterial
. -
Method Summary
Modifier and TypeMethodDescriptiongetFaces()
@NotNull BlockFace
boolean
void
void
setWaterlogged
(boolean waterlogged) Methods inherited from class be.seeseemelk.mockbukkit.block.data.BlockDataMock
checkType, checkType, checkType, checkType, clone, 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, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Constructor Details
-
WallSignMock
- Parameters:
type
- The material this data is for.
-
-
Method Details
-
getFacing
- Specified by:
getFacing
in interfaceDirectional
-
setFacing
- Specified by:
setFacing
in interfaceDirectional
-
getFaces
- Specified by:
getFaces
in interfaceDirectional
-
isWaterlogged
public boolean isWaterlogged()- Specified by:
isWaterlogged
in interfaceWaterlogged
-
setWaterlogged
public void setWaterlogged(boolean waterlogged) - Specified by:
setWaterlogged
in interfaceWaterlogged
-