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 Type
    Method
    Description
    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.
  • 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 context
      partContainer - The part container for this part
      direction - The direction this part is facing
      partType - The part type that is being overlayed
      partialTicks - The partial tick
      matrixStack - The matrix render stack.
      renderTypeBuffer - The render type buffer.
      combinedLight - The combined light value.
      combinedOverlay - The combined overlay value.