Class ConnectorOmniPartOverlayRenderer
java.lang.Object
org.cyclops.integrateddynamics.client.render.part.PartOverlayRendererBase
org.cyclops.integrateddynamics.client.render.part.ConnectorOmniPartOverlayRenderer
- All Implemented Interfaces:
IPartOverlayRenderer
Overlay renderer for the omni-directional connector for rendering particle effects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
getGroupColor
(int group) 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.Methods inherited from class org.cyclops.integrateddynamics.client.render.part.PartOverlayRendererBase
getMaxRenderDistance, setMatrixOrientation, shouldRender
-
Constructor Details
-
ConnectorOmniPartOverlayRenderer
public ConnectorOmniPartOverlayRenderer()
-
-
Method Details
-
getGroupColor
protected static int getGroupColor(int group) -
renderPartOverlay
public 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) Description copied from interface:IPartOverlayRenderer
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.
-