Class BlockUtil

java.lang.Object
dev.espi.protectionstones.utils.BlockUtil

public class BlockUtil extends Object
  • Field Details

  • Constructor Details

    • BlockUtil

      public BlockUtil()
  • Method Details

    • getProtectBlockItemFromType

      public static org.bukkit.inventory.ItemStack getProtectBlockItemFromType(String type)
    • getProtectBlockType

      public static String getProtectBlockType(org.bukkit.inventory.ItemStack i)
    • getProtectBlockType

      public static String getProtectBlockType(org.bukkit.block.Block block)
    • setHeadType

      public static void setHeadType(String psType, org.bukkit.block.Block b)
    • setHeadType

      public static org.bukkit.inventory.ItemStack setHeadType(String psType, org.bukkit.inventory.ItemStack item)
    • isBase64PSHead

      public static boolean isBase64PSHead(String type)
    • getUUIDFromBase64PS

      public static String getUUIDFromBase64PS(PSProtectBlock b)