diff --git a/patches/minecraft/net/minecraft/network/chat/Style.java.patch b/patches/minecraft/net/minecraft/network/chat/Style.java.patch index dbfb534199..68398e5934 100644 --- a/patches/minecraft/net/minecraft/network/chat/Style.java.patch +++ b/patches/minecraft/net/minecraft/network/chat/Style.java.patch @@ -1,17 +1,29 @@ --- a/net/minecraft/network/chat/Style.java +++ b/net/minecraft/network/chat/Style.java -@@ -133,6 +_,18 @@ +@@ -133,6 +_,30 @@ return new Style(this.f_131101_, this.f_131102_, this.f_131103_, this.f_131104_, this.f_131105_, p_178525_, this.f_131107_, this.f_131108_, this.f_131109_, this.f_131110_); } ++ /** ++ * @deprecated Use {@link #withUnderlined(Boolean)} instead. ++ */ ++ @Deprecated(forRemoval = true, since = "1.18.2") + public Style setUnderlined(@Nullable Boolean underlined) { + return new Style(this.f_131101_, this.f_131102_, this.f_131103_, underlined, this.f_131105_, this.f_131106_, this.f_131107_, this.f_131108_, this.f_131109_, this.f_131110_); + } + ++ /** ++ * @deprecated Use {@link #withStrikethrough(Boolean)} instead. ++ */ ++ @Deprecated(forRemoval = true, since = "1.18.2") + public Style setStrikethrough(@Nullable Boolean strikethrough) { + return new Style(this.f_131101_, this.f_131102_, this.f_131103_, this.f_131104_, strikethrough, this.f_131106_, this.f_131107_, this.f_131108_, this.f_131109_, this.f_131110_); + } + ++ /** ++ * @deprecated Use {@link #withObfuscated(Boolean)} instead. ++ */ ++ @Deprecated(forRemoval = true, since = "1.18.2") + public Style setObfuscated(@Nullable Boolean obfuscated) { + return new Style(this.f_131101_, this.f_131102_, this.f_131103_, this.f_131104_, this.f_131105_, obfuscated, this.f_131107_, this.f_131108_, this.f_131109_, this.f_131110_); + }