mirror of https://github.com/FabricMC/yarn.git
Map stuff in LightmapTextureManager. (#2591)
* Map stuff in LightmapTextureManager. * Update mappings/net/minecraft/client/render/LightmapTextureManager.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
01b2651a3a
commit
2066393724
|
@ -1,4 +1,18 @@
|
||||||
CLASS net/minecraft/class_765 net/minecraft/client/render/LightmapTextureManager
|
CLASS net/minecraft/class_765 net/minecraft/client/render/LightmapTextureManager
|
||||||
|
COMMENT The lightmap texture manager maintains a texture containing the RGBA overlay for each of the 16×16 sky and block light combinations.
|
||||||
|
COMMENT <p>
|
||||||
|
COMMENT Also contains some utilities to pack and unpack lightmap coordinates from sky and block light values,
|
||||||
|
COMMENT and some lightmap coordinates constants.
|
||||||
|
FIELD field_21528 flickerIntensity F
|
||||||
|
FIELD field_32767 MAX_LIGHT_COORDINATE I
|
||||||
|
COMMENT Represents the maximum lightmap coordinate, where both sky light and block light equals {@code 15}.
|
||||||
|
COMMENT The value of this maximum lightmap coordinate is {@value}.
|
||||||
|
FIELD field_32768 MAX_SKY_LIGHT_COORDINATE I
|
||||||
|
COMMENT Represents the maximum sky-light-wise lightmap coordinate whose value is {@value}.
|
||||||
|
COMMENT This is equivalent to a {@code 15} sky light and {@code 0} block light.
|
||||||
|
FIELD field_32769 MAX_BLOCK_LIGHT_COORDINATE I
|
||||||
|
COMMENT Represents the maximum block-light-wise lightmap coordinate whose value is {@value}.
|
||||||
|
COMMENT This is equivalent to a {@code 0} sky light and {@code 15} block light.
|
||||||
FIELD field_4133 image Lnet/minecraft/class_1011;
|
FIELD field_4133 image Lnet/minecraft/class_1011;
|
||||||
FIELD field_4134 renderer Lnet/minecraft/class_757;
|
FIELD field_4134 renderer Lnet/minecraft/class_757;
|
||||||
FIELD field_4135 dirty Z
|
FIELD field_4135 dirty Z
|
||||||
|
@ -14,6 +28,16 @@ CLASS net/minecraft/class_765 net/minecraft/client/render/LightmapTextureManager
|
||||||
METHOD method_23687 pack (II)I
|
METHOD method_23687 pack (II)I
|
||||||
ARG 0 block
|
ARG 0 block
|
||||||
ARG 1 sky
|
ARG 1 sky
|
||||||
|
METHOD method_23795 easeOutQuart (F)F
|
||||||
|
COMMENT Represents an easing function.
|
||||||
|
COMMENT <p>
|
||||||
|
COMMENT In this class, it's also used to brighten colors,
|
||||||
|
COMMENT then the result is used to lerp between the normal and brightened color
|
||||||
|
COMMENT with the gamma value.
|
||||||
|
COMMENT
|
||||||
|
COMMENT @see <a href="https://easings.net/#easeOutQuart">https://easings.net/#easeOutQuart</a>
|
||||||
|
ARG 1 x
|
||||||
|
COMMENT represents the absolute progress of the animation in the bounds of 0 (beginning of the animation) and 1 (end of animation)
|
||||||
METHOD method_24186 getBlockLightCoordinates (I)I
|
METHOD method_24186 getBlockLightCoordinates (I)I
|
||||||
ARG 0 light
|
ARG 0 light
|
||||||
METHOD method_24187 getSkyLightCoordinates (I)I
|
METHOD method_24187 getSkyLightCoordinates (I)I
|
||||||
|
|
Loading…
Reference in New Issue