Class AmethystClusterMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.AmethystClusterMock
- All Implemented Interfaces:
Cloneable,org.bukkit.block.data.BlockData,org.bukkit.block.data.Directional,org.bukkit.block.data.type.AmethystCluster,org.bukkit.block.data.Waterlogged
public class AmethystClusterMock
extends BlockDataMock
implements org.bukkit.block.data.type.AmethystCluster
Mock implementation of
AmethystCluster.-
Constructor Summary
ConstructorsConstructorDescriptionAmethystClusterMock(@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.BlockFacebooleanvoidsetFacing(@NotNull org.bukkit.block.BlockFace facing) 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
-
AmethystClusterMock
public AmethystClusterMock(@NotNull @NotNull org.bukkit.Material type) - Parameters:
type- The material this data is for.
-
-
Method Details
-
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
-