mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 03:05:52 -07:00
#509: Add support for PersistentDataContainer arrays
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -67,6 +67,11 @@ public interface PersistentDataType<T, Z> {
|
|||||||
PersistentDataType<int[], int[]> INTEGER_ARRAY = new PrimitivePersistentDataType<>(int[].class);
|
PersistentDataType<int[], int[]> INTEGER_ARRAY = new PrimitivePersistentDataType<>(int[].class);
|
||||||
PersistentDataType<long[], long[]> LONG_ARRAY = new PrimitivePersistentDataType<>(long[].class);
|
PersistentDataType<long[], long[]> LONG_ARRAY = new PrimitivePersistentDataType<>(long[].class);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Complex Arrays.
|
||||||
|
*/
|
||||||
|
PersistentDataType<PersistentDataContainer[], PersistentDataContainer[]> TAG_CONTAINER_ARRAY = new PrimitivePersistentDataType<>(PersistentDataContainer[].class);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Nested PersistentDataContainer.
|
Nested PersistentDataContainer.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user