Class RenderCable
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
ConstructorsConstructorDescriptionRenderCable(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidrender(BlockEntityMultipartTicking tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay) booleanshouldRender(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, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRenderOffScreenMethods 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:
shouldRenderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<BlockEntityMultipartTicking>
-
hasOverlayRenderers
-
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:
renderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<BlockEntityMultipartTicking>
-