public static class B3DLoader.Wrapper extends B3DLoader.PartWrapper<B3DModel.Mesh> implements IModel
Constructor and Description |
---|
B3DLoader.Wrapper(ResourceLocation location,
com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> textures,
B3DModel.Node<B3DModel.Mesh> mesh) |
B3DLoader.Wrapper(ResourceLocation location,
java.util.List<B3DModel.Texture> textures,
B3DModel.Node<B3DModel.Mesh> mesh) |
Modifier and Type | Method and Description |
---|---|
IFlexibleBakedModel |
bake(IModelState state,
VertexFormat format,
com.google.common.base.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
boolean |
equals(java.lang.Object obj) |
B3DLoader.B3DState |
getDefaultState() |
java.util.Collection<ResourceLocation> |
getDependencies() |
ResourceLocation |
getLocation() |
com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> |
getTextureMap() |
java.util.Collection<ResourceLocation> |
getTextures() |
int |
hashCode() |
create, getNode
public B3DLoader.Wrapper(ResourceLocation location, java.util.List<B3DModel.Texture> textures, B3DModel.Node<B3DModel.Mesh> mesh)
public B3DLoader.Wrapper(ResourceLocation location, com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> textures, B3DModel.Node<B3DModel.Mesh> mesh)
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IModel
public java.util.Collection<ResourceLocation> getTextures()
getTextures
in interface IModel
public IFlexibleBakedModel bake(IModelState state, VertexFormat format, com.google.common.base.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
public B3DLoader.B3DState getDefaultState()
getDefaultState
in interface IModel
public ResourceLocation getLocation()
public com.google.common.collect.ImmutableMap<java.lang.String,ResourceLocation> getTextureMap()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object