net.minecraft.client.renderer

public class CloudRenderer

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

All mapped superinterfaces:

PreparableReloadListener

gks
net.minecraft.client.renderer.CloudRenderer
net.minecraft.class_9955
net.minecraft.unmapped.C_jjygzmqz
net.minecraft.client.render.CloudRenderer
net.minecraft.client.render.CloudRenderer
net.minecraft.src.C_345650_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_53041
f_ktvzjodq
LOGGER
LOGGER
f_349004_
private static final ResourceLocation
b
TEXTURE_LOCATION
field_53042
f_resdyifq
CLOUD_TEXTURE
CLOUDS
f_349502_
private static final float
c
CELL_SIZE_IN_BLOCKS
field_53043
f_xpeostkp
field_53043
CELL_SIZE
f_347608_
private static final float
d
HEIGHT_IN_BLOCKS
field_53044
f_jttukxnq
field_53044
HEIGHT
f_347995_
private static final float
e
BLOCKS_PER_SECOND
field_53045
f_evjrueqb
field_53045
SPEED
f_348893_
private static final long
f
EMPTY_CELL
field_53046
f_iiggccfy
field_53046
EMPTY_CELL
f_347510_
private static final int
g
COLOR_OFFSET
field_53047
f_rpoawvbh
field_53047
COLOR_OFFSET
f_347691_
private static final int
h
NORTH_OFFSET
field_53048
f_eylylkjs
field_53048
NORTH_OFFSET
f_346899_
private static final int
i
EAST_OFFSET
field_53049
f_zjvgczlr
field_53049
EAST_OFFSET
f_347957_
private static final int
j
SOUTH_OFFSET
field_53050
f_rknxdvlq
field_53050
SOUTH_OFFSET
f_348859_
private static final int
k
WEST_OFFSET
field_53051
f_dfnvacvk
field_53051
WEST_OFFSET
f_347575_
private boolean
l
needsRebuild
field_53052
f_iapzisho
field_53052
needsRebuild
f_346968_
private int
m
prevCellX
field_53053
f_zckbdame
centerX
prevCellX
f_347469_
private int
n
prevCellZ
field_53054
f_eypjzwgw
centerZ
prevCellY
f_348014_
private CloudRenderer$RelativeCameraPos
o
prevRelativeCameraPos
field_53055
f_yzmaptxk
viewMode
cameraLocation
f_349578_
private CloudStatus
p
prevType
field_53056
f_souhftbx
renderMode
renderMode
f_347727_
private CloudRenderer$TextureData
q
texture
field_53057
f_lurqropa
cells
data
f_347324_
private final VertexBuffer
r
vertexBuffer
field_53058
f_wmobfqhu
buffer
buffer
f_346227_
private boolean
s
vertexBufferEmpty
field_53059
f_sovapxse
renderClouds
bufferEmpty
f_346299_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected Optional<CloudRenderer$TextureData>
a(avv arg0, bps arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62171(class_3300 arg0, class_3695 arg1)
m_tnocyzgi(C_tmnrpasf arg0, C_eslcbfsq arg1)
prepare(ResourceManager arg0, Profiler arg1)
prepare(ResourceManager resourceManager, Profiler profiler)
m_5944_(C_77_ p_362196_, C_442_ arg1)
protected void
a(Optional<gks$b> arg0, avv arg1, bps arg2)
apply(Optional<CloudRenderer$TextureData> arg0, ResourceManager arg1, ProfilerFiller arg2)
method_62177(Optional<class_9955$class_9957> arg0, class_3300 arg1, class_3695 arg2)
m_xzhmwqmp(Optional<C_jjygzmqz$C_kmrcdrbq> arg0, C_tmnrpasf arg1, C_eslcbfsq arg2)
apply(Optional<CloudRenderer$CloudCells> arg0, ResourceManager arg1, Profiler arg2)
apply(Optional<CloudRenderer$Data> arg0, ResourceManager resourceManager, Profiler profiler)
m_5787_(Optional<C_345650_$C_345641_> p_368869_, C_77_ p_367795_, C_442_ arg2)
private static boolean
a(int arg0)
isCellEmpty(int arg0)
method_62167(int arg0)
m_bmtnueef(int arg0)
isEmpty(int color)
isCellEmpty(int cell)
m_353762_(int p_366824_)
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)
m_vpstmntl(int arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4)
packCloudCell(int color, boolean borderNorth, boolean borderEast, boolean borderSouth, boolean borderWest)
packCellData(int color, boolean north, boolean east, boolean south, boolean west)
m_355031_(int p_364599_, boolean p_362267_, boolean p_364671_, boolean p_363926_, boolean p_361986_)
private static int
a(long arg0)
getColor(long arg0)
method_62170(long arg0)
m_xdpadjna(long arg0)
unpackColor(long packed)
getCellColor(long cell)
m_356591_(long p_362131_)
private static boolean
b(long arg0)
isNorthEmpty(long arg0)
method_62178(long arg0)
m_vypkagfa(long arg0)
hasBorderNorth(long packed)
isNorthCellEmpty(long cell)
m_353234_(long p_369910_)
private static boolean
c(long arg0)
isEastEmpty(long arg0)
method_62179(long arg0)
m_vkrkrxqt(long arg0)
hasBorderEast(long packed)
isEastCellEmpty(long cell)
m_352843_(long p_365859_)
private static boolean
d(long arg0)
isSouthEmpty(long arg0)
method_62180(long arg0)
m_szwlyccg(long arg0)
hasBorderSouth(long packed)
isSouthCellEmpty(long cell)
m_356344_(long p_362752_)
private static boolean
e(long arg0)
isWestEmpty(long arg0)
method_62181(long arg0)
m_zaeqmsfy(long arg0)
hasBorderWest(long packed)
isWestCellEmpty(long cell)
m_353792_(long p_366272_)
public void
a(int arg0, flr arg1, float arg2, org.joml.Matrix4f arg3, org.joml.Matrix4f arg4, fbx 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)
m_xctchhmu(int arg0, C_qaetpqjq arg1, float arg2, org.joml.Matrix4f arg3, org.joml.Matrix4f arg4, C_vgpupfxx arg5, float arg6)
renderClouds(int color, CloudRenderMode cloudRenderMode, float cloudHeight, org.joml.Matrix4f positionMatrix, org.joml.Matrix4f projectionMatrix, Vec3d cameraPos, float ticks)
render(int color, CloudRenderMode mode, float cloudHeight, org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, Vec3d camera, float time)
m_353819_(int p_363277_, C_3376_ p_367079_, float p_369388_, org.joml.Matrix4f p_361189_, org.joml.Matrix4f p_367264_, C_3046_ p_364211_, float arg6)
private void
a(glu 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)
m_purpzwmr(C_tizlwnnv 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)
drawLayer(RenderLayer layer, org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, float x, float y, float z)
m_354530_(C_4168_ p_367527_, org.joml.Matrix4f p_365707_, org.joml.Matrix4f p_363452_, float p_363001_, float p_369823_, float arg5)
private MeshData
a(fgt arg0, int arg1, int arg2, flr arg3, gks$a arg4, glu 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)
m_klkqaqbl(C_hiiunyvh arg0, int arg1, int arg2, C_qaetpqjq arg3, C_jjygzmqz$C_pypvlqld arg4, C_tizlwnnv arg5)
tessellateClouds(Tessellator tessellator, int x, int z, CloudRenderMode renderMode, CloudRenderer$ViewMode viewMode, RenderLayer layer)
buildBuffer(Tessellator tessellator, int cellX, int cellZ, CloudRenderMode mode, CloudRenderer$CameraLocation location, RenderLayer layer)
m_356269_(C_3185_ p_363487_, int p_363111_, int p_369576_, C_3376_ p_366327_, C_345650_$C_345916_ p_364317_, C_4168_ arg5)
private void
a(gks$a arg0, fgm 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)
m_eeybqvsb(C_jjygzmqz$C_pypvlqld arg0, C_nxnqmnng 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)
buildBuffer(CloudRenderer$CameraLocation location, BufferBuilder bufferBuilder, int cellX, int cellY, int bottomColor, int topColor, int eastWestColor, int northSouthColor, boolean fancy)
m_351939_(C_345650_$C_345916_ p_368338_, C_3173_ p_362583_, int p_363426_, int p_366474_, int p_363821_, int p_368216_, int p_370211_, int p_369773_, boolean arg8)
private void
a(fgm 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)
m_enjaffgz(C_nxnqmnng arg0, int arg1, int arg2, int arg3)
buildCloudCellFast(BufferBuilder builder, int color, int x, int z)
buildFlat(BufferBuilder bufferBuilder, int argb, int cellX, int cellY)
m_351599_(C_3173_ p_362314_, int p_368834_, int p_364116_, int arg3)
private void
a(gks$a arg0, fgm 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)
m_qupqaoyj(C_jjygzmqz$C_pypvlqld arg0, C_nxnqmnng 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)
buildExtruded(CloudRenderer$CameraLocation location, BufferBuilder bufferBuilder, int bottomColor, int topColor, int eastWestColor, int northSouthColor, int cellX, int cellZ, long cell)
m_351657_(C_345650_$C_345916_ p_364242_, C_3173_ p_363655_, int p_363819_, int p_369270_, int p_370048_, int p_360917_, int p_364085_, int p_369137_, long arg8)
public void
a()
markForRebuild()
method_62166()
m_mqoudrmt()
scheduleTerrainUpdate()
markForRebuild()
m_356905_()
public void
close()
close()
close()