Class CampfireMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.CampfireMock
- All Implemented Interfaces:
Cloneable,org.bukkit.block.data.BlockData,org.bukkit.block.data.Directional,org.bukkit.block.data.Lightable,org.bukkit.block.data.type.Campfire,org.bukkit.block.data.Waterlogged
Mock implementation of
Campfire.-
Constructor Summary
ConstructorsConstructorDescriptionCampfireMock(@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.BlockFacebooleanisLit()booleanbooleanvoidsetFacing(@NotNull org.bukkit.block.BlockFace facing) voidsetLit(boolean lit) voidsetSignalFire(boolean signalFire) 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
-
CampfireMock
public CampfireMock(@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
-
isLit
public boolean isLit()- Specified by:
isLitin interfaceorg.bukkit.block.data.Lightable
-
setLit
public void setLit(boolean lit) - Specified by:
setLitin interfaceorg.bukkit.block.data.Lightable
-
isSignalFire
public boolean isSignalFire()- Specified by:
isSignalFirein interfaceorg.bukkit.block.data.type.Campfire
-
setSignalFire
public void setSignalFire(boolean signalFire) - Specified by:
setSignalFirein interfaceorg.bukkit.block.data.type.Campfire
-
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
-