接口 Hatchable
- 所有已知子接口:
TurtleEgg
'hatch' 值为这些蛋中孵化出实体的数量.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
getHatch
int getHatch()获取 'hatch' 属性的值.原文: Gets the value of the 'hatch' property.
- 返回:
- 属性 'hatch' 的值
-
setHatch
void setHatch(int hatch) 设置 'hatch' 属性的值.原文: Sets the value of the 'hatch' property.
- 参数:
hatch
- 新的 'hatch' 属性值
-
getMaximumHatch
int getMaximumHatch()获取 'hatch' 属性所能允许的最大值.原文: Gets the maximum allowed value of the 'hatch' property.
- 返回:
- 最大 'hatch' 属性值.
-