接口 Lightable
- 所有已知子接口:
Campfire
,Candle
,CopperBulb
,Furnace
,RedstoneWallTorch
'lit' 表示此方块 (红石或熔炉) 是否在发光 ———— 不是烧毁他们的意思.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
isLit
boolean isLit()获取 'lit' 数据值.原文: Gets the value of the 'lit' property.
- 返回:
- 方块是否在发光
-
setLit
void setLit(boolean lit) 设置 'lit' 数据值.原文: Sets the value of the 'lit' property.
- 参数:
lit
- 方块是否在发光
-