2013-10-18 02:53:08 +02:00
|
|
|
package com.pahimar.ee3.core.helper;
|
2013-08-23 16:59:50 +02:00
|
|
|
|
|
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
|
2013-09-07 04:47:12 +02:00
|
|
|
import com.pahimar.ee3.lib.Reference;
|
|
|
|
|
2013-08-23 16:59:50 +02:00
|
|
|
public class ResourceLocationHelper {
|
|
|
|
|
2013-09-07 04:47:12 +02:00
|
|
|
public static ResourceLocation getResourceLocation(String modId, String path) {
|
|
|
|
|
|
|
|
return new ResourceLocation(modId, path);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static ResourceLocation getResourceLocation(String path) {
|
2013-08-23 16:59:50 +02:00
|
|
|
|
2013-09-07 04:47:12 +02:00
|
|
|
return getResourceLocation(Reference.MOD_ID.toLowerCase(), path);
|
|
|
|
}
|
2013-08-23 16:59:50 +02:00
|
|
|
}
|