Class DisplayPartOverlayRenderer

java.lang.Object
org.cyclops.integrateddynamics.client.render.part.PartOverlayRendererBase
org.cyclops.integrateddynamics.client.render.part.DisplayPartOverlayRenderer
All Implemented Interfaces:
IPartOverlayRenderer

public class DisplayPartOverlayRenderer extends PartOverlayRendererBase
Overlay renderer for the display part to display values on the part.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
    protected static final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    drawError(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, int combinedLight, int combinedOverlay, float distanceAlpha)
     
    protected void
    setMatrixOrientation(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.core.Direction direction)
    Sets the OpenGL matrix orientation for the given direction.
    void
    submitPartOverlay(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.SubmitNodeCollector submitNodeCollector, int combinedLight, int combinedOverlay)
    Render the overlay.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DisplayPartOverlayRenderer

      public DisplayPartOverlayRenderer()
  • Method Details

    • setMatrixOrientation

      protected void setMatrixOrientation(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.core.Direction direction)
      Description copied from class: PartOverlayRendererBase
      Sets the OpenGL matrix orientation for the given direction.
      Overrides:
      setMatrixOrientation in class PartOverlayRendererBase
      Parameters:
      matrixStack - The matrix stack.
      direction - The direction to orient the OpenGL matrix to.
    • submitPartOverlay

      public void submitPartOverlay(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.SubmitNodeCollector submitNodeCollector, int combinedLight, int combinedOverlay)
      Description copied from interface: IPartOverlayRenderer
      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.
      submitNodeCollector - The render type buffer.
      combinedLight - The combined light value.
      combinedOverlay - The combined overlay value.
    • drawError

      protected void drawError(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, int combinedLight, int combinedOverlay, float distanceAlpha)