类 SkyRenderer
java.lang.Object
net.minecraft.client.renderer.SkyRenderer
- 所有已实现的接口:
AutoCloseable
-
字段概要
字段修饰符和类型字段说明private final VertexBuffer
static final ResourceLocation
private final VertexBuffer
private static final ResourceLocation
private static final float
private final VertexBuffer
private static final ResourceLocation
private final VertexBuffer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
buildEndSky
(VertexConsumer p_377899_) private void
buildSkyDisc
(VertexConsumer p_375466_, float p_363584_) private void
buildStars
(VertexConsumer p_375895_) void
close()
void
renderDarkDisc
(PoseStack p_367581_) void
private void
renderMoon
(int p_367893_, float p_364034_, MultiBufferSource p_377520_, PoseStack p_369177_) void
renderSkyDisc
(float p_369198_, float p_369913_, float p_362432_) private void
renderStars
(FogParameters p_362284_, float p_361462_, PoseStack p_364130_) private void
renderSun
(float p_363755_, MultiBufferSource p_376565_, PoseStack p_369287_) void
renderSunMoonAndStars
(PoseStack p_362673_, MultiBufferSource.BufferSource p_376689_, float p_369057_, int p_364932_, float p_366540_, float p_368016_, FogParameters p_362209_) void
renderSunriseAndSunset
(PoseStack p_365939_, MultiBufferSource.BufferSource p_377149_, float p_368996_, int p_365467_)
-
字段详细资料
-
SUN_LOCATION
-
MOON_LOCATION
-
END_SKY_LOCATION
-
SKY_DISC_RADIUS
private static final float SKY_DISC_RADIUS- 另请参阅:
-
starBuffer
-
topSkyBuffer
-
bottomSkyBuffer
-
endSkyBuffer
-
-
构造器详细资料
-
SkyRenderer
public SkyRenderer()
-
-
方法详细资料
-
buildStars
-
buildSkyDisc
-
renderSkyDisc
public void renderSkyDisc(float p_369198_, float p_369913_, float p_362432_) -
renderDarkDisc
-
renderSunMoonAndStars
public void renderSunMoonAndStars(PoseStack p_362673_, MultiBufferSource.BufferSource p_376689_, float p_369057_, int p_364932_, float p_366540_, float p_368016_, FogParameters p_362209_) -
renderSun
-
renderMoon
private void renderMoon(int p_367893_, float p_364034_, MultiBufferSource p_377520_, PoseStack p_369177_) -
renderStars
-
renderSunriseAndSunset
public void renderSunriseAndSunset(PoseStack p_365939_, MultiBufferSource.BufferSource p_377149_, float p_368996_, int p_365467_) -
buildEndSky
-
renderEndSky
public void renderEndSky() -
close
public void close()- 指定者:
close
在接口中AutoCloseable
-