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 Details

    • BEAM_TEXTURE

      private static final Identifier 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

      public EndGatewayBlockEntityRenderer​(BlockEntityRendererFactory.Context ctx)
      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 interface BlockEntityRenderer<EndGatewayBlockEntity>
      Overrides:
      render in class EndPortalBlockEntityRenderer<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 class EndPortalBlockEntityRenderer<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 class EndPortalBlockEntityRenderer<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