private static final class MultiModel.Baked extends java.lang.Object implements IBakedModel
Modifier and Type | Field and Description |
---|---|
private IBakedModel |
base |
private IBakedModel |
internalBase |
private ResourceLocation |
location |
private ItemOverrideList |
overrides |
private com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> |
parts |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,org.apache.commons.lang3.tuple.Pair<MultiModel.Baked,TRSRTransformation>> |
transforms |
Constructor and Description |
---|
Baked(ResourceLocation location,
boolean perspective,
IBakedModel base,
com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> parts) |
Modifier and Type | Method and Description |
---|---|
ItemCameraTransforms |
getItemCameraTransforms() |
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() |
private final ResourceLocation location
@Nullable private final IBakedModel base
private final com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> parts
private final IBakedModel internalBase
private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,org.apache.commons.lang3.tuple.Pair<MultiModel.Baked,TRSRTransformation>> transforms
private final ItemOverrideList overrides
public Baked(ResourceLocation location, boolean perspective, @Nullable IBakedModel base, com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> parts)
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 ItemCameraTransforms getItemCameraTransforms()
getItemCameraTransforms
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 cameraTransformType)
handlePerspective
in interface IBakedModel
public ItemOverrideList getOverrides()
getOverrides
in interface IBakedModel