Class StairsMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.StairsMock
- All Implemented Interfaces:
Cloneable,Bisected,BlockData,Directional,Stairs,Waterlogged
Mock implementation of
Stairs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.Bisected
Bisected.HalfNested classes/interfaces inherited from interface org.bukkit.block.data.type.Stairs
Stairs.Shape -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFaces()@NotNull BlockFace@NotNull Bisected.HalfgetHalf()@NotNull Stairs.ShapegetShape()booleanvoidvoidsetHalf(@NotNull Bisected.Half half) voidsetShape(@NotNull Stairs.Shape shape) voidsetWaterlogged(boolean waterlogged) Methods inherited from class be.seeseemelk.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, 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
-
StairsMock
- Parameters:
type- The material this data is for.
-
-
Method Details
-
getShape
-
setShape
-
getHalf
-
setHalf
-
getFacing
- Specified by:
getFacingin interfaceDirectional
-
setFacing
- Specified by:
setFacingin interfaceDirectional
-
getFaces
- Specified by:
getFacesin interfaceDirectional
-
isWaterlogged
public boolean isWaterlogged()- Specified by:
isWaterloggedin interfaceWaterlogged
-
setWaterlogged
public void setWaterlogged(boolean waterlogged) - Specified by:
setWaterloggedin interfaceWaterlogged
-