Class EndGatewayBlockEntityRenderer
java.lang.Object
net.minecraft.client.render.block.entity.EndPortalBlockEntityRenderer<EndGatewayBlockEntity>
net.minecraft.client.render.block.entity.EndGatewayBlockEntityRenderer
- All Implemented Interfaces:
BlockEntityRenderer<EndGatewayBlockEntity>
@Environment(CLIENT) public class EndGatewayBlockEntityRenderer extends EndPortalBlockEntityRenderer<EndGatewayBlockEntity>
- Mappings:
Namespace Name official ekd
intermediary net/minecraft/class_841
named net/minecraft/client/render/block/entity/EndGatewayBlockEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
BEAM_TEXTURE
Fields inherited from class net.minecraft.client.render.block.entity.EndPortalBlockEntityRenderer
PORTAL_TEXTURE, SKY_TEXTURE
-
Constructor Summary
Constructors Constructor Description EndGatewayBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description protected int
getDetailLevel(double distance)
Decides how many layers of texture to show on a portal block based on its distance from the camera.protected float
getTopYOffset()
void
render(EndGatewayBlockEntity endGatewayBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
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.render.block.entity.BlockEntityRenderer
rendersOutsideBoundingBox
-
Field Details
-
BEAM_TEXTURE
- Mappings:
Namespace Name Mixin selector official c
Lekd;c:Lwb;
intermediary field_4409
Lnet/minecraft/class_841;field_4409:Lnet/minecraft/class_2960;
named BEAM_TEXTURE
Lnet/minecraft/client/render/block/entity/EndGatewayBlockEntityRenderer;BEAM_TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
EndGatewayBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Leke;<init>(Lejp$a;)V
intermediary <init>
Lnet/minecraft/class_840;<init>(Lnet/minecraft/class_5614$class_5615;)V
named <init>
Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
-
-
Method Details
-
render
public void render(EndGatewayBlockEntity endGatewayBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)- Specified by:
render
in interfaceBlockEntityRenderer<EndGatewayBlockEntity>
- Overrides:
render
in classEndPortalBlockEntityRenderer<EndGatewayBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Lekd;a(Lcgw;FLdlr;Lehq;II)V
intermediary method_22751
Lnet/minecraft/class_841;method_22751(Lnet/minecraft/class_2643;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
named render
Lnet/minecraft/client/render/block/entity/EndGatewayBlockEntityRenderer;render(Lnet/minecraft/block/entity/EndGatewayBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
-
getDetailLevel
protected int getDetailLevel(double distance)Decides how many layers of texture to show on a portal block based on its distance from the camera.- Overrides:
getDetailLevel
in classEndPortalBlockEntityRenderer<EndGatewayBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Leke;a(D)I
intermediary method_3592
Lnet/minecraft/class_840;method_3592(D)I
named getDetailLevel
Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;getDetailLevel(D)I
-
getTopYOffset
protected float getTopYOffset()- Overrides:
getTopYOffset
in classEndPortalBlockEntityRenderer<EndGatewayBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Leke;a()F
intermediary method_3594
Lnet/minecraft/class_840;method_3594()F
named getTopYOffset
Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;getTopYOffset()F
-