public class OBJModel.OBJBakedModel extends java.lang.Object implements IBakedModel
Constructor and Description |
---|
OBJBakedModel(OBJModel model,
IModelState state,
VertexFormat format,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
Modifier and Type | Method and Description |
---|---|
OBJModel.OBJBakedModel |
getBakedModel() |
OBJModel.OBJBakedModel |
getCachedModel(IModelState state) |
OBJModel |
getModel() |
ItemOverrideList |
getOverrides() |
TextureAtlasSprite |
getParticleTexture() |
java.util.List<BakedQuad> |
getQuads(IBlockState blockState,
EnumFacing side,
long rand) |
IModelState |
getState() |
org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> |
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) |
boolean |
isAmbientOcclusion() |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
void |
scheduleRebake() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getItemCameraTransforms
public OBJBakedModel(OBJModel model, IModelState state, VertexFormat format, com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures)
public void scheduleRebake()
public java.util.List<BakedQuad> getQuads(IBlockState blockState, EnumFacing side, long rand)
getQuads
in interface IBakedModel
public boolean isAmbientOcclusion()
isAmbientOcclusion
in interface IBakedModel
public boolean isGui3d()
isGui3d
in interface IBakedModel
public boolean isBuiltInRenderer()
isBuiltInRenderer
in interface IBakedModel
public TextureAtlasSprite getParticleTexture()
getParticleTexture
in interface IBakedModel
public OBJModel.OBJBakedModel getCachedModel(IModelState state)
public OBJModel getModel()
public IModelState getState()
public OBJModel.OBJBakedModel getBakedModel()
public org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType)
handlePerspective
in interface IBakedModel
public java.lang.String toString()
toString
in class java.lang.Object
public ItemOverrideList getOverrides()
getOverrides
in interface IBakedModel