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, wait
getItemCameraTransforms
protected 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 IBakedModel
public boolean isGui3d()
isGui3d
in interface IBakedModel
public boolean isBuiltInRenderer()
isBuiltInRenderer
in interface IBakedModel
public TextureAtlasSprite getParticleTexture()
getParticleTexture
in interface IBakedModel
public ItemOverrideList getOverrides()
getOverrides
in interface IBakedModel
public java.util.List<BakedQuad> getQuads(@Nullable IBlockState state, @Nullable EnumFacing side, long rand)
getQuads
in interface IBakedModel
public org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> handlePerspective(ItemCameraTransforms.TransformType type)
handlePerspective
in interface IBakedModel