Class SlabMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.SlabMock
- All Implemented Interfaces:
Cloneable,org.bukkit.block.data.BlockData,org.bukkit.block.data.type.Slab,org.bukkit.block.data.Waterlogged
Mock implementation of
Slab.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.type.Slab
org.bukkit.block.data.type.Slab.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.block.data.type.Slab.TypegetType()booleanvoidsetType(@NotNull org.bukkit.block.data.type.Slab.Type type) 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
-
SlabMock
public SlabMock(@NotNull @NotNull org.bukkit.Material type) - Parameters:
type- The material this data is for.
-
-
Method Details
-
getType
@NotNull public @NotNull org.bukkit.block.data.type.Slab.Type getType()- Specified by:
getTypein interfaceorg.bukkit.block.data.type.Slab
-
setType
public void setType(@NotNull @NotNull org.bukkit.block.data.type.Slab.Type type) - Specified by:
setTypein interfaceorg.bukkit.block.data.type.Slab
-
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
-