Class TheEndGatewayRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.TheEndPortalRenderer<TheEndGatewayBlockEntity>
net.minecraft.client.renderer.blockentity.TheEndGatewayRenderer
- All Implemented Interfaces:
BlockEntityRenderer<TheEndGatewayBlockEntity>
,IBlockEntityRendererExtension<TheEndGatewayBlockEntity>
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.blockentity.TheEndPortalRenderer
END_PORTAL_LOCATION, END_SKY_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
protected float
getRenderBoundingBox
(TheEndGatewayBlockEntity blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.int
void
render
(TheEndGatewayBlockEntity p_112613_, float p_112614_, PoseStack p_112615_, MultiBufferSource p_112616_, int p_112617_, int p_112618_) protected RenderType
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
shouldRender, shouldRenderOffScreen
-
Field Details
-
BEAM_LOCATION
-
-
Constructor Details
-
TheEndGatewayRenderer
-
-
Method Details
-
render
public void render(TheEndGatewayBlockEntity p_112613_, float p_112614_, PoseStack p_112615_, MultiBufferSource p_112616_, int p_112617_, int p_112618_) - Specified by:
render
in interfaceBlockEntityRenderer<TheEndGatewayBlockEntity>
- Overrides:
render
in classTheEndPortalRenderer<TheEndGatewayBlockEntity>
-
getOffsetUp
protected float getOffsetUp()- Overrides:
getOffsetUp
in classTheEndPortalRenderer<TheEndGatewayBlockEntity>
-
getOffsetDown
protected float getOffsetDown()- Overrides:
getOffsetDown
in classTheEndPortalRenderer<TheEndGatewayBlockEntity>
-
renderType
- Overrides:
renderType
in classTheEndPortalRenderer<TheEndGatewayBlockEntity>
-
getViewDistance
public int getViewDistance() -
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.- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-