Commit Graph

87 Commits

Author SHA1 Message Date
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
d730153750 Add Benchmark 2021-06-09 23:43:12 +08:00
883c73d5e5 Merge remote-tracking branch 'origin/snbt_convertor' into snbt_convertor
# Conflicts:
#	nbt/snbt_scanner.go
#	nbt/snbt_scanner_test.go
2021-06-02 13:47:54 +08:00
d678e9b45a Optimization makes scanner five times faster 2021-06-02 13:35:07 +08:00
69a8bad025 fix scanner error of number like "100f" 2021-05-27 14:58:40 +08:00
82a2efd6a0 Pass bigTest 2021-05-27 14:19:16 +08:00
d829d3bccf support TAG_List<List/Array> 2021-05-27 10:45:36 +08:00
dd1b8fd9c9 Support TAG_Byte_Array, TAG_Int_Array and TAG_Long_Array 2021-05-27 01:33:08 +08:00
4f148c7515 Add test cases for Typed Array 2021-05-27 01:08:11 +08:00
72599f7058 fix TAG_List<TAG_Compound> 2021-05-27 01:03:52 +08:00
d0c7a295a5 support TAG_List<TAG_Compound> 2021-05-27 00:22:26 +08:00
fa2ab9a5d5 make tagType witten early 2021-05-26 21:43:05 +08:00
233b44a13f Basic SNBT list support 2021-05-26 15:02:49 +08:00
e2fbef9bea Support literal and compound 2021-05-26 03:36:12 +08:00
3b2f81ea1f Quoted string 2021-05-26 02:15:45 +08:00
00fcdb4b14 generate NBT TAG_Compound 2021-05-26 01:35:58 +08:00
1f7d07b279 fix finish number error 2021-05-25 22:03:14 +08:00
c44af2bf34 NBT convert part 1 2021-05-25 20:10:57 +08:00
69601cec28 Fix Unquoted String scanning 2021-05-25 16:13:55 +08:00
5320722ed0 Scan List and Array 2021-05-25 14:25:08 +08:00
0c0459d69d Scan compound 2021-05-25 12:49:57 +08:00
6846e10bb6 Scan numbers 2021-05-25 00:47:57 +08:00
1b38773435 first commit 2021-05-24 22:25:44 +08:00
086b77f389 adjust nbt encoding api 2021-04-04 01:09:45 +08:00
6558738f48 support encoding map #98 2021-04-02 13:42:05 +08:00
b8a3f1a094 Update docs 2021-02-28 13:06:42 +08:00
260805c0b1 Fix bug: ReadByte return EOF when read success 2021-02-27 20:18:41 +08:00
21207830c0 Fix over-read bug of go-mc/net packet 2021-02-27 01:15:44 +08:00