Commit Graph

114 Commits

Author SHA1 Message Date
a511ad3d2a Fix the issue of snbt being unable to handle nested Tag*Arrays in TagCompound 2023-04-23 23:00:24 +08:00
5f06fa6510 重构 BiomesState, fix typo 2023-04-23 00:08:05 +08:00
90737d09e4 Clean up unnecessary garbage 2023-04-16 21:14:29 +08:00
7bef059b44 Fix nbt bugs that cannot handle tagNames contains commas 2023-04-16 20:42:28 +08:00
a42267ba31 Replace all interface{} to any 2023-04-05 19:35:20 +08:00
6bbfeec2c7 fix go vet 2023-04-01 09:33:33 +08:00
c5dd27365e remove fmt.Println in unit test 2023-02-21 19:37:55 +08:00
e717b9c6db Add option to disallow unknown fields 2023-02-21 02:02:04 -05:00
ff94c600df fix player chat fort error 2022-12-04 16:08:52 +08:00
fad92fe364 format repo with "gofumpt" tool 2022-11-26 20:37:57 +08:00
3e83d1dbca fix typo 2022-11-17 00:32:38 +08:00
64667826d0 go fmt 2022-11-16 23:32:33 +08:00
d94993f34f better nbt error message & dimensioncodec decoder 2022-06-19 23:05:10 +08:00
eb9d50b3ee Support omitempty for nbt encoding 2022-05-27 01:54:22 +03:00
474d6a229b player and dimension loader with ecs system 2022-05-27 00:38:46 +08:00
30eadedda2 fix #191 2022-05-21 10:41:10 +08:00
588b7872f1 nbt can encode or decode bool values as TagByte and []bool as TagByteArray now. close #175 2022-05-20 13:18:39 +08:00
a87e933f8a fix typo 2022-05-19 16:29:43 +08:00
1ee452ff5f nbt supports encode int8 as TagByte and []int8 as TagByteArray 2022-05-19 16:28:04 +08:00
e73be166bd Support decode ByteArray as []int8 2022-05-17 12:15:24 +08:00
cc1cd6874d fix nbt test panic 2022-03-13 12:17:21 +08:00
2aace6b51a bot can receive chunks now 2022-03-13 11:57:02 +08:00
d8695636b6 nbt lib handle TagByte as signed int8 now 2022-03-11 14:37:47 +08:00
a05f8e0a33 All block states' properties are parsed and all enums represented as byte 2022-03-11 14:02:21 +08:00
7d197ebba4 delete wrong test 2022-03-10 12:40:55 +08:00
46b021e1ef update to 1.18.2 & fix bug in snbt encoding 2022-03-10 12:29:03 +08:00
aa8e611644 support block state & nbt improvement 2022-03-09 16:12:47 +08:00
f2c0c9e4a8 Fix typo 2021-12-14 12:39:17 +08:00
97b706f6eb Update /bot for 1.18 2021-12-11 02:40:41 +08:00
2274463c6c clean nbt code 2021-12-08 11:21:28 +08:00
4d0f7e7a7e fix golint 2021-12-08 11:01:56 +08:00
b909621c58 fix comment 2021-11-26 18:43:20 +08:00
a99d862dc1 Delete negative handling code for SNBT 2021-11-01 18:13:15 -07:00
6fb421e95e Added dimension codec file to tests 2021-11-01 09:42:06 -07:00
5cd290d29e Fixed negative number parsing in snbt and added tests 2021-11-01 09:40:48 -07:00
7b5e289786 may fix #121 2021-09-19 15:32:24 +08:00
57b0a6fdc6 fix snbt decoding bug found in #121 2021-08-28 13:01:17 +08:00
3b6f23f686 fix #121 2021-08-28 12:32:32 +08:00
6500fbeaab Document append. SNBT encoding bug fix (TagList) 2021-07-09 16:23:26 +08:00
08d2c03a58 Supplement document of nbt API 2021-07-06 09:41:32 +08:00
e6246ce675 Record TagType when decoding RawMessage.
Display item's NBT in example/daze.
Upgrade data/item to 1.17
2021-07-05 13:35:22 +08:00
8d14180744 Remove outdated nbt library readme document 2021-07-05 13:14:50 +08:00
130daf82a6 Now we can Decode/Encode StringifiedMessage 2021-07-05 13:05:58 +08:00
2112a604f1 nbt.StringifiedNBT as nbt.NBTEncoder 2021-07-05 01:28:07 +08:00
d7091db5b3 NBT RawMessage fully support 2021-07-05 00:58:41 +08:00
ebc44e7c8b Fix unmarshal error in nbt 2021-07-04 00:59:42 +08:00
8ecb6478a6 Add nbt.RawMessage 2021-07-04 00:37:41 +08:00
4f9779df88 Apply the waring in nbt/README.md 2021-06-22 11:18:18 +08:00
2ff54efb7d Better io error handling 2021-06-22 10:33:07 +08:00
723303ce8d Better syntax error handling 2021-06-22 10:01:41 +08:00