public class B3DLoader extends java.lang.Object implements ICustomModelLoader
Modifier and Type | Class and Description |
---|---|
static class |
B3DLoader.B3DFrameProperty |
static class |
B3DLoader.B3DMeshLocation
Deprecated.
Use json or IModelCustomData.process
|
static class |
B3DLoader.B3DState |
static class |
B3DLoader.ModelWrapper |
static class |
B3DLoader.NodeJoint |
static class |
B3DLoader.PartWrapper<K extends B3DModel.IKind<K>> |
static class |
B3DLoader.Wrapper
Deprecated.
Use ModelWrapper, this will be removed in 1.9
|
Constructor and Description |
---|
B3DLoader() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(ResourceLocation modelLocation) |
void |
addDomain(java.lang.String domain) |
IModel |
loadModel(ResourceLocation modelLocation) |
void |
onResourceManagerReload(IResourceManager manager) |
public static final B3DLoader instance
public void addDomain(java.lang.String domain)
public void onResourceManagerReload(IResourceManager manager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public boolean accepts(ResourceLocation modelLocation)
accepts
in interface ICustomModelLoader
public IModel loadModel(ResourceLocation modelLocation) throws java.io.IOException
loadModel
in interface ICustomModelLoader
java.io.IOException