package net.minecraftforge.client.model.obj;

import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.IModelCustom;
import net.minecraftforge.client.model.IModelCustomLoader;
import net.minecraftforge.client.model.ModelFormatException;

public class ObjModelLoader implements IModelCustomLoader
{

	@Override
	public String getType()
	{
		return "OBJ model";
	}

	private static final String[] types = { "obj" };
	@Override
	public String[] getSuffixes()
	{
		return types;
	}

	@Override
	public IModelCustom loadInstance(ResourceLocation resource) throws ModelFormatException
	{
		return new WavefrontObject(resource);
	}
}
