java.lang.Object
io.github.vampirestudios.vampirelib.utils.Utils

public class Utils extends Object
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • toTitleCase

      public static String toTitleCase(String lowerCase)
    • nameToId

      public static String nameToId(String name, Map<String,String> specialCharMap)
    • appendToPath

      public static net.minecraft.resources.ResourceLocation appendToPath(net.minecraft.resources.ResourceLocation identifier, String suffix)
    • prependToPath

      public static net.minecraft.resources.ResourceLocation prependToPath(net.minecraft.resources.ResourceLocation identifier, String prefix)
    • appendAndPrependToPath

      public static net.minecraft.resources.ResourceLocation appendAndPrependToPath(net.minecraft.resources.ResourceLocation identifier, String prefix, String suffix)
    • dist

      public static double dist(double x1, double y1, double x2, double y2)
    • checkBitFlag

      public static boolean checkBitFlag(int toCheck, int flag)