Class StairsMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.StairsMock
- All Implemented Interfaces:
Cloneable,org.bukkit.block.data.Bisected,org.bukkit.block.data.BlockData,org.bukkit.block.data.Directional,org.bukkit.block.data.type.Stairs,org.bukkit.block.data.Waterlogged
Mock implementation of
Stairs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.Bisected
org.bukkit.block.data.Bisected.HalfNested classes/interfaces inherited from interface org.bukkit.block.data.type.Stairs
org.bukkit.block.data.type.Stairs.Shape -
Constructor Summary
ConstructorsConstructorDescriptionStairsMock(@NotNull org.bukkit.Material type) Constructs a newBedMockfor the providedMaterial. -
Method Summary
Modifier and TypeMethodDescription@NotNull Set<org.bukkit.block.BlockFace> getFaces()@NotNull org.bukkit.block.BlockFace@NotNull org.bukkit.block.data.Bisected.HalfgetHalf()@NotNull org.bukkit.block.data.type.Stairs.ShapegetShape()booleanvoidsetFacing(@NotNull org.bukkit.block.BlockFace facing) voidsetHalf(@NotNull org.bukkit.block.data.Bisected.Half half) voidsetShape(@NotNull org.bukkit.block.data.type.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
public StairsMock(@NotNull @NotNull org.bukkit.Material type) - Parameters:
type- The material this data is for.
-
-
Method Details
-
getShape
@NotNull public @NotNull org.bukkit.block.data.type.Stairs.Shape getShape()- Specified by:
getShapein interfaceorg.bukkit.block.data.type.Stairs
-
setShape
public void setShape(@NotNull @NotNull org.bukkit.block.data.type.Stairs.Shape shape) - Specified by:
setShapein interfaceorg.bukkit.block.data.type.Stairs
-
getHalf
@NotNull public @NotNull org.bukkit.block.data.Bisected.Half getHalf()- Specified by:
getHalfin interfaceorg.bukkit.block.data.Bisected
-
setHalf
public void setHalf(@NotNull @NotNull org.bukkit.block.data.Bisected.Half half) - Specified by:
setHalfin interfaceorg.bukkit.block.data.Bisected
-
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
-
isWaterlogged
public boolean isWaterlogged()- Specified by:
isWaterloggedin interfaceorg.bukkit.block.data.Waterlogged
-
setWaterlogged
public void setWaterlogged(boolean waterlogged) - Specified by:
setWaterloggedin interfaceorg.bukkit.block.data.Waterlogged
-