#509: Add support for PersistentDataContainer arrays

This commit is contained in:
Parker Hawke 2020-06-26 10:49:24 +10:00 committed by md_5
parent 793c61eb40
commit 84f9ec2072
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -67,6 +67,11 @@ public interface PersistentDataType<T, Z> {
PersistentDataType<int[], int[]> INTEGER_ARRAY = new PrimitivePersistentDataType<>(int[].class);
PersistentDataType<long[], long[]> LONG_ARRAY = new PrimitivePersistentDataType<>(long[].class);
/*
Complex Arrays.
*/
PersistentDataType<PersistentDataContainer[], PersistentDataContainer[]> TAG_CONTAINER_ARRAY = new PrimitivePersistentDataType<>(PersistentDataContainer[].class);
/*
Nested PersistentDataContainer.
*/