Class ChargableBlock



  • public final class ChargableBlock
    extends Object
    • 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)