接口 MossyCarpet
This class encompasses the 'north', 'east', 'south', 'west', height flags
which are used to set the height of a face.
'bottom' denotes whether this is a bottom block.
-
嵌套类概要
嵌套类 -
方法概要
从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
方法详细资料
-
isBottom
boolean isBottom()Gets the value of the 'bottom' property.- 返回:
- the 'bottom' value
-
setBottom
void setBottom(boolean bottom) Sets the value of the 'bottom' property.- 参数:
bottom
- the new 'bottom' value
-
getHeight
Gets the height of the specified face.- 参数:
face
- to check- 返回:
- if face is enabled
-
setHeight
Set the height of the specified face.- 参数:
face
- to setheight
- the height
-