18 lines
456 B
Java
18 lines
456 B
Java
package com.pahimar.ee3.core.helper;
|
|
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
import com.pahimar.ee3.lib.Reference;
|
|
|
|
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);
|
|
}
|
|
}
|