Class BeaconBlockEntityRenderer

java.lang.Object
net.minecraft.client.render.block.entity.BeaconBlockEntityRenderer
All Implemented Interfaces:
BlockEntityRenderer<BeaconBlockEntity>

@Environment(CLIENT) public class BeaconBlockEntityRenderer extends Object implements BlockEntityRenderer<BeaconBlockEntity>
Mappings:
Namespace Name
official fjz
intermediary net/minecraft/class_822
named net/minecraft/client/render/block/entity/BeaconBlockEntityRenderer
  • Field Details

    • BEAM_TEXTURE

      public static final Identifier BEAM_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a:Ladd;
      intermediary field_4338 Lnet/minecraft/class_822;field_4338:Lnet/minecraft/class_2960;
      named BEAM_TEXTURE Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;BEAM_TEXTURE:Lnet/minecraft/util/Identifier;
    • MAX_BEAM_HEIGHT

      public static final int MAX_BEAM_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfjz;b:I
      intermediary field_32822 Lnet/minecraft/class_822;field_32822:I
      named MAX_BEAM_HEIGHT Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;MAX_BEAM_HEIGHT:I
  • Constructor Details

    • BeaconBlockEntityRenderer

      public BeaconBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfjz;<init>(Lfke$a;)V
      intermediary <init> Lnet/minecraft/class_822;<init>(Lnet/minecraft/class_5614$class_5615;)V
      named <init> Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
  • Method Details

    • render

      public void render(BeaconBlockEntity beaconBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
      Specified by:
      render in interface BlockEntityRenderer<BeaconBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lcyz;FLehe;Lfig;II)V
      intermediary method_3541 Lnet/minecraft/class_822;method_3541(Lnet/minecraft/class_2580;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      named render Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;render(Lnet/minecraft/block/entity/BeaconBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
    • renderBeam

      private static void renderBeam(MatrixStack matrices, VertexConsumerProvider vertexConsumers, float tickDelta, long worldTime, int yOffset, int maxY, float[] color)
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lehe;Lfig;FJII[F)V
      intermediary method_3543 Lnet/minecraft/class_822;method_3543(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;FJII[F)V
      named renderBeam Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeam(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;FJII[F)V
    • renderBeam

      public static void renderBeam(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Identifier textureId, float tickDelta, float heightScale, long worldTime, int yOffset, int maxY, float[] color, float innerRadius, float outerRadius)
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lehe;Lfig;Ladd;FFJII[FFF)V
      intermediary method_3545 Lnet/minecraft/class_822;method_3545(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_2960;FFJII[FFF)V
      named renderBeam Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeam(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/Identifier;FFJII[FFF)V
    • renderBeamLayer

      private static void renderBeamLayer(MatrixStack matrices, VertexConsumer vertices, float red, float green, float blue, float alpha, int yOffset, int height, float x1, float z1, float x2, float z2, float x3, float z3, float x4, float z4, float u1, float u2, float v1, float v2)
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lehe;Lehi;FFFFIIFFFFFFFFFFFF)V
      intermediary method_22741 Lnet/minecraft/class_822;method_22741(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;FFFFIIFFFFFFFFFFFF)V
      named renderBeamLayer Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeamLayer(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;FFFFIIFFFFFFFFFFFF)V
    • renderBeamFace

      private static void renderBeamFace(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int yOffset, int height, float x1, float z1, float x2, float z2, float u1, float u2, float v1, float v2)
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lehi;FFFFIIFFFFFFFF)V
      intermediary method_22740 Lnet/minecraft/class_822;method_22740(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/class_4588;FFFFIIFFFFFFFF)V
      named renderBeamFace Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeamFace(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/client/render/VertexConsumer;FFFFIIFFFFFFFF)V
    • renderBeamVertex

      private static void renderBeamVertex(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int y, float x, float z, float u, float v)
      Parameters:
      u - the left-most coordinate of the texture region
      v - the top-most coordinate of the texture region
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lehi;FFFFIFFFF)V
      intermediary method_23076 Lnet/minecraft/class_822;method_23076(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/class_4588;FFFFIFFFF)V
      named renderBeamVertex Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeamVertex(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/client/render/VertexConsumer;FFFFIFFFF)V
    • rendersOutsideBoundingBox

      public boolean rendersOutsideBoundingBox(BeaconBlockEntity beaconBlockEntity)
      Specified by:
      rendersOutsideBoundingBox in interface BlockEntityRenderer<BeaconBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lcyz;)Z
      intermediary method_3542 Lnet/minecraft/class_822;method_3542(Lnet/minecraft/class_2580;)Z
      named rendersOutsideBoundingBox Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;rendersOutsideBoundingBox(Lnet/minecraft/block/entity/BeaconBlockEntity;)Z
    • getRenderDistance

      public int getRenderDistance()
      Specified by:
      getRenderDistance in interface BlockEntityRenderer<BeaconBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official aM_ Lfkd;aM_()I
      intermediary method_33893 Lnet/minecraft/class_827;method_33893()I
      named getRenderDistance Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;getRenderDistance()I
    • isInRenderDistance

      public boolean isInRenderDistance(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d)
      Specified by:
      isInRenderDistance in interface BlockEntityRenderer<BeaconBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfjz;a(Lcyz;Lede;)Z
      intermediary method_33891 Lnet/minecraft/class_822;method_33891(Lnet/minecraft/class_2580;Lnet/minecraft/class_243;)Z
      named isInRenderDistance Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;isInRenderDistance(Lnet/minecraft/block/entity/BeaconBlockEntity;Lnet/minecraft/util/math/Vec3d;)Z