equivalent-exchange-3/src/main/java/com/pahimar/ee3/core/helper/ResourceLocationHelper.java

19 lines
456 B
Java
Raw Normal View History

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
}