net.minecraft.client.render

public class WeatherRenderer

implements AutoCloseable

net.minecraft.client.renderer.WeatherEffectRenderer
net.minecraft.class_9976
net.minecraft.client.render.WeatherRenderer

Field summary

Modifier and TypeField
private static final Identifier
RAIN_LOCATION
field_53150
RAIN_TEXTURE
private static final Identifier
SNOW_LOCATION
field_53151
SNOW_TEXTURE
private static final int
RAIN_TABLE_SIZE
field_53152
NORMAL_TABLE_DIMENSION
private static final int
HALF_RAIN_TABLE_SIZE
field_53153
NORMAL_TABLE_BIAS
private static final int
INDICES_PER_COLUMN
field_1_1035
INDICES_PER_PIECE
private final float[]
columnSizeX
field_53155
NORMAL_LINE_DX
private final float[]
columnSizeZ
field_53156
NORMAL_LINE_DZ
private GpuBuffer
vertexBuffer
field_1_5784
vertexBuffer

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
extractRenderState(ClientLevel level, float partialTicks, Vec3 cameraPos, WeatherRenderState renderState)
method_62315(class_638 arg0, float arg1, class_243 arg2, class_12077 arg3)
buildPrecipitationPieces(ClientWorld world, float tickProgress, Vec3d cameraPos, WeatherRenderState state)
private void
renderWeather(RenderPass renderPass, AbstractTexture texture, int startColumn, int columnCount)
method_1_1041(RenderPass arg0, class_1044 arg1, int arg2, int arg3)
issueDraw(RenderPass renderPass, AbstractTexture texture, int arg2, int arg3)
private GpuBuffer
uploadVertexBuffer(ByteBuffer buffer)
method_1_4992(ByteBuffer arg0)
upload(ByteBuffer buffer)
public void
render(Vec3 cameraPos, WeatherRenderState renderState)
method_1_1040(class_243 arg0, class_12077 arg1)
render(Vec3d pos, WeatherRenderState state)
private WeatherRenderer$Piece
createRainColumnInstance(RandomSource random, long ticks, int x, int bottomY, int topY, int z, int lightCoords, float partialTicks)
method_62314(class_5819 arg0, long arg1, int arg2, int arg3, int arg4, int arg5, int arg6, float arg7)
createRainPiece(Random random, long time, int x, int yMin, int yMax, int z, int light, float tickProgress)
private WeatherRenderer$Piece
createSnowColumnInstance(RandomSource random, long ticks, int x, int bottomY, int topY, int z, int lightCoords, float partialTicks)
method_62321(class_5819 arg0, long arg1, int arg2, int arg3, int arg4, int arg5, int arg6, float arg7)
createSnowPiece(Random random, long time, int x, int yMin, int yMax, int z, int light, float tickProgress)
private void
renderInstances(VertexConsumer builder, List<WeatherEffectRenderer$ColumnInstance> columns, Vec3 cameraPos, float maxAlpha, int radius, float intensity)
method_62318(class_4588 arg0, List<class_9976$class_9977> arg1, class_243 arg2, float arg3, int arg4, float arg5)
renderPieces(VertexConsumer vertexConsumer, List<WeatherRenderer$Piece> pieces, Vec3d pos, float intensity, int range, float gradient)
public void
close()
private static String
lambda$render$0()
method_1_1039()
method_1_1039()
private static String
lambda$uploadVertexBuffer$0()
method_1_4991()
method_1_4991()