Class SignRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.SignRenderer
- All Implemented Interfaces:
BlockEntityRenderer<SignBlockEntity>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private Font
private static int
static int
private static int
private Map<WoodType,SignRenderer.SignModel>
private static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
static SignRenderer.SignModel
createSignModel(EntityModelSet p_173647_, WoodType p_173648_)
private static int
getDarkColor(SignBlockEntity p_173640_)
static WoodType
getWoodType(Block p_173638_)
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_)
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
-
MAX_LINE_WIDTH
public static final int MAX_LINE_WIDTH- See Also:
- Constant Field Values
-
LINE_HEIGHT
private static final int LINE_HEIGHT- See Also:
- Constant Field Values
-
STICK
- See Also:
- Constant Field Values
-
BLACK_TEXT_OUTLINE_COLOR
private static final int BLACK_TEXT_OUTLINE_COLOR- See Also:
- Constant Field Values
-
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>
-
isOutlineVisible
-
getDarkColor
-
getWoodType
-
createSignModel
-
createSignLayer
-