java.lang.Object
org.cyclops.integrateddynamics.client.render.blockentity.RenderCable
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BlockEntityMultipartTicking>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<BlockEntityMultipartTicking>

public class RenderCable extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BlockEntityMultipartTicking>
Renderer for cable components.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RenderCable(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    void
    render(BlockEntityMultipartTicking tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay)
     
    boolean
    shouldRender(BlockEntityMultipartTicking tile, net.minecraft.world.phys.Vec3 cameraPos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer

    getViewDistance, shouldRenderOffScreen

    Methods inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension

    getRenderBoundingBox
  • Constructor Details

    • RenderCable

      public RenderCable(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
  • Method Details

    • shouldRender

      public boolean shouldRender(BlockEntityMultipartTicking tile, net.minecraft.world.phys.Vec3 cameraPos)
      Specified by:
      shouldRender in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BlockEntityMultipartTicking>
    • hasOverlayRenderers

      protected boolean hasOverlayRenderers(BlockEntityMultipartTicking tile)
    • render

      public void render(BlockEntityMultipartTicking tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BlockEntityMultipartTicking>