Class ChargableBlock
- java.lang.Object
-
- me.mrCookieSlime.Slimefun.api.energy.ChargableBlock
-
public final class ChargableBlock extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
addCharge(Block b, int charge)
static int
addCharge(Location l, int charge)
static int
getCharge(Block b)
static int
getCharge(Location l)
static int
getMaxCharge(Block b)
static int
getMaxCharge(Location l)
static boolean
isChargable(Block b)
static boolean
isChargable(Location l)
static void
setCharge(Block b, int charge)
static void
setCharge(Location l, int charge)
static void
setUnsafeCharge(Location l, int charge, boolean updateTexture)
-
-
-
Method Detail
-
isChargable
public static boolean isChargable(Block b)
-
isChargable
public static boolean isChargable(Location l)
-
getCharge
public static int getCharge(Block b)
-
getCharge
public static int getCharge(Location l)
-
setCharge
public static void setCharge(Block b, int charge)
-
setCharge
public static void setCharge(Location l, int charge)
-
setUnsafeCharge
public static void setUnsafeCharge(Location l, int charge, boolean updateTexture)
-
addCharge
public static int addCharge(Block b, int charge)
-
addCharge
public static int addCharge(Location l, int charge)
-
getMaxCharge
public static int getMaxCharge(Block b)
-
getMaxCharge
public static int getMaxCharge(Location l)
-
-