Class PartOverlayRendererBase
java.lang.Object
org.cyclops.integrateddynamics.client.render.part.PartOverlayRendererBase
- All Implemented Interfaces:
IPartOverlayRenderer
- Direct Known Subclasses:
ConnectorOmniPartOverlayRenderer
,DisplayPartOverlayRenderer
Base class for part overlay renderers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected void
setMatrixOrientation
(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.core.Direction direction) Sets the OpenGL matrix orientation for the given direction.protected boolean
shouldRender
(net.minecraft.core.BlockPos pos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.integrateddynamics.api.client.render.part.IPartOverlayRenderer
renderPartOverlay
-
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.
-