接口 Chest
- 所有超级接口:
BlockData
,Cloneable
,Directional
,Waterlogged
'type' 数据值表示这个方块是大型箱子的哪一部分, 亦或是它为一个独立的箱子.
-
嵌套类概要
-
方法概要
从接口继承的方法 org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
从接口继承的方法 org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
从接口继承的方法 org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getType
获取 'type' 数据值.原文: Gets the value of the 'type' property.
- 返回:
- 'type' 数据值
-
setType
设置 'type' 数据值.原文: Sets the value of the 'type' property.
- 参数:
type
- 'type' 数据值
-