Class FenceDataMock
java.lang.Object
org.mockbukkit.mockbukkit.block.data.BlockDataMock
org.mockbukkit.mockbukkit.block.data.FenceDataMock
- All Implemented Interfaces:
Cloneable,BlockData,MultipleFacing,Fence,Waterlogged
-
Constructor Summary
ConstructorsConstructorDescriptionFenceDataMock(@NotNull Material material) Constructs a newFenceDataMockfor the providedMaterial. -
Method Summary
Modifier and TypeMethodDescriptiongetFaces()booleanbooleanvoidvoidsetWaterlogged(boolean waterlogged) Methods inherited from class org.mockbukkit.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, newData, 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
-
FenceDataMock
Constructs a newFenceDataMockfor the providedMaterial.- Parameters:
material- The material this data is for.
-
-
Method Details
-
hasFace
- Specified by:
hasFacein interfaceMultipleFacing
-
setFace
- Specified by:
setFacein interfaceMultipleFacing
-
getFaces
- Specified by:
getFacesin interfaceMultipleFacing
-
getAllowedFaces
- Specified by:
getAllowedFacesin interfaceMultipleFacing
-
isWaterlogged
public boolean isWaterlogged()- Specified by:
isWaterloggedin interfaceWaterlogged
-
setWaterlogged
public void setWaterlogged(boolean waterlogged) - Specified by:
setWaterloggedin interfaceWaterlogged
-