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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox(EnchantingTableBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.voidrender(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, waitMethods 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:
renderin interfaceBlockEntityRenderer<EnchantingTableBlockEntity>
-
getRenderBoundingBox
Description copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.AABB.INFINITEcan be used to declare the BER should be visible everywhere.- Specified by:
getRenderBoundingBoxin interfaceIBlockEntityRendererExtension<EnchantingTableBlockEntity>- Returns:
- an appropriately sized
AABBfor theBlockEntityRenderer
-