private static final class MultiLayerModel.MultiLayerBakedModel extends java.lang.Object implements IBakedModel
Modifier and Type | Field and Description |
---|---|
protected boolean |
ambientOcclusion |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
cameraTransforms |
protected boolean |
gui3d |
protected boolean |
isSideLit |
private IBakedModel |
missing |
private com.google.common.collect.ImmutableMap<RenderType,IBakedModel> |
models |
protected ItemOverrideList |
overrides |
protected TextureAtlasSprite |
particle |
Constructor and Description |
---|
MultiLayerBakedModel(boolean ambientOcclusion,
boolean isGui3d,
boolean isSideLit,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<RenderType,IBakedModel> models,
IBakedModel missing,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this model
|
boolean |
func_230044_c_() |
ItemOverrideList |
getOverrides() |
TextureAtlasSprite |
getParticleTexture() |
java.util.List<BakedQuad> |
getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
IBakedModel |
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
boolean |
isAmbientOcclusion() |
boolean |
isAmbientOcclusion(BlockState state) |
boolean |
isBuiltInRenderer() |
boolean |
isGui3d() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getItemCameraTransforms
getBakedModel, getModelData, getParticleTexture
private final com.google.common.collect.ImmutableMap<RenderType,IBakedModel> models
private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms
protected final boolean ambientOcclusion
protected final boolean gui3d
protected final boolean isSideLit
protected final TextureAtlasSprite particle
protected final ItemOverrideList overrides
private final IBakedModel missing
public MultiLayerBakedModel(boolean ambientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrideList overrides, com.google.common.collect.ImmutableMap<RenderType,IBakedModel> models, IBakedModel missing, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms)
public java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, java.util.Random rand)
getQuads
in interface IBakedModel
@Nonnull public java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull java.util.Random rand, @Nonnull IModelData extraData)
getQuads
in interface IForgeBakedModel
public boolean isAmbientOcclusion()
isAmbientOcclusion
in interface IBakedModel
public boolean isAmbientOcclusion(BlockState state)
isAmbientOcclusion
in interface IForgeBakedModel
public boolean isGui3d()
isGui3d
in interface IBakedModel
public boolean func_230044_c_()
func_230044_c_
in interface IBakedModel
public boolean isBuiltInRenderer()
isBuiltInRenderer
in interface IBakedModel
public TextureAtlasSprite getParticleTexture()
getParticleTexture
in interface IBakedModel
public boolean doesHandlePerspectives()
IForgeBakedModel
doesHandlePerspectives
in interface IForgeBakedModel
public IBakedModel handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat)
handlePerspective
in interface IForgeBakedModel
public ItemOverrideList getOverrides()
getOverrides
in interface IBakedModel