类 BeaconRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BeaconRenderer
- 所有已实现的接口:
BlockEntityRenderer<BeaconBlockEntity>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static void
addVertex
(org.joml.Matrix4f pPose, org.joml.Matrix3f pNormal, VertexConsumer pConsumer, float pRed, float pGreen, float pBlue, float pAlpha, int pY, float pX, float pZ, float pU, float pV) int
void
render
(BeaconBlockEntity pBlockEntity, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay) private static void
renderBeaconBeam
(PoseStack pPoseStack, MultiBufferSource pBufferSource, float pPartialTick, long pGameTime, int pYOffset, int pHeight, float[] pColors) static void
renderBeaconBeam
(PoseStack pPoseStack, MultiBufferSource pBufferSource, ResourceLocation pBeamLocation, float pPartialTick, float pTextureScale, long pGameTime, int pYOffset, int pHeight, float[] pColors, float pBeamRadius, float pGlowRadius) private static void
renderPart
(PoseStack pPoseStack, VertexConsumer pConsumer, float pRed, float pGreen, float pBlue, float pAlpha, int pMinY, int pMaxY, float pX0, float pZ0, float pX1, float pZ1, float pX2, float pZ2, float pX3, float pZ3, float pMinU, float pMaxU, float pMinV, float pMaxV) private static void
renderQuad
(org.joml.Matrix4f pPose, org.joml.Matrix3f pNormal, VertexConsumer pConsumer, float pRed, float pGreen, float pBlue, float pAlpha, int pMinY, int pMaxY, float pMinX, float pMinZ, float pMaxX, float pMaxZ, float pMinU, float pMaxU, float pMinV, float pMaxV) boolean
shouldRender
(BeaconBlockEntity pBlockEntity, Vec3 pCameraPos) boolean
shouldRenderOffScreen
(BeaconBlockEntity pBlockEntity)
-
字段详细资料
-
BEAM_LOCATION
-
MAX_RENDER_Y
public static final int MAX_RENDER_Y- 另请参阅:
-
-
构造器详细资料
-
BeaconRenderer
-
-
方法详细资料
-
render
public void render(BeaconBlockEntity pBlockEntity, float pPartialTick, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay) - 指定者:
render
在接口中BlockEntityRenderer<BeaconBlockEntity>
-
renderBeaconBeam
private static void renderBeaconBeam(PoseStack pPoseStack, MultiBufferSource pBufferSource, float pPartialTick, long pGameTime, int pYOffset, int pHeight, float[] pColors) -
renderBeaconBeam
public static void renderBeaconBeam(PoseStack pPoseStack, MultiBufferSource pBufferSource, ResourceLocation pBeamLocation, float pPartialTick, float pTextureScale, long pGameTime, int pYOffset, int pHeight, float[] pColors, float pBeamRadius, float pGlowRadius) -
renderPart
private static void renderPart(PoseStack pPoseStack, VertexConsumer pConsumer, float pRed, float pGreen, float pBlue, float pAlpha, int pMinY, int pMaxY, float pX0, float pZ0, float pX1, float pZ1, float pX2, float pZ2, float pX3, float pZ3, float pMinU, float pMaxU, float pMinV, float pMaxV) -
renderQuad
private static void renderQuad(org.joml.Matrix4f pPose, org.joml.Matrix3f pNormal, VertexConsumer pConsumer, float pRed, float pGreen, float pBlue, float pAlpha, int pMinY, int pMaxY, float pMinX, float pMinZ, float pMaxX, float pMaxZ, float pMinU, float pMaxU, float pMinV, float pMaxV) -
addVertex
private static void addVertex(org.joml.Matrix4f pPose, org.joml.Matrix3f pNormal, VertexConsumer pConsumer, float pRed, float pGreen, float pBlue, float pAlpha, int pY, float pX, float pZ, float pU, float pV) -
shouldRenderOffScreen
-
getViewDistance
public int getViewDistance()- 指定者:
getViewDistance
在接口中BlockEntityRenderer<BeaconBlockEntity>
-
shouldRender
- 指定者:
shouldRender
在接口中BlockEntityRenderer<BeaconBlockEntity>
-