Class BeaconRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BeaconRenderer
- All Implemented Interfaces:
 BlockEntityRenderer<BeaconBlockEntity>
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddVertex(org.joml.Matrix4f p_253955_, org.joml.Matrix3f p_253713_, VertexConsumer p_253894_, float p_253871_, float p_253841_, float p_254568_, float p_254361_, int p_254357_, float p_254451_, float p_254240_, float p_254117_, float p_253698_) intvoidrender(BeaconBlockEntity p_112140_, float p_112141_, PoseStack p_112142_, MultiBufferSource p_112143_, int p_112144_, int p_112145_) private static voidrenderBeaconBeam(PoseStack p_112177_, MultiBufferSource p_112178_, float p_112179_, long p_112180_, int p_112181_, int p_112182_, float[] p_112183_) static voidrenderBeaconBeam(PoseStack p_112185_, MultiBufferSource p_112186_, ResourceLocation p_112187_, float p_112188_, float p_112189_, long p_112190_, int p_112191_, int p_112192_, float[] p_112193_, float p_112194_, float p_112195_) private static voidrenderPart(PoseStack p_112156_, VertexConsumer p_112157_, float p_112158_, float p_112159_, float p_112160_, float p_112161_, int p_112162_, int p_112163_, float p_112164_, float p_112165_, float p_112166_, float p_112167_, float p_112168_, float p_112169_, float p_112170_, float p_112171_, float p_112172_, float p_112173_, float p_112174_, float p_112175_) private static voidrenderQuad(org.joml.Matrix4f p_253960_, org.joml.Matrix3f p_254005_, VertexConsumer p_112122_, float p_112123_, float p_112124_, float p_112125_, float p_112126_, int p_112127_, int p_112128_, float p_112129_, float p_112130_, float p_112131_, float p_112132_, float p_112133_, float p_112134_, float p_112135_, float p_112136_) booleanshouldRender(BeaconBlockEntity p_173531_, Vec3 p_173532_) booleanshouldRenderOffScreen(BeaconBlockEntity p_112138_)  
- 
Field Details
- 
BEAM_LOCATION
 - 
MAX_RENDER_Y
public static final int MAX_RENDER_Y- See Also:
 
 
 - 
 - 
Constructor Details
- 
BeaconRenderer
 
 - 
 - 
Method Details
- 
render
public void render(BeaconBlockEntity p_112140_, float p_112141_, PoseStack p_112142_, MultiBufferSource p_112143_, int p_112144_, int p_112145_) - Specified by:
 renderin interfaceBlockEntityRenderer<BeaconBlockEntity>
 - 
renderBeaconBeam
private static void renderBeaconBeam(PoseStack p_112177_, MultiBufferSource p_112178_, float p_112179_, long p_112180_, int p_112181_, int p_112182_, float[] p_112183_)  - 
renderBeaconBeam
public static void renderBeaconBeam(PoseStack p_112185_, MultiBufferSource p_112186_, ResourceLocation p_112187_, float p_112188_, float p_112189_, long p_112190_, int p_112191_, int p_112192_, float[] p_112193_, float p_112194_, float p_112195_)  - 
renderPart
private static void renderPart(PoseStack p_112156_, VertexConsumer p_112157_, float p_112158_, float p_112159_, float p_112160_, float p_112161_, int p_112162_, int p_112163_, float p_112164_, float p_112165_, float p_112166_, float p_112167_, float p_112168_, float p_112169_, float p_112170_, float p_112171_, float p_112172_, float p_112173_, float p_112174_, float p_112175_)  - 
renderQuad
private static void renderQuad(org.joml.Matrix4f p_253960_, org.joml.Matrix3f p_254005_, VertexConsumer p_112122_, float p_112123_, float p_112124_, float p_112125_, float p_112126_, int p_112127_, int p_112128_, float p_112129_, float p_112130_, float p_112131_, float p_112132_, float p_112133_, float p_112134_, float p_112135_, float p_112136_)  - 
addVertex
private static void addVertex(org.joml.Matrix4f p_253955_, org.joml.Matrix3f p_253713_, VertexConsumer p_253894_, float p_253871_, float p_253841_, float p_254568_, float p_254361_, int p_254357_, float p_254451_, float p_254240_, float p_254117_, float p_253698_)  - 
shouldRenderOffScreen
- Specified by:
 shouldRenderOffScreenin interfaceBlockEntityRenderer<BeaconBlockEntity>
 - 
getViewDistance
public int getViewDistance()- Specified by:
 getViewDistancein interfaceBlockEntityRenderer<BeaconBlockEntity>
 - 
shouldRender
- Specified by:
 shouldRenderin interfaceBlockEntityRenderer<BeaconBlockEntity>
 
 -