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 flfintermediary net/minecraft/class_822named net/minecraft/client/render/block/entity/BeaconBlockEntityRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisInRenderDistance(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d) voidrender(BeaconBlockEntity beaconBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3) private static voidrenderBeam(MatrixStack matrices, VertexConsumerProvider vertexConsumers, float tickDelta, long worldTime, int yOffset, int maxY, float[] color) static voidrenderBeam(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Identifier textureId, float tickDelta, float heightScale, long worldTime, int yOffset, int maxY, float[] color, float innerRadius, float outerRadius) private static voidrenderBeamFace(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) private static voidrenderBeamLayer(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) private static voidrenderBeamVertex(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int y, float x, float z, float u, float v) booleanrendersOutsideBoundingBox(BeaconBlockEntity beaconBlockEntity)
-
Field Details
-
BEAM_TEXTURE
- Mappings:
Namespace Name Mixin selector official aLflf;a:Lacq;intermediary field_4338Lnet/minecraft/class_822;field_4338:Lnet/minecraft/class_2960;named BEAM_TEXTURELnet/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 bLflf;b:Iintermediary field_32822Lnet/minecraft/class_822;field_32822:Inamed MAX_BEAM_HEIGHTLnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;MAX_BEAM_HEIGHT:I
-
-
Constructor Details
-
BeaconBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lflf;<init>(Lflk$a;)Vintermediary <init>Lnet/minecraft/class_822;<init>(Lnet/minecraft/class_5614$class_5615;)Vnamed <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:
renderin interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official aLflf;a(Lczf;FLeib;Lfjm;II)Vintermediary method_3541Lnet/minecraft/class_822;method_3541(Lnet/minecraft/class_2580;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Vnamed renderLnet/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 aLflf;a(Leib;Lfjm;FJII[F)Vintermediary method_3543Lnet/minecraft/class_822;method_3543(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;FJII[F)Vnamed renderBeamLnet/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 aLflf;a(Leib;Lfjm;Lacq;FFJII[FFF)Vintermediary method_3545Lnet/minecraft/class_822;method_3545(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_2960;FFJII[FFF)Vnamed renderBeamLnet/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 aLflf;a(Leib;Leif;FFFFIIFFFFFFFFFFFF)Vintermediary method_22741Lnet/minecraft/class_822;method_22741(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;FFFFIIFFFFFFFFFFFF)Vnamed renderBeamLayerLnet/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 aLflf;a(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Leif;FFFFIIFFFFFFFF)Vintermediary method_22740Lnet/minecraft/class_822;method_22740(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/class_4588;FFFFIIFFFFFFFF)Vnamed renderBeamFaceLnet/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 regionv- the top-most coordinate of the texture region- Mappings:
Namespace Name Mixin selector official aLflf;a(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Leif;FFFFIFFFF)Vintermediary method_23076Lnet/minecraft/class_822;method_23076(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/class_4588;FFFFIFFFF)Vnamed renderBeamVertexLnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeamVertex(Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;Lnet/minecraft/client/render/VertexConsumer;FFFFIFFFF)V
-
rendersOutsideBoundingBox
- Specified by:
rendersOutsideBoundingBoxin interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official aLflf;a(Lczf;)Zintermediary method_3542Lnet/minecraft/class_822;method_3542(Lnet/minecraft/class_2580;)Znamed rendersOutsideBoundingBoxLnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;rendersOutsideBoundingBox(Lnet/minecraft/block/entity/BeaconBlockEntity;)Z
-
getRenderDistance
public int getRenderDistance()- Specified by:
getRenderDistancein interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official aK_Lflj;aK_()Iintermediary method_33893Lnet/minecraft/class_827;method_33893()Inamed getRenderDistanceLnet/minecraft/client/render/block/entity/BlockEntityRenderer;getRenderDistance()I
-
isInRenderDistance
- Specified by:
isInRenderDistancein interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official aLflf;a(Lczf;Leea;)Zintermediary method_33891Lnet/minecraft/class_822;method_33891(Lnet/minecraft/class_2580;Lnet/minecraft/class_243;)Znamed isInRenderDistanceLnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;isInRenderDistance(Lnet/minecraft/block/entity/BeaconBlockEntity;Lnet/minecraft/util/math/Vec3d;)Z
-