Class GaugeRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<GaugeBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer<GaugeBlockEntity>
com.simibubi.create.content.kinetics.base.ShaftRenderer<GaugeBlockEntity>
com.simibubi.create.content.kinetics.gauge.GaugeRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<GaugeBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<GaugeBlockEntity>
-
Field Summary
FieldsFields inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer
KINETIC_BLOCK, rainbowMode, REVERSED_CHUNK_BUFFER_LAYERS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGaugeRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, GaugeBlock.Type type) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrenderSafe(GaugeBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) protected net.createmod.catnip.render.SuperByteBufferrotateBufferTowards(net.createmod.catnip.render.SuperByteBuffer buffer, net.minecraft.core.Direction target) static GaugeRendererspeed(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) static GaugeRendererstress(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) Methods inherited from class com.simibubi.create.content.kinetics.base.ShaftRenderer
getRenderedBlockStateMethods inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer
getAngleForBe, getRenderType, getRotatedModel, getRotationAxisOf, getRotationOffsetForPosition, kineticRotationTransform, renderRotatingBuffer, renderRotatingKineticBlock, shaft, standardKineticRotationTransformMethods inherited from class com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer
getRenderBoundingBox, isInvalid, render, shouldCullItemMethods 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, shouldRender, shouldRenderOffScreen
-
Field Details
-
type
-
-
Constructor Details
-
GaugeRenderer
protected GaugeRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, GaugeBlock.Type type)
-
-
Method Details
-
speed
public static GaugeRenderer speed(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
stress
public static GaugeRenderer stress(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
renderSafe
protected void renderSafe(GaugeBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Overrides:
renderSafein classKineticBlockEntityRenderer<GaugeBlockEntity>
-
rotateBufferTowards
protected net.createmod.catnip.render.SuperByteBuffer rotateBufferTowards(net.createmod.catnip.render.SuperByteBuffer buffer, net.minecraft.core.Direction target)
-