Class Utils
java.lang.Object
io.github.vampirestudios.vampirelib.utils.Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceLocationappendAndPrependToPath(net.minecraft.resources.ResourceLocation identifier, String prefix, String suffix) static net.minecraft.resources.ResourceLocationappendToPath(net.minecraft.resources.ResourceLocation identifier, String suffix) static booleancheckBitFlag(int toCheck, int flag) static doubledist(double x1, double y1, double x2, double y2) static Stringstatic net.minecraft.resources.ResourceLocationprependToPath(net.minecraft.resources.ResourceLocation identifier, String prefix) static StringtoTitleCase(String lowerCase)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
toTitleCase
-
nameToId
-
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
-
dist
public static double dist(double x1, double y1, double x2, double y2) -
checkBitFlag
public static boolean checkBitFlag(int toCheck, int flag)
-