Class DisplayRenderer.BlockDisplayRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Display.BlockDisplay>
net.minecraft.client.renderer.entity.DisplayRenderer<Display.BlockDisplay,Display.BlockDisplay.BlockRenderState>
net.minecraft.client.renderer.entity.DisplayRenderer.BlockDisplayRenderer
- Enclosing class:
DisplayRenderer<T extends Display,
S>
public static class DisplayRenderer.BlockDisplayRenderer
extends DisplayRenderer<Display.BlockDisplay,Display.BlockDisplay.BlockRenderState>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.entity.DisplayRenderer
DisplayRenderer.BlockDisplayRenderer, DisplayRenderer.ItemDisplayRenderer, DisplayRenderer.TextDisplayRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected Display.BlockDisplay.BlockRenderState
getSubState
(Display.BlockDisplay p_277721_) void
renderInner
(Display.BlockDisplay p_277939_, Display.BlockDisplay.BlockRenderState p_277885_, PoseStack p_277831_, MultiBufferSource p_277554_, int p_278071_, float p_277847_) Methods inherited from class net.minecraft.client.renderer.entity.DisplayRenderer
getTextureLocation, render
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
blockRenderer
-
-
Constructor Details
-
BlockDisplayRenderer
-
-
Method Details
-
getSubState
@Nullable protected Display.BlockDisplay.BlockRenderState getSubState(Display.BlockDisplay p_277721_) - Specified by:
getSubState
in classDisplayRenderer<Display.BlockDisplay,
Display.BlockDisplay.BlockRenderState>
-
renderInner
public void renderInner(Display.BlockDisplay p_277939_, Display.BlockDisplay.BlockRenderState p_277885_, PoseStack p_277831_, MultiBufferSource p_277554_, int p_278071_, float p_277847_) - Specified by:
renderInner
in classDisplayRenderer<Display.BlockDisplay,
Display.BlockDisplay.BlockRenderState>
-