From 59168eaf2ef0ce743f4e6b64e785c7858bc306b2 Mon Sep 17 00:00:00 2001 From: ix0rai Date: Mon, 3 Jul 2023 16:36:16 -0500 Subject: [PATCH] specify that some `Text.translatable` methods take a fallback (#457) fallback rename --- mappings/net/minecraft/text/Text.mapping | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mappings/net/minecraft/text/Text.mapping b/mappings/net/minecraft/text/Text.mapping index 740e44e1a5..db0089ff63 100644 --- a/mappings/net/minecraft/text/Text.mapping +++ b/mappings/net/minecraft/text/Text.mapping @@ -18,7 +18,7 @@ CLASS net/minecraft/unmapped/C_rdaqiwdt net/minecraft/text/Text COMMENT @see Text#nbt(String, boolean, Optional, TextData) COMMENT @see Text#score(String, String) COMMENT @see Text#selector(String, Optional) - METHOD m_dbsuxeye translatable (Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/unmapped/C_npqneive; + METHOD m_dbsuxeye translatableWithFallback (Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/unmapped/C_npqneive; ARG 0 translationKey ARG 1 fallback METHOD m_dmavlphp asOrderedText ()Lnet/minecraft/unmapped/C_apvkgwyi; @@ -108,7 +108,7 @@ CLASS net/minecraft/unmapped/C_rdaqiwdt net/minecraft/text/Text COMMENT @return the new mutable score text ARG 0 name ARG 1 objective - METHOD m_ywwehcem translatable (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lnet/minecraft/unmapped/C_npqneive; + METHOD m_ywwehcem translatableWithFallback (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lnet/minecraft/unmapped/C_npqneive; ARG 0 translationKey ARG 1 fallback ARG 2 args