public class ResourceUtil
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static net.minecraft.resources.ResourceLocation
static net.minecraft.resources.ResourceLocation
subPath(net.minecraft.resources.ResourceLocation root,
String subPath)
static net.minecraft.resources.ResourceLocation
trim(net.minecraft.resources.ResourceLocation loc,
String prefix,
String suffix)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ResourceUtil
public ResourceUtil()
-
Method Details
-
subPath
public static net.minecraft.resources.ResourceLocation subPath(net.minecraft.resources.ResourceLocation root,
String subPath)
-
removePrefixUnchecked
public static net.minecraft.resources.ResourceLocation removePrefixUnchecked(net.minecraft.resources.ResourceLocation full,
String root)
-
trim
public static net.minecraft.resources.ResourceLocation trim(net.minecraft.resources.ResourceLocation loc,
String prefix,
String suffix)