public class RUtils
extends java.lang.Object
Constructor and Description |
---|
RUtils()
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareDirections(org.bukkit.Location l1,
org.bukkit.Location l2) |
void |
forceTexture(org.bukkit.entity.Player p)
Force textures on the client
|
static java.lang.String |
formatTime(double sec)
Get formatted time
|
com.intellectualcrafters.plot.util.RUtils.Direction |
getDirection(org.bukkit.Location l)
|
static long |
getFreeRam()
Get the total free ram
|
static long |
getRamPercentage()
Percentage of used ram
|
static long |
getTotalRam()
Get the total allocated ram
|
public static long getTotalRam()
public static long getFreeRam()
public static long getRamPercentage()
public static java.lang.String formatTime(double sec)
sec
- secondspublic void forceTexture(org.bukkit.entity.Player p)
p
- texture to forcepublic com.intellectualcrafters.plot.util.RUtils.Direction getDirection(org.bukkit.Location l)
public boolean compareDirections(org.bukkit.Location l1, org.bukkit.Location l2)