diff options
Diffstat (limited to 'patches/api/0006-Adventure.patch')
-rw-r--r-- | patches/api/0006-Adventure.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/api/0006-Adventure.patch b/patches/api/0006-Adventure.patch index 9abc41c659..37ecac8b07 100644 --- a/patches/api/0006-Adventure.patch +++ b/patches/api/0006-Adventure.patch @@ -596,7 +596,7 @@ index 0000000000000000000000000000000000000000..7411f58f9f36beaadcc47c2264a4af31 +} diff --git a/src/main/java/io/papermc/paper/text/PaperComponents.java b/src/main/java/io/papermc/paper/text/PaperComponents.java new file mode 100644 -index 0000000000000000000000000000000000000000..6e94562d79206d88b74b53814f9423f12a2e6e06 +index 0000000000000000000000000000000000000000..1a11cfde07db55194cd26757863a268b9042d0bb --- /dev/null +++ b/src/main/java/io/papermc/paper/text/PaperComponents.java @@ -0,0 +1,177 @@ @@ -704,7 +704,7 @@ index 0000000000000000000000000000000000000000..6e94562d79206d88b74b53814f9423f1 + * @return a serializer to plain text + * @deprecated will be removed in adventure 5.0.0, use {@link PlainTextComponentSerializer#plainText()} + */ -+ @Deprecated(forRemoval = true) ++ @Deprecated(forRemoval = true, since = "1.18.1") + public static @NotNull PlainComponentSerializer plainSerializer() { + return Bukkit.getUnsafe().plainComponentSerializer(); + } @@ -719,7 +719,7 @@ index 0000000000000000000000000000000000000000..6e94562d79206d88b74b53814f9423f1 + * @return a serializer to plain text + * @deprecated use {@link PlainTextComponentSerializer#plainText()} + */ -+ @Deprecated(forRemoval = true) ++ @Deprecated(forRemoval = true, since = "1.18.2") + public static @NotNull PlainTextComponentSerializer plainTextSerializer() { + return Bukkit.getUnsafe().plainTextSerializer(); + } @@ -735,7 +735,7 @@ index 0000000000000000000000000000000000000000..6e94562d79206d88b74b53814f9423f1 + * @return a json component serializer + * @deprecated use {@link GsonComponentSerializer#gson()} + */ -+ @Deprecated(forRemoval = true) ++ @Deprecated(forRemoval = true, since = "1.18.2") + public static @NotNull GsonComponentSerializer gsonSerializer() { + return Bukkit.getUnsafe().gsonComponentSerializer(); + } @@ -752,7 +752,7 @@ index 0000000000000000000000000000000000000000..6e94562d79206d88b74b53814f9423f1 + * @return a json component serializer + * @deprecated use {@link GsonComponentSerializer#colorDownsamplingGson()} + */ -+ @Deprecated(forRemoval = true) ++ @Deprecated(forRemoval = true, since = "1.18.2") + public static @NotNull GsonComponentSerializer colorDownsamplingGsonSerializer() { + return Bukkit.getUnsafe().colorDownsamplingGsonComponentSerializer(); + } @@ -772,7 +772,7 @@ index 0000000000000000000000000000000000000000..6e94562d79206d88b74b53814f9423f1 + * @return a section serializer + * @deprecated use {@link LegacyComponentSerializer#legacySection()} + */ -+ @Deprecated(forRemoval = true) ++ @Deprecated(forRemoval = true, since = "1.18.2") + public static @NotNull LegacyComponentSerializer legacySectionSerializer() { + return Bukkit.getUnsafe().legacyComponentSerializer(); + } |