Interface IPartOverlayRenderer
- All Known Implementing Classes:
ConnectorOmniPartOverlayRenderer,DisplayPartOverlayRenderer,PartOverlayRendererBase
public interface IPartOverlayRenderer
A renderer used to render additional elements for a part.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrenderPartOverlay(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, IPartContainer partContainer, net.minecraft.core.Direction direction, IPartType partType, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay) Render the overlay.
-
Method Details
-
renderPartOverlay
void renderPartOverlay(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, IPartContainer partContainer, net.minecraft.core.Direction direction, IPartType partType, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay) Render the overlay.- Parameters:
context- The render contextpartContainer- The part container for this partdirection- The direction this part is facingpartType- The part type that is being overlayedpartialTicks- The partial tickmatrixStack- The matrix render stack.renderTypeBuffer- The render type buffer.combinedLight- The combined light value.combinedOverlay- The combined overlay value.
-