Class EnchantTableRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.EnchantTableRenderer
- All Implemented Interfaces:
BlockEntityRenderer<EnchantmentTableBlockEntity>
,IBlockEntityRendererExtension<EnchantmentTableBlockEntity>
public class EnchantTableRenderer
extends Object
implements BlockEntityRenderer<EnchantmentTableBlockEntity>
-
Field Summary
Fields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
INFINITE_EXTENT_AABB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox
(EnchantmentTableBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.void
render
(EnchantmentTableBlockEntity p_112418_, 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(EnchantmentTableBlockEntity p_112418_, float p_112419_, PoseStack p_112420_, MultiBufferSource p_112421_, int p_112422_, int p_112423_) - Specified by:
render
in interfaceBlockEntityRenderer<EnchantmentTableBlockEntity>
-
getRenderBoundingBox
Description copied from interface:IBlockEntityRendererExtension
Return anAABB
that controls the visible scope of thisBlockEntityRenderer
. Defaults to the unit cube at the given position.- Specified by:
getRenderBoundingBox
in interfaceIBlockEntityRendererExtension<EnchantmentTableBlockEntity>
- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-