Skip to content

Commit 8d40e39

Browse files
committed
add back some mappings
1 parent 7c146a2 commit 8d40e39

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

data/net/minecraft/client/gui/Font.mapping

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CLASS net/minecraft/client/gui/Font
8585
ARG 1 text
8686
ARG 2 maxWidth
8787
METHOD width (Ljava/lang/String;)I
88-
COMMENT Returns the width of this string. Equivalent of StringSplitter.stringWidth(text).
88+
COMMENT Returns the width of this string. Equivalent of FontMetrics.stringWidth(text).
8989
ARG 1 text
9090
METHOD width (Lnet/minecraft/network/chat/FormattedText;)I
9191
ARG 1 text
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CLASS net/minecraft/client/renderer/item/properties/numeric/Count
2+
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
3+
ARG 0 instance
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CLASS net/minecraft/client/renderer/item/properties/numeric/UseCycle
2+
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
3+
ARG 0 instance

data/net/minecraft/world/level/GameType.mapping

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CLASS net/minecraft/world/level/GameType
2020
METHOD getNullableId (Lnet/minecraft/world/level/GameType;)I
2121
ARG 0 gameType
2222
METHOD isBlockPlacingRestricted ()Z
23-
COMMENT Returns {@code true} if this is the ADVENTURE game type
23+
COMMENT Returns {@code true} if this is the ADVENTURE or SPECTATOR game type
2424
METHOD isCreative ()Z
2525
COMMENT Returns {@code true} if this is the CREATIVE game type
2626
METHOD isSurvival ()Z

0 commit comments

Comments
 (0)