private static final class MultiLayerModel.MultiLayerBakedModel extends java.lang.Object implements IBakedModel
Modifier and Type | Field and Description |
---|---|
private IBakedModel |
base |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
cameraTransforms |
private IBakedModel |
missing |
private com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> |
models |
Constructor and Description |
---|
MultiLayerBakedModel(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> models,
IBakedModel missing,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> cameraTransforms) |
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 cameraTransformType) |
boolean |
isAmbientOcclusion() |
boolean |
isAmbientOcclusion(IBlockState state) |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getItemCameraTransforms
private final com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> models
private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> cameraTransforms
private final IBakedModel base
private final IBakedModel missing
public MultiLayerBakedModel(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> models, IBakedModel missing, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> cameraTransforms)
public java.util.List<BakedQuad> getQuads(@Nullable IBlockState state, @Nullable EnumFacing side, long rand)
getQuads
in interface IBakedModel
public boolean isAmbientOcclusion()
isAmbientOcclusion
in interface IBakedModel
public boolean isAmbientOcclusion(IBlockState state)
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 org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType)
handlePerspective
in interface IBakedModel
public ItemOverrideList getOverrides()
getOverrides
in interface IBakedModel