Class ShadowFeatureRenderer
java.lang.Object
net.minecraft.client.renderer.feature.RenderTypeFeatureRenderer<ShadowFeatureRenderer.Submit>
net.minecraft.client.renderer.feature.ShadowFeatureRenderer
- All Implemented Interfaces:
AutoCloseable, FeatureRenderer<ShadowFeatureRenderer.Submit>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RenderTypestatic final FeatureRendererType<ShadowFeatureRenderer.Submit> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildGroup(FeatureFrameContext context, List<ShadowFeatureRenderer.Submit> submits) private voidprepare(ShadowFeatureRenderer.Submit submit, VertexConsumer builder) private static voidshadowVertex(Matrix4fc pose, VertexConsumer buffer, int color, float x, float y, float z, float u, float v) Methods inherited from class RenderTypeFeatureRenderer
executeGroup, finishExecute, getVertexBuilder, prepareGroupMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FeatureRenderer
beginPrepare, close, finishPrepare
-
Field Details
-
TYPE
-
SHADOW_RENDER_TYPE
-
-
Constructor Details
-
ShadowFeatureRenderer
public ShadowFeatureRenderer()
-
-
Method Details
-
buildGroup
- Specified by:
buildGroupin classRenderTypeFeatureRenderer<ShadowFeatureRenderer.Submit>
-
prepare
-
shadowVertex
private static void shadowVertex(Matrix4fc pose, VertexConsumer buffer, int color, float x, float y, float z, float u, float v)
-