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 ejk
intermediary net/minecraft/class_822
named net/minecraft/client/render/block/entity/BeaconBlockEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description static Identifier
BEAM_TEXTURE
-
Constructor Summary
Constructors Constructor Description BeaconBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description 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 modelMatrix, 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 modelMatrix, 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
Lejk;a:Lwb;
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;
-
-
Constructor Details
-
BeaconBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lejk;<init>(Lejp$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
Lejk;a(Lcfm;FLdlr;Lehq;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
Lejk;a(Ldlr;Lehq;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
Lejk;a(Ldlr;Lehq;Lwb;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
Lejk;a(Ldlr;Ldlv;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 modelMatrix, 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
Lejk;a(Lb;La;Ldlv;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 modelMatrix, 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
Lejk;a(Lb;La;Ldlv;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
Lejk;a(Lcfm;)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
-