Class HangingSignRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.SignRenderer
net.minecraft.client.renderer.blockentity.HangingSignRenderer
- All Implemented Interfaces:
BlockEntityRenderer<SignBlockEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.blockentity.SignRenderer
SignRenderer.SignModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private final Map
<WoodType, HangingSignRenderer.HangingSignModel> private static final float
private static final String
private static final String
private static final Vec3
private static final float
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
(package private) Material
getSignMaterial
(WoodType p_251791_) float
float
(package private) Vec3
void
render
(SignBlockEntity p_249482_, float p_249273_, PoseStack p_250062_, MultiBufferSource p_250878_, int p_249035_, int p_252030_) (package private) void
renderSignModel
(PoseStack p_251159_, int p_249874_, int p_249794_, Model p_248746_, VertexConsumer p_249165_) (package private) void
translateSign
(PoseStack p_277807_, float p_277917_, BlockState p_277638_) Methods inherited from class net.minecraft.client.renderer.blockentity.SignRenderer
createSignLayer, createSignModel, getDarkColor, isOutlineVisible, renderSign, renderSignText, renderSignWithText
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, shouldRender, shouldRenderOffScreen
-
Field Details
-
PLANK
- See Also:
-
V_CHAINS
- See Also:
-
NORMAL_CHAINS
- See Also:
-
CHAIN_L_1
- See Also:
-
CHAIN_L_2
- See Also:
-
CHAIN_R_1
- See Also:
-
CHAIN_R_2
- See Also:
-
BOARD
- See Also:
-
MODEL_RENDER_SCALE
private static final float MODEL_RENDER_SCALE- See Also:
-
TEXT_RENDER_SCALE
private static final float TEXT_RENDER_SCALE- See Also:
-
TEXT_OFFSET
-
hangingSignModels
-
-
Constructor Details
-
HangingSignRenderer
-
-
Method Details
-
getSignModelRenderScale
public float getSignModelRenderScale()- Overrides:
getSignModelRenderScale
in classSignRenderer
-
getSignTextRenderScale
public float getSignTextRenderScale()- Overrides:
getSignTextRenderScale
in classSignRenderer
-
render
public void render(SignBlockEntity p_249482_, float p_249273_, PoseStack p_250062_, MultiBufferSource p_250878_, int p_249035_, int p_252030_) - Specified by:
render
in interfaceBlockEntityRenderer<SignBlockEntity>
- Overrides:
render
in classSignRenderer
-
translateSign
- Overrides:
translateSign
in classSignRenderer
-
renderSignModel
void renderSignModel(PoseStack p_251159_, int p_249874_, int p_249794_, Model p_248746_, VertexConsumer p_249165_) - Overrides:
renderSignModel
in classSignRenderer
-
getSignMaterial
- Overrides:
getSignMaterial
in classSignRenderer
-
getTextOffset
Vec3 getTextOffset()- Overrides:
getTextOffset
in classSignRenderer
-
createHangingSignLayer
-