Class CompositeRenderable
java.lang.Object
net.minecraftforge.client.model.renderable.CompositeRenderable
- All Implemented Interfaces:
- IRenderable<CompositeRenderable.Transforms>
public class CompositeRenderable
extends Object
implements IRenderable<CompositeRenderable.Transforms>
A renderable object composed of a hierarchy of parts, each made up of a number of meshes.
 
Each mesh renders a set of quads using a different texture.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classprivate static classprivate static classstatic classstatic classA context value that providesMatrix4ftransforms for certain parts of the model.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic CompositeRenderable.Builderbuilder()voidrender(PoseStack poseStack, MultiBufferSource bufferSource, ITextureRenderTypeLookup textureRenderTypeLookup, int lightmap, int overlay, float partialTick, CompositeRenderable.Transforms context) Draws the renderable by adding the geometry to the providedMultiBufferSourceMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.model.renderable.IRenderablewithContext
- 
Field Details- 
components
 
- 
- 
Constructor Details- 
CompositeRenderableprivate CompositeRenderable()
 
- 
- 
Method Details- 
renderpublic void render(PoseStack poseStack, MultiBufferSource bufferSource, ITextureRenderTypeLookup textureRenderTypeLookup, int lightmap, int overlay, float partialTick, CompositeRenderable.Transforms context) Description copied from interface:IRenderableDraws the renderable by adding the geometry to the providedMultiBufferSource- Specified by:
- renderin interface- IRenderable<CompositeRenderable.Transforms>
- Parameters:
- poseStack- The pose stack
- bufferSource- The buffer source where the vertex data should be output
- textureRenderTypeLookup- A function that provides a RenderType for the given texture
- lightmap- The lightmap coordinates representing the current lighting conditions. See- LightTexture
- overlay- The overlay coordinates representing the current overlay status. See- OverlayTexture
- partialTick- The current time expressed in the fraction of a tick elapsed since the last client tick
- context- The context used for rendering
 
- 
builder
 
-