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 fbl
intermediary net/minecraft/class_822
named net/minecraft/client/render/block/entity/BeaconBlockEntityRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isInRenderDistance
(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d) void
render
(BeaconBlockEntity beaconBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3) private static void
renderBeam
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, float tickDelta, long worldTime, int yOffset, int maxY, float[] color) 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) 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) 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) 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) boolean
rendersOutsideBoundingBox
(BeaconBlockEntity beaconBlockEntity)
-
Field Details
-
BEAM_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lfbl;a:Labb;
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
Lfbl;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
- Mappings:
Namespace Name Mixin selector official <init>
Lfbl;<init>(Lfbq$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 interfaceBlockEntityRenderer<BeaconBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfbl;a(Lctd;FLeaq;Lezs;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
Lfbl;a(Leaq;Lezs;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
Lfbl;a(Leaq;Lezs;Labb;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
Lfbl;a(Leaq;Leau;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
Lfbl;a(Ld;Lc;Leau;FFFFIIFFFFFFFF)V
intermediary method_22740
Lnet/minecraft/class_822;method_22740(Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;Lnet/minecraft/class_4588;FFFFIIFFFFFFFF)V
named renderBeamFace
Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeamFace(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/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 a
Lfbl;a(Ld;Lc;Leau;FFFFIFFFF)V
intermediary method_23076
Lnet/minecraft/class_822;method_23076(Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;Lnet/minecraft/class_4588;FFFFIFFFF)V
named renderBeamVertex
Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;renderBeamVertex(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix3f;Lnet/minecraft/client/render/VertexConsumer;FFFFIFFFF)V
-
rendersOutsideBoundingBox
- Specified by:
rendersOutsideBoundingBox
in interfaceBlockEntityRenderer<BeaconBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfbl;a(Lctd;)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 interfaceBlockEntityRenderer<BeaconBlockEntity>
- Mappings:
Namespace Name Mixin selector official am_
Lfbp;am_()I
intermediary method_33893
Lnet/minecraft/class_827;method_33893()I
named getRenderDistance
Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;getRenderDistance()I
-
isInRenderDistance
- Specified by:
isInRenderDistance
in interfaceBlockEntityRenderer<BeaconBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfbl;a(Lctd;Ldwq;)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
-