Package net.minecraftforge.client.model
Class SeparateTransformsModel.Baked
java.lang.Object
net.minecraftforge.client.model.SeparateTransformsModel.Baked
- All Implemented Interfaces:
- BakedModel,- IForgeBakedModel,- IDynamicBakedModel
- Enclosing class:
- SeparateTransformsModel
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BakedModelprivate final booleanprivate final booleanprivate final booleanprivate final ItemOverridesprivate final TextureAtlasSpriteprivate final com.google.common.collect.ImmutableMap<ItemDisplayContext,BakedModel> 
- 
Constructor SummaryConstructorsConstructorDescriptionBaked(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemDisplayContext, BakedModel> perspectives) 
- 
Method SummaryModifier and TypeMethodDescriptionapplyTransform(ItemDisplayContext cameraTransformType, PoseStack poseStack, boolean applyLeftHandTransform) Applies a transform for the givenItemTransforms.TransformTypeandapplyLeftHandTransform, and returns the model to be rendered.getQuads(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) A nullRenderTypeis used for the breaking overlay as well as non-standard rendering, so models should return all their quads.getRenderTypes(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) Gets the set ofrender typesto use when drawing this block in the level.booleanbooleanisGui3d()booleanbooleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.model.IDynamicBakedModelgetQuadsMethods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModelgetModelData, getParticleIcon, getRenderPasses, getRenderTypes, useAmbientOcclusion, useAmbientOcclusion
- 
Field Details- 
isAmbientOcclusionprivate final boolean isAmbientOcclusion
- 
isGui3dprivate final boolean isGui3d
- 
isSideLitprivate final boolean isSideLit
- 
particle
- 
overrides
- 
baseModel
- 
perspectives
 
- 
- 
Constructor Details- 
Bakedpublic Baked(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemDisplayContext, BakedModel> perspectives) 
 
- 
- 
Method Details- 
getQuads@NotNull public @NotNull List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction side, @NotNull @NotNull RandomSource rand, @NotNull @NotNull ModelData data, @Nullable @Nullable RenderType renderType) Description copied from interface:IForgeBakedModelA nullRenderTypeis used for the breaking overlay as well as non-standard rendering, so models should return all their quads.- Specified by:
- getQuadsin interface- IDynamicBakedModel
- Specified by:
- getQuadsin interface- IForgeBakedModel
 
- 
useAmbientOcclusionpublic boolean useAmbientOcclusion()- Specified by:
- useAmbientOcclusionin interface- BakedModel
 
- 
isGui3dpublic boolean isGui3d()- Specified by:
- isGui3din interface- BakedModel
 
- 
usesBlockLightpublic boolean usesBlockLight()- Specified by:
- usesBlockLightin interface- BakedModel
 
- 
isCustomRendererpublic boolean isCustomRenderer()- Specified by:
- isCustomRendererin interface- BakedModel
 
- 
getParticleIcon- Specified by:
- getParticleIconin interface- BakedModel
 
- 
getOverrides- Specified by:
- getOverridesin interface- BakedModel
 
- 
getTransforms- Specified by:
- getTransformsin interface- BakedModel
 
- 
applyTransformpublic BakedModel applyTransform(ItemDisplayContext cameraTransformType, PoseStack poseStack, boolean applyLeftHandTransform) Description copied from interface:IForgeBakedModelApplies a transform for the givenItemTransforms.TransformTypeandapplyLeftHandTransform, and returns the model to be rendered.- Specified by:
- applyTransformin interface- IForgeBakedModel
 
- 
getRenderTypespublic ChunkRenderTypeSet getRenderTypes(@NotNull @NotNull BlockState state, @NotNull @NotNull RandomSource rand, @NotNull @NotNull ModelData data) Description copied from interface:IForgeBakedModelGets the set ofrender typesto use when drawing this block in the level. Supported types are those returned byRenderType.chunkBufferLayers().By default, defers query to ItemBlockRenderTypes.- Specified by:
- getRenderTypesin interface- IForgeBakedModel
 
 
-