Class LecternRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.LecternRenderer
- All Implemented Interfaces:
BlockEntityRenderer<LecternBlockEntity>
,IBlockEntityRendererExtension<LecternBlockEntity>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox
(LecternBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.void
render
(LecternBlockEntity p_112435_, float p_112436_, PoseStack p_112437_, MultiBufferSource p_112438_, int p_112439_, int p_112440_) 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
-
bookModel
-
-
Constructor Details
-
LecternRenderer
-
-
Method Details
-
render
public void render(LecternBlockEntity p_112435_, float p_112436_, PoseStack p_112437_, MultiBufferSource p_112438_, int p_112439_, int p_112440_) - Specified by:
render
in interfaceBlockEntityRenderer<LecternBlockEntity>
-
getRenderBoundingBox
Description copied from interface:IBlockEntityRendererExtension
Return anAABB
that controls the visible scope of thisBlockEntityRenderer
. Defaults to the unit cube at the given position.AABB.INFINITE
can be used to declare the BER should be visible everywhere.- Specified by:
getRenderBoundingBox
in interfaceIBlockEntityRendererExtension<LecternBlockEntity>
- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-