Class EndPortalBlockEntityRenderer<T extends EndPortalBlockEntity>

java.lang.Object
net.minecraft.client.render.block.entity.EndPortalBlockEntityRenderer<T>
All Implemented Interfaces:
BlockEntityRenderer<T>
Direct Known Subclasses:
EndGatewayBlockEntityRenderer

@Environment(CLIENT)
public class EndPortalBlockEntityRenderer<T extends EndPortalBlockEntity>
extends Object
implements BlockEntityRenderer<T>
Mappings:
Namespace Name
official eke
intermediary net/minecraft/class_840
named net/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer
  • Field Details

    • SKY_TEXTURE

      public static final Identifier SKY_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Leke;a:Lwb;
      intermediary field_4406 Lnet/minecraft/class_840;field_4406:Lnet/minecraft/class_2960;
      named SKY_TEXTURE Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;SKY_TEXTURE:Lnet/minecraft/util/Identifier;
    • PORTAL_TEXTURE

      public static final Identifier PORTAL_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official b Leke;b:Lwb;
      intermediary field_4407 Lnet/minecraft/class_840;field_4407:Lnet/minecraft/class_2960;
      named PORTAL_TEXTURE Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;PORTAL_TEXTURE:Lnet/minecraft/util/Identifier;
    • RANDOM

      private static final Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official c Leke;c:Ljava/util/Random;
      intermediary field_4405 Lnet/minecraft/class_840;field_4405:Ljava/util/Random;
      named RANDOM Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;RANDOM:Ljava/util/Random;
    • PORTAL_RENDER_LAYERS

      private static final List<RenderLayer> PORTAL_RENDER_LAYERS
      Mappings:
      Namespace Name Mixin selector
      official d Leke;d:Ljava/util/List;
      intermediary field_21732 Lnet/minecraft/class_840;field_21732:Ljava/util/List;
      named PORTAL_RENDER_LAYERS Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;PORTAL_RENDER_LAYERS:Ljava/util/List;
    • dispatcher

      private final BlockEntityRenderDispatcher dispatcher
      Mappings:
      Namespace Name Mixin selector
      official e Leke;e:Lejn;
      intermediary field_27757 Lnet/minecraft/class_840;field_27757:Lnet/minecraft/class_824;
      named dispatcher Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;dispatcher:Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;
  • Constructor Details

    • EndPortalBlockEntityRenderer

      public EndPortalBlockEntityRenderer​(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​(T t, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
      Specified by:
      render in interface BlockEntityRenderer<T extends EndPortalBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Leke;a(Lcgx;FLdlr;Lehq;II)V
      intermediary method_3591 Lnet/minecraft/class_840;method_3591(Lnet/minecraft/class_2640;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      named render Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;render(Lnet/minecraft/block/entity/EndPortalBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
    • renderSides

      private void renderSides​(T entity, float topYOffset, float brightness, Matrix4f model, VertexConsumer vertices)
      Mappings:
      Namespace Name Mixin selector
      official a Leke;a(Lcgx;FFLb;Ldlv;)V
      intermediary method_23084 Lnet/minecraft/class_840;method_23084(Lnet/minecraft/class_2640;FFLnet/minecraft/class_1159;Lnet/minecraft/class_4588;)V
      named renderSides Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;renderSides(Lnet/minecraft/block/entity/EndPortalBlockEntity;FFLnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;)V
    • renderSide

      private void renderSide​(T entity, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, float red, float green, float blue, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Leke;a(Lcgx;Lb;Ldlv;FFFFFFFFFFFLgc;)V
      intermediary method_23085 Lnet/minecraft/class_840;method_23085(Lnet/minecraft/class_2640;Lnet/minecraft/class_1159;Lnet/minecraft/class_4588;FFFFFFFFFFFLnet/minecraft/class_2350;)V
      named renderSide Lnet/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer;renderSide(Lnet/minecraft/block/entity/EndPortalBlockEntity;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;FFFFFFFFFFFLnet/minecraft/util/math/Direction;)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.
      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()
      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