Class SlabMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.SlabMock
- All Implemented Interfaces:
Cloneable
,BlockData
,Slab
,Waterlogged
Mock implementation of
Slab
.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Slab.Type
getType()
boolean
void
void
setWaterlogged
(boolean waterlogged) Methods inherited from class be.seeseemelk.mockbukkit.block.data.BlockDataMock
checkType, checkType, 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, 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, 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
-
SlabMock
- Parameters:
type
- The material this data is for.
-
-
Method Details
-
getType
-
setType
-
isWaterlogged
public boolean isWaterlogged()- Specified by:
isWaterlogged
in interfaceWaterlogged
-
setWaterlogged
public void setWaterlogged(boolean waterlogged) - Specified by:
setWaterlogged
in interfaceWaterlogged
-