diff --git a/src/main/java/net/minestom/server/tag/Tag.java b/src/main/java/net/minestom/server/tag/Tag.java index 80652cbac..641952cbe 100644 --- a/src/main/java/net/minestom/server/tag/Tag.java +++ b/src/main/java/net/minestom/server/tag/Tag.java @@ -212,4 +212,12 @@ public class Tag { nbtCompound -> serializer.read(TagReadable.fromCompound(nbtCompound)), (nbtCompound, value) -> serializer.write(TagWritable.fromCompound(nbtCompound), value)); } + + /** + * @deprecated use {@link #Structure(String, TagSerializer)} instead + */ + @Deprecated + public static @NotNull Tag Custom(@NotNull String key, @NotNull TagSerializer serializer) { + return Structure(key, serializer); + } }