Class TrialSpawnerRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.TrialSpawnerRenderer
- All Implemented Interfaces:
BlockEntityRenderer<TrialSpawnerBlockEntity>
,IBlockEntityRendererExtension<TrialSpawnerBlockEntity>
public class TrialSpawnerRenderer
extends Object
implements BlockEntityRenderer<TrialSpawnerBlockEntity>
-
Field Summary
Fields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
INFINITE_EXTENT_AABB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRenderBoundingBox
(TrialSpawnerBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.void
render
(TrialSpawnerBlockEntity p_312217_, float p_312274_, PoseStack p_312684_, MultiBufferSource p_312816_, int p_312320_, int p_312349_) 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
-
entityRenderer
-
-
Constructor Details
-
TrialSpawnerRenderer
-
-
Method Details
-
render
public void render(TrialSpawnerBlockEntity p_312217_, float p_312274_, PoseStack p_312684_, MultiBufferSource p_312816_, int p_312320_, int p_312349_) - Specified by:
render
in interfaceBlockEntityRenderer<TrialSpawnerBlockEntity>
-
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<TrialSpawnerBlockEntity>
- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-