net.minecraft.client.renderer.blockentity

public class SignRenderer

implements BlockEntityRenderer<SignBlockEntity>

ghn
net.minecraft.client.renderer.blockentity.SignRenderer
net.minecraft.class_837
net.minecraft.client.render.block.entity.SignBlockEntityRenderer
net.minecraft.src.C_4253_

Field summary

Modifier and TypeField
private static final String
a
STICK
field_32830
STICK
f_173629_
private static final int
b
BLACK_TEXT_OUTLINE_COLOR
field_33962
GLOWING_BLACK_COLOR
f_173630_
private static final int
c
OUTLINE_RENDER_DISTANCE
field_33963
RENDER_DISTANCE
f_173631_
private static final float
d
RENDER_SCALE
field_44577
SCALE
f_278501_
private static final Vec3
e
TEXT_OFFSET
field_44578
TEXT_OFFSET
f_278459_
private final Map<WoodType, SignRenderer$SignModel>
f
signModels
field_27754
typeToModel
f_173632_
private final Font
g
font
field_27755
textRenderer
f_173633_

Constructor summary

ModifierConstructor
public (BlockEntityRendererProvider$Context ctx)

Method summary

Modifier and TypeMethod
public void
a(drs arg0, float arg1, fbi arg2, gez arg3, int arg4, int arg5)
render(SignBlockEntity arg0, float arg1, PoseStack arg2, MultiBufferSource arg3, int arg4, int arg5)
method_23083(class_2625 arg0, float arg1, class_4587 arg2, class_4597 arg3, int arg4, int arg5)
render(SignBlockEntity arg0, float arg1, MatrixStack arg2, VertexConsumerProvider arg3, int arg4, int arg5)
m_6922_(C_2024_ p_112498_, float p_112499_, C_3181_ p_112500_, C_4139_ p_112501_, int p_112502_, int arg5)
public float
b()
getSignModelRenderScale()
method_51272()
getSignScale()
m_278770_()
public float
c()
getSignTextRenderScale()
method_51273()
getTextScale()
m_278631_()
void
a(drs arg0, fbi arg1, gez arg2, int arg3, int arg4, dtc arg5, dmz arg6, dup arg7, fwg arg8)
renderSignWithText(SignBlockEntity arg0, PoseStack arg1, MultiBufferSource arg2, int arg3, int arg4, BlockState arg5, SignBlock arg6, WoodType arg7, Model arg8)
method_49920(class_2625 arg0, class_4587 arg1, class_4597 arg2, int arg3, int arg4, class_2680 arg5, class_2478 arg6, class_4719 arg7, class_3879 arg8)
render(SignBlockEntity entity, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BlockState state, AbstractSignBlock block, WoodType woodType, Model model)
m_278756_(C_2024_ p_279331_, C_3181_ p_279303_, C_4139_ p_279396_, int p_279203_, int p_279391_, C_2064_ p_279224_, C_1895_ p_279162_, C_2106_ p_279444_, C_3840_ arg8)
void
a(fbi arg0, float arg1, dtc arg2)
translateSign(PoseStack arg0, float arg1, BlockState arg2)
method_49918(class_4587 arg0, float arg1, class_2680 arg2)
setAngles(MatrixStack matrices, float rotationDegrees, BlockState state)
m_276777_(C_3181_ p_277875_, float p_277559_, C_2064_ arg2)
void
a(fbi arg0, gez arg1, int arg2, int arg3, dup arg4, fwg arg5)
renderSign(PoseStack arg0, MultiBufferSource arg1, int arg2, int arg3, WoodType arg4, Model arg5)
method_45800(class_4587 arg0, class_4597 arg1, int arg2, int arg3, class_4719 arg4, class_3879 arg5)
renderSign(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, WoodType woodType, Model model)
m_278784_(C_3181_ p_279408_, C_4139_ p_279494_, int p_279344_, int p_279170_, C_2106_ p_279159_, C_3840_ arg5)
void
a(fbi arg0, int arg1, int arg2, fwg arg3, fbm arg4)
renderSignModel(PoseStack arg0, int arg1, int arg2, Model arg3, VertexConsumer arg4)
method_45793(class_4587 arg0, int arg1, int arg2, class_3879 arg3, class_4588 arg4)
renderSignModel(MatrixStack matrices, int light, int overlay, Model model, VertexConsumer vertexConsumers)
m_245885_(C_3181_ p_249399_, int p_249042_, int p_250082_, C_3840_ p_251093_, C_3187_ arg4)
Material
a(dup arg0)
getSignMaterial(WoodType arg0)
method_45792(class_4719 arg0)
getTextureId(WoodType signType)
m_245629_(C_2106_ arg0)
void
a(jd arg0, drt arg1, fbi arg2, gez arg3, int arg4, int arg5, int arg6, boolean arg7)
renderSignText(BlockPos arg0, SignText arg1, PoseStack arg2, MultiBufferSource arg3, int arg4, int arg5, int arg6, boolean arg7)
method_45798(class_2338 arg0, class_8242 arg1, class_4587 arg2, class_4597 arg3, int arg4, int arg5, int arg6, boolean arg7)
renderText(BlockPos pos, SignText signText, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int lineHeight, int lineWidth, boolean front)
m_278841_(C_4675_ p_279361_, C_276381_ p_279234_, C_3181_ p_279338_, C_4139_ p_279300_, int p_279179_, int p_279357_, int p_279325_, boolean arg7)
private void
a(fbi arg0, boolean arg1, exc arg2)
translateSignText(PoseStack arg0, boolean arg1, Vec3 arg2)
method_49919(class_4587 arg0, boolean arg1, class_243 arg2)
setTextAngles(MatrixStack matrices, boolean front, Vec3d translation)
m_278823_(C_3181_ p_279134_, boolean p_279280_, C_3046_ arg2)
Vec3
d()
getTextOffset()
method_45790()
getTextOffset()
m_278725_()
static boolean
a(jd arg0, int arg1)
isOutlineVisible(BlockPos arg0, int arg1)
method_37312(class_2338 arg0, int arg1)
shouldRender(BlockPos pos, int signColor)
m_277119_(C_4675_ p_277741_, int p_278022_)
public static int
a(drt arg0)
getDarkColor(SignText arg0)
method_37311(class_8242 arg0)
getColor(SignText sign)
m_173639_(C_276381_ p_277914_)
public static SignRenderer$SignModel
a(fyg arg0, dup arg1)
createSignModel(EntityModelSet arg0, WoodType arg1)
method_32157(class_5599 arg0, class_4719 arg1)
createSignModel(EntityModelLoader entityModelLoader, WoodType type)
m_173646_(C_141653_ p_173647_, C_2106_ p_173648_)
public static LayerDefinition
f()
createSignLayer()
method_32154()
getTexturedModelData()
m_173654_()