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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox
(ShulkerBoxBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.void
render
(ShulkerBoxBlockEntity p_112478_, float p_112479_, PoseStack p_112480_, MultiBufferSource p_112481_, int p_112482_, int p_112483_) 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
-
model
-
-
Constructor Details
-
ShulkerBoxRenderer
-
-
Method Details
-
render
public void render(ShulkerBoxBlockEntity p_112478_, float p_112479_, PoseStack p_112480_, MultiBufferSource p_112481_, int p_112482_, int p_112483_) - Specified by:
render
in interfaceBlockEntityRenderer<ShulkerBoxBlockEntity>
-
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<ShulkerBoxBlockEntity>
- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-