net.minecraft.client.renderer

public class CloudRenderer

extends SimplePreparableReloadListener<Optional<CloudRenderer$TextureData>> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

gli
net.minecraft.client.renderer.CloudRenderer
net.minecraft.class_9955
net.minecraft.client.render.CloudRenderer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_53041
LOGGER
private static final ResourceLocation
b
TEXTURE_LOCATION
field_53042
CLOUD_TEXTURE
private static final float
c
CELL_SIZE_IN_BLOCKS
field_53043
field_53043
private static final float
d
HEIGHT_IN_BLOCKS
field_53044
field_53044
private static final float
e
BLOCKS_PER_SECOND
field_53045
field_53045
private static final long
f
EMPTY_CELL
field_53046
field_53046
private static final int
g
COLOR_OFFSET
field_53047
field_53047
private static final int
h
NORTH_OFFSET
field_53048
field_53048
private static final int
i
EAST_OFFSET
field_53049
field_53049
private static final int
j
SOUTH_OFFSET
field_53050
field_53050
private static final int
k
WEST_OFFSET
field_53051
field_53051
private boolean
l
needsRebuild
field_53052
field_53052
private int
m
prevCellX
field_53053
centerX
private int
n
prevCellZ
field_53054
centerZ
private CloudRenderer$RelativeCameraPos
o
prevRelativeCameraPos
field_53055
viewMode
private CloudStatus
p
prevType
field_53056
renderMode
private CloudRenderer$TextureData
q
texture
field_53057
cells
private final VertexBuffer
r
vertexBuffer
field_53058
buffer
private boolean
s
vertexBufferEmpty
field_53059
renderClouds

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected Optional<CloudRenderer$TextureData>
a(aup arg0, bou arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62171(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
a(Optional<gli$b> arg0, aup arg1, bou arg2)
apply(Optional<CloudRenderer$TextureData> arg0, ResourceManager arg1, ProfilerFiller arg2)
method_62177(Optional<class_9955$class_9957> arg0, class_3300 arg1, class_3695 arg2)
apply(Optional<CloudRenderer$CloudCells> arg0, ResourceManager arg1, Profiler arg2)
private static boolean
a(int arg0)
isCellEmpty(int arg0)
method_62167(int arg0)
isEmpty(int color)
private static long
a(int arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4)
packCellData(int arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4)
method_62169(int arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4)
packCloudCell(int color, boolean borderNorth, boolean borderEast, boolean borderSouth, boolean borderWest)
private static int
a(long arg0)
getColor(long arg0)
method_62170(long arg0)
unpackColor(long packed)
private static boolean
b(long arg0)
isNorthEmpty(long arg0)
method_62178(long arg0)
hasBorderNorth(long packed)
private static boolean
c(long arg0)
isEastEmpty(long arg0)
method_62179(long arg0)
hasBorderEast(long packed)
private static boolean
d(long arg0)
isSouthEmpty(long arg0)
method_62180(long arg0)
hasBorderSouth(long packed)
private static boolean
e(long arg0)
isWestEmpty(long arg0)
method_62181(long arg0)
hasBorderWest(long packed)
public void
a(int arg0, fkw arg1, float arg2, org.joml.Matrix4f arg3, org.joml.Matrix4f arg4, fbb arg5, float arg6)
render(int arg0, CloudStatus arg1, float arg2, org.joml.Matrix4f arg3, org.joml.Matrix4f arg4, Vec3 arg5, float arg6)
method_62168(int arg0, class_4063 arg1, float arg2, org.joml.Matrix4f arg3, org.joml.Matrix4f arg4, class_243 arg5, float arg6)
renderClouds(int color, CloudRenderMode cloudRenderMode, float cloudHeight, org.joml.Matrix4f positionMatrix, org.joml.Matrix4f projectionMatrix, Vec3d cameraPos, float ticks)
private void
a(gmj arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, float arg3, float arg4, float arg5)
drawWithRenderType(RenderType arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, float arg3, float arg4, float arg5)
method_62176(class_1921 arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, float arg3, float arg4, float arg5)
renderClouds(RenderLayer layer, org.joml.Matrix4f positionMatrix, org.joml.Matrix4f projectionMatrix, float x, float y, float z)
private MeshData
a(ffx arg0, int arg1, int arg2, fkw arg3, gli$a arg4, gmj arg5)
buildMesh(Tesselator arg0, int arg1, int arg2, CloudStatus arg3, CloudRenderer$RelativeCameraPos arg4, RenderType arg5)
method_62173(class_289 arg0, int arg1, int arg2, class_4063 arg3, class_9955$class_9956 arg4, class_1921 arg5)
tessellateClouds(Tessellator tessellator, int x, int z, CloudRenderMode renderMode, CloudRenderer$ViewMode viewMode, RenderLayer layer)
private void
a(gli$a arg0, ffq arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
buildMesh(CloudRenderer$RelativeCameraPos arg0, BufferBuilder arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
method_62175(class_9955$class_9956 arg0, class_287 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
buildCloudCells(CloudRenderer$ViewMode viewMode, BufferBuilder builder, int x, int z, int bottomColor, int topColor, int northSouthColor, int eastWestColor, boolean fancy)
private void
a(ffq arg0, int arg1, int arg2, int arg3)
buildFlatCell(BufferBuilder arg0, int arg1, int arg2, int arg3)
method_62172(class_287 arg0, int arg1, int arg2, int arg3)
buildCloudCellFast(BufferBuilder builder, int color, int x, int z)
private void
a(gli$a arg0, ffq arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, long arg8)
buildExtrudedCell(CloudRenderer$RelativeCameraPos arg0, BufferBuilder arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, long arg8)
method_62174(class_9955$class_9956 arg0, class_287 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, long arg8)
buildCloudCellFancy(CloudRenderer$ViewMode viewMode, BufferBuilder builder, int bottomColor, int topColor, int northSouthColor, int eastWestColor, int x, int z, long cell)
public void
a()
markForRebuild()
method_62166()
scheduleTerrainUpdate()
public void
close()
close()