Class EnchantTableRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.EnchantTableRenderer
- All Implemented Interfaces:
BlockEntityRenderer<EnchantingTableBlockEntity>
,IBlockEntityRendererExtension<EnchantingTableBlockEntity>
public class EnchantTableRenderer
extends Object
implements BlockEntityRenderer<EnchantingTableBlockEntity>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox
(EnchantingTableBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.void
render
(EnchantingTableBlockEntity p_341203_, float p_112419_, PoseStack p_112420_, MultiBufferSource p_112421_, int p_112422_, int p_112423_) 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
-
BOOK_LOCATION
-
bookModel
-
-
Constructor Details
-
EnchantTableRenderer
-
-
Method Details
-
render
public void render(EnchantingTableBlockEntity p_341203_, float p_112419_, PoseStack p_112420_, MultiBufferSource p_112421_, int p_112422_, int p_112423_) - Specified by:
render
in interfaceBlockEntityRenderer<EnchantingTableBlockEntity>
-
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<EnchantingTableBlockEntity>
- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-