Java Code Examples for org.bukkit.util.NumberConversions#ceil()
The following examples show how to use
org.bukkit.util.NumberConversions#ceil() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CraftMinecart.java From Thermos with GNU General Public License v3.0 | 4 votes |
@Deprecated public int _INVALID_getDamage() { return NumberConversions.ceil(getDamage()); }
Example 2
Source File: CraftLivingEntity.java From Thermos with GNU General Public License v3.0 | 4 votes |
@Deprecated public int _INVALID_getLastDamage() { return NumberConversions.ceil(getLastDamage()); }
Example 3
Source File: CraftLivingEntity.java From Thermos with GNU General Public License v3.0 | 4 votes |
@Deprecated public int _INVALID_getHealth() { return NumberConversions.ceil(getHealth()); }
Example 4
Source File: CraftLivingEntity.java From Thermos with GNU General Public License v3.0 | 4 votes |
@Deprecated public int _INVALID_getMaxHealth() { return NumberConversions.ceil(getMaxHealth()); }
Example 5
Source File: CraftEnderDragonPart.java From Thermos with GNU General Public License v3.0 | 4 votes |
@Deprecated public int _INVALID_getHealth() { return NumberConversions.ceil(getHealth()); }
Example 6
Source File: CraftEnderDragonPart.java From Thermos with GNU General Public License v3.0 | 4 votes |
@Deprecated public int _INVALID_getMaxHealth() { return NumberConversions.ceil(getMaxHealth()); }