mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
More interface work
This commit is contained in:
1 parent
091c4ab6ac
commit
d4b71ef964
2 files changed
+3
-10
No files matched your search
@@ -4,7 +4,7 @@ package net.minecraftforge.client.model;
|
||||
|
||||
public interface IModelCustom {
|
||||
|
||||
public abstract void load(String fileName);
|
||||
public abstract IModelCustom load(String fileName);
|
||||
|
||||
public abstract void renderAll();
|
||||
|
||||
|
||||
@@ -60,16 +60,9 @@ public class WavefrontObject implements IModelCustom
|
||||
}
|
||||
}
|
||||
|
||||
public void load(String fileName)
|
||||
public IModelCustom load(String fileName)
|
||||
{
|
||||
try
|
||||
{
|
||||
loadObjModel(this.getClass().getResource(fileName));
|
||||
}
|
||||
catch (DataFormatException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
return new WavefrontObject(fileName);
|
||||
}
|
||||
|
||||
public void load()
|
||||
|
||||
Reference in new issue
Block a user