Class BambooDataMock
java.lang.Object
org.mockbukkit.mockbukkit.block.data.BlockDataMock
org.mockbukkit.mockbukkit.block.data.BambooDataMock
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 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
-
BambooDataMock
public BambooDataMock()Constructs a newBambooDataMockfor 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
-