public class BakedItemModel extends java.lang.Object implements IBakedModel
| Modifier and Type | Class and Description |
|---|---|
static class |
BakedItemModel.BakedGuiItemModel<T extends BakedItemModel> |
| Modifier and Type | Field and Description |
|---|---|
protected IBakedModel |
guiModel |
protected ItemOverrideList |
overrides |
protected TextureAtlasSprite |
particle |
protected com.google.common.collect.ImmutableList<BakedQuad> |
quads |
protected com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
transforms |
| Constructor and Description |
|---|
BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
ItemOverrideList overrides) |
| Modifier and Type | Method and Description |
|---|---|
ItemOverrideList |
getOverrides() |
TextureAtlasSprite |
getParticleTexture() |
java.util.List<BakedQuad> |
getQuads(IBlockState state,
EnumFacing side,
long rand) |
org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> |
handlePerspective(ItemCameraTransforms.TransformType type) |
boolean |
isAmbientOcclusion() |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemCameraTransformsprotected final com.google.common.collect.ImmutableList<BakedQuad> quads
protected final TextureAtlasSprite particle
protected final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms
protected final ItemOverrideList overrides
protected final IBakedModel guiModel
public BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms, ItemOverrideList overrides)
public boolean isAmbientOcclusion()
isAmbientOcclusion in interface IBakedModelpublic boolean isGui3d()
isGui3d in interface IBakedModelpublic boolean isBuiltInRenderer()
isBuiltInRenderer in interface IBakedModelpublic TextureAtlasSprite getParticleTexture()
getParticleTexture in interface IBakedModelpublic ItemOverrideList getOverrides()
getOverrides in interface IBakedModelpublic java.util.List<BakedQuad> getQuads(@Nullable IBlockState state, @Nullable EnumFacing side, long rand)
getQuads in interface IBakedModelpublic org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> handlePerspective(ItemCameraTransforms.TransformType type)
handlePerspective in interface IBakedModel