本文整理汇总了Java中org.bukkit.util.NumberConversions.ceil方法的典型用法代码示例。如果您正苦于以下问题:Java NumberConversions.ceil方法的具体用法?Java NumberConversions.ceil怎么用?Java NumberConversions.ceil使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.bukkit.util.NumberConversions
的用法示例。
在下文中一共展示了NumberConversions.ceil方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: _INVALID_getDamage
import org.bukkit.util.NumberConversions; //导入方法依赖的package包/类
@Deprecated
public int _INVALID_getDamage() {
return NumberConversions.ceil(getDamage());
}
示例2: _INVALID_getLastDamage
import org.bukkit.util.NumberConversions; //导入方法依赖的package包/类
@Deprecated
public int _INVALID_getLastDamage() {
return NumberConversions.ceil(getLastDamage());
}
示例3: _INVALID_getHealth
import org.bukkit.util.NumberConversions; //导入方法依赖的package包/类
@Deprecated
public int _INVALID_getHealth() {
return NumberConversions.ceil(getHealth());
}
示例4: _INVALID_getMaxHealth
import org.bukkit.util.NumberConversions; //导入方法依赖的package包/类
@Deprecated
public int _INVALID_getMaxHealth() {
return NumberConversions.ceil(getMaxHealth());
}
示例5: _INVALID_getAmount
import org.bukkit.util.NumberConversions; //导入方法依赖的package包/类
/**
* This method exists for legacy reasons to provide backwards
* compatibility. It will not exist at runtime and should not be used
* under any circumstances.
*/
@Deprecated
public int _INVALID_getAmount() {
return NumberConversions.ceil(getAmount());
}
示例6: _INVALID_getDamage
import org.bukkit.util.NumberConversions; //导入方法依赖的package包/类
/**
* This method exists for legacy reasons to provide backwards
* compatibility. It will not exist at runtime and should not be used
* under any circumstances.
*/
@Deprecated
public int _INVALID_getDamage() {
return NumberConversions.ceil(getDamage());
}