Class ShulkerBoxRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.ShulkerBoxRenderer
- All Implemented Interfaces:
- BlockEntityRenderer<ShulkerBoxBlockEntity>,- IBlockEntityRendererExtension<ShulkerBoxBlockEntity>
public class ShulkerBoxRenderer
extends Object
implements BlockEntityRenderer<ShulkerBoxBlockEntity>
- 
Field SummaryFieldsFields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtensionINFINITE_EXTENT_AABB
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetRenderBoundingBox(ShulkerBoxBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.voidrender(ShulkerBoxBlockEntity p_112478_, float p_112479_, PoseStack p_112480_, MultiBufferSource p_112481_, int p_112482_, int p_112483_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderergetViewDistance, shouldRender, shouldRenderOffScreen
- 
Field Details- 
model
 
- 
- 
Constructor Details- 
ShulkerBoxRenderer
 
- 
- 
Method Details- 
renderpublic void render(ShulkerBoxBlockEntity p_112478_, float p_112479_, PoseStack p_112480_, MultiBufferSource p_112481_, int p_112482_, int p_112483_) - Specified by:
- renderin interface- BlockEntityRenderer<ShulkerBoxBlockEntity>
 
- 
getRenderBoundingBoxDescription copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Specified by:
- getRenderBoundingBoxin interface- IBlockEntityRendererExtension<ShulkerBoxBlockEntity>
- Returns:
- an appropriately sized AABBfor theBlockEntityRenderer
 
 
-