17 lines
455 B
Java
17 lines
455 B
Java
package com.pahimar.ee3.util;
|
|
|
|
import com.pahimar.ee3.reference.Reference;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
public class ResourceLocationHelper
|
|
{
|
|
public static ResourceLocation getResourceLocation(String modId, String path)
|
|
{
|
|
return new ResourceLocation(modId, path);
|
|
}
|
|
|
|
public static ResourceLocation getResourceLocation(String path)
|
|
{
|
|
return getResourceLocation(Reference.LOWERCASE_MOD_ID, path);
|
|
}
|
|
}
|