Commit Graph

841 Commits

Author SHA1 Message Date
5ae560c995 add length limit to mca parser 2021-06-19 14:38:03 +08:00
76a32e21a4 revise a mistake 2021-06-16 09:10:56 +08:00
a4e9ed9143 handle login plugins requeset 2021-06-14 21:06:21 +08:00
8923793e2d Merge pull request #102 from eneev-a/master
Update downloader for 1.17, fix small bug in en_us generator, and regen languages for 1.17
2021-06-10 00:26:57 +08:00
3d0cfa2bf9 go fmt 2021-06-10 00:16:02 +08:00
d730153750 Add Benchmark 2021-06-09 23:43:12 +08:00
12128dddfe Re-generate languages for 1.17 2021-06-09 00:14:00 -06:00
704efd9282 Do not depend on chat package from en_us.go
Language generator should either compare PkgName with "en-us" or Name
with "en_us". I chose "Name" here.
2021-06-09 00:13:58 -06:00
220857ab76 Update language downloader URL to v1.17 2021-06-09 00:13:58 -06: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
29ce46a244 Minor changes that don't matter 2021-05-24 13:08:06 +08:00
7d4f4db36a pk.NBT() support parameter optionalTagName 2021-05-24 12:49:48 +08:00
cfde0f6e79 Example for #101 2021-05-24 12:28:51 +08:00
7e61872f46 opt bitstorage 2021-04-04 11:36:56 +08:00
45340d4f3a document for BitStorage 2021-04-04 11:06:46 +08:00
0344f49f28 security update 2021-04-04 10:37:22 +08:00
4976a5e72d chunk example fix 2021-04-04 10:29:30 +08:00
086b77f389 adjust nbt encoding api 2021-04-04 01:09:45 +08:00
78d56a0c50 optimized offline uuid calculation 2021-04-04 00:54:01 +08:00
6558738f48 support encoding map #98 2021-04-02 13:42:05 +08:00
0bd427af06 pk.NBT shouldn't panic: #98 2021-04-02 12:28:22 +08:00
c6255de745 pk.Ary support pointer of slice for WriteTo() #98 2021-04-02 09:29:51 +08:00
c4c4ebeda8 Add tests and examples for pk.Opt and pk.Tuple. 2021-04-02 01:16:43 +08:00
6a7ecbf7c6 Fix bugs with pk.Ary. Add tests and examples. 2021-04-02 00:30:45 +08:00
c1a2ac35ec Merge remote-tracking branch 'origin/master' into master 2021-03-31 19:08:56 +08:00
075a3d3a0a Example of Chunk packet. NOT TESTED 2021-03-31 19:08:33 +08:00
adf77e2661 linear palette 2021-03-31 16:00:15 +08:00
553b697023 Create codeql-analysis.yml 2021-03-15 09:38:05 +08:00
0acecb936d Allowed to not draw big picture 2021-03-14 13:36:22 +08:00
91e7ffa464 Fix #95 2021-03-14 13:35:09 +08:00