Class BambooMock
java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.BambooMock
Mock implementation of
Bamboo.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.type.Bamboo
Bamboo.Leaves -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAge()@NotNull Bamboo.LeavesintintintgetStage()voidsetAge(int age) voidsetLeaves(Bamboo.Leaves leaves) voidsetStage(int stage) 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
-
setLeaves
-
getAge
public int getAge() -
setAge
public void setAge(int age) -
getMaximumAge
public int getMaximumAge()- Specified by:
getMaximumAgein interfaceAgeable
-
getStage
public int getStage() -
setStage
public void setStage(int stage) -
getMaximumStage
public int getMaximumStage()- Specified by:
getMaximumStagein interfaceSapling
-