rename tag for nbt_type to list instead of noarray and add documentation

This commit is contained in:
Mark Asp
2020-09-21 20:58:31 -05:00
parent a5e6d87aaf
commit 473669cbce
3 changed files with 53 additions and 4 deletions

View File

@ -145,7 +145,7 @@ type BigTestStruct struct {
Value float32 `nbt:"value"`
} `nbt:"egg"`
} `nbt:"nested compound test"`
ListTest []int64 `nbt:"listTest (long)" nbt_type:"noarray"`
ListTest []int64 `nbt:"listTest (long)" nbt_type:"list"`
ListTest2 [2]struct {
Name string `nbt:"name"`
CreatedOn int64 `nbt:"created-on"`