Class BambooMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.BambooMock
- All Implemented Interfaces:
Cloneable,org.bukkit.block.data.Ageable,org.bukkit.block.data.BlockData,org.bukkit.block.data.type.Bamboo,org.bukkit.block.data.type.Sapling
Mock implementation of
Bamboo.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.type.Bamboo
org.bukkit.block.data.type.Bamboo.Leaves -
Constructor Summary
Constructors -
Method Summary
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
-
BambooMock
public BambooMock()Constructs a newBambooMockfor the providedMaterial.
-
-
Method Details
-
getLeaves
@NotNull public @NotNull org.bukkit.block.data.type.Bamboo.Leaves getLeaves()- Specified by:
getLeavesin interfaceorg.bukkit.block.data.type.Bamboo
-
setLeaves
public void setLeaves(@NotNull org.bukkit.block.data.type.Bamboo.Leaves leaves) - Specified by:
setLeavesin interfaceorg.bukkit.block.data.type.Bamboo
-
getAge
public int getAge()- Specified by:
getAgein interfaceorg.bukkit.block.data.Ageable
-
setAge
public void setAge(int age) - Specified by:
setAgein interfaceorg.bukkit.block.data.Ageable
-
getMaximumAge
public int getMaximumAge()- Specified by:
getMaximumAgein interfaceorg.bukkit.block.data.Ageable
-
getStage
public int getStage()- Specified by:
getStagein interfaceorg.bukkit.block.data.type.Sapling
-
setStage
public void setStage(int stage) - Specified by:
setStagein interfaceorg.bukkit.block.data.type.Sapling
-
getMaximumStage
public int getMaximumStage()- Specified by:
getMaximumStagein interfaceorg.bukkit.block.data.type.Sapling
-