Add support for long array nbt type

Fixes #648
This commit is contained in:
Dan Mulloy 2019-08-03 11:46:58 -04:00
parent 62e8d82e16
commit 916434251d
3 changed files with 418 additions and 413 deletions

View File

@ -87,7 +87,12 @@ public enum NbtType {
/**
* A list of fully formed tags, including their IDs, names, and payloads. No two tags may have the same name.
*/
TAG_COMPOUND(10, Map.class);
TAG_COMPOUND(10, Map.class),
/**
* An array of longs
*/
TAG_LONG_ARRAY(12, long[].class);
private int rawID;
private Class<?> valueType;