Class SignRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.SignRenderer
- All Implemented Interfaces:
BlockEntityRenderer<SignBlockEntity>
- Direct Known Subclasses:
HangingSignRenderer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final Font
private static final int
private final Map<WoodType,
SignRenderer.SignModel> private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
static SignRenderer.SignModel
createSignModel
(EntityModelSet p_173647_, WoodType p_173648_) (package private) static int
getDarkColor
(SignBlockEntity p_173640_) (package private) Material
getSignMaterial
(WoodType p_251961_) (package private) Vec3
getTextOffset
(float p_248916_) (package private) static boolean
isOutlineVisible
(SignBlockEntity p_173642_, int p_173643_) void
render
(SignBlockEntity p_112497_, float p_112498_, PoseStack p_112499_, MultiBufferSource p_112500_, int p_112501_, int p_112502_) (package private) void
renderSign
(PoseStack p_248726_, MultiBufferSource p_248896_, int p_249365_, int p_249267_, float p_249454_, WoodType p_249724_, Model p_250100_) (package private) void
renderSignModel
(PoseStack p_250252_, int p_249399_, int p_249042_, Model p_250082_, VertexConsumer p_251093_) (package private) void
renderSignText
(SignBlockEntity p_250524_, PoseStack p_251442_, MultiBufferSource p_249729_, int p_248845_, float p_249971_) 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
-
STICK
- See Also:
-
BLACK_TEXT_OUTLINE_COLOR
private static final int BLACK_TEXT_OUTLINE_COLOR- See Also:
-
OUTLINE_RENDER_DISTANCE
private static final int OUTLINE_RENDER_DISTANCE -
signModels
-
font
-
-
Constructor Details
-
SignRenderer
-
-
Method Details
-
render
public void render(SignBlockEntity p_112497_, float p_112498_, PoseStack p_112499_, MultiBufferSource p_112500_, int p_112501_, int p_112502_) - Specified by:
render
in interfaceBlockEntityRenderer<SignBlockEntity>
-
renderSign
void renderSign(PoseStack p_248726_, MultiBufferSource p_248896_, int p_249365_, int p_249267_, float p_249454_, WoodType p_249724_, Model p_250100_) -
renderSignModel
void renderSignModel(PoseStack p_250252_, int p_249399_, int p_249042_, Model p_250082_, VertexConsumer p_251093_) -
getSignMaterial
-
renderSignText
void renderSignText(SignBlockEntity p_250524_, PoseStack p_251442_, MultiBufferSource p_249729_, int p_248845_, float p_249971_) -
getTextOffset
-
isOutlineVisible
-
getDarkColor
-
createSignModel
-
createSignLayer
-