Rename client.font.TextureFont -> BitmapFont (#1596)

Two reasons for this:
1) There are no textures involved in this class,
   only CPU-side NativeImage's.
2) This name is consistent with the enum value in FontType.
This commit is contained in:
Sturmlilie 2020-07-22 19:54:21 +02:00 committed by GitHub
parent ea7b107d8f
commit ca8887ede6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_386 net/minecraft/client/font/TextureFont
CLASS net/minecraft/class_386 net/minecraft/client/font/BitmapFont
FIELD field_2284 glyphs Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
FIELD field_2285 image Lnet/minecraft/class_1011;
FIELD field_2286 LOGGER Lorg/apache/logging/log4j/Logger;
@ -22,7 +22,7 @@ CLASS net/minecraft/class_386 net/minecraft/client/font/TextureFont
ARG 3 characterHeight
ARG 4 charPosX
ARG 5 charPosY
CLASS class_388 TextureFontGlyph
CLASS class_388 BitmapFontGlyph
FIELD field_2291 ascent I
FIELD field_2292 advance I
FIELD field_2293 height I