Class PartOverlayRendererBase

java.lang.Object
org.cyclops.integrateddynamics.client.render.part.PartOverlayRendererBase
All Implemented Interfaces:
IPartOverlayRenderer
Direct Known Subclasses:
ConnectorOmniPartOverlayRenderer, DisplayPartOverlayRenderer

public abstract class PartOverlayRendererBase extends Object implements IPartOverlayRenderer
Base class for part overlay renderers.
  • Constructor Details

    • PartOverlayRendererBase

      public PartOverlayRendererBase()
  • Method Details

    • getMaxRenderDistance

      protected int getMaxRenderDistance()
    • shouldRender

      protected boolean shouldRender(net.minecraft.core.BlockPos pos)
    • setMatrixOrientation

      protected void setMatrixOrientation(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.core.Direction direction)
      Sets the OpenGL matrix orientation for the given direction.
      Parameters:
      matrixStack - The matrix stack.
      direction - The direction to orient the OpenGL matrix to.