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 epaintermediary net/minecraft/class_822named net/minecraft/client/render/block/entity/BeaconBlockEntityRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmethod_33892(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d)intvoidrender(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 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 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 modelMatrix, 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 aLepa;a:Lww;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;
-
field_32822
public static final int field_32822- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLepa;b:Iintermediary field_32822Lnet/minecraft/class_822;field_32822:Inamed field_32822Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;field_32822:I
-
-
Constructor Details
-
BeaconBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lepa;<init>(Lepf$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 aLepa;a(Lcik;FLdqk;Lenh;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 aLepa;a(Ldqk;Lenh;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 aLepa;a(Ldqk;Lenh;Lww;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 aLepa;a(Ldqk;Ldqo;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 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 aLepa;a(Ld;Lc;Ldqo;FFFFIIFFFFFFFF)Vintermediary method_22740Lnet/minecraft/class_822;method_22740(Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;Lnet/minecraft/class_4588;FFFFIIFFFFFFFF)Vnamed renderBeamFaceLnet/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 aLepa;a(Ld;Lc;Ldqo;FFFFIFFFF)Vintermediary method_23076Lnet/minecraft/class_822;method_23076(Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;Lnet/minecraft/class_4588;FFFFIFFFF)Vnamed renderBeamVertexLnet/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:
rendersOutsideBoundingBoxin interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official aLepa;a(Lcik;)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
-
method_33893
public int method_33893()- Specified by:
method_33893in interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official ap_Lepe;ap_()Iintermediary method_33893Lnet/minecraft/class_827;method_33893()Inamed method_33893Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;method_33893()I
-
method_33892
- Specified by:
method_33892in interfaceBlockEntityRenderer<BeaconBlockEntity>- Mappings:
Namespace Name Mixin selector official aLepa;a(Lcik;Ldna;)Zintermediary method_33891Lnet/minecraft/class_822;method_33891(Lnet/minecraft/class_2580;Lnet/minecraft/class_243;)Znamed method_33892Lnet/minecraft/client/render/block/entity/BeaconBlockEntityRenderer;method_33892(Lnet/minecraft/block/entity/BeaconBlockEntity;Lnet/minecraft/util/math/Vec3d;)Z
-