18 lines
459 B
Java
18 lines
459 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.MOD_ID.toLowerCase(), path);
|
||
|
}
|
||
|
}
|