Commit Graph

125 Commits

Author SHA1 Message Date
73727eccb9 Better error message that helps issue #49 . 2020-04-04 17:06:15 +08:00
a908a03fcd Use %w in file ingame.go and nbt package, then we can use errors.Is for compare 2020-03-04 12:37:43 +08:00
3041792dac nbt: fix TagLongArray error message 2020-01-05 01:40:14 +08:00
1073099cbd struct column and chunk, and optimization 2019-08-03 18:02:18 +08:00
e27bb4e2bc struct of Level.dat 2019-08-01 00:03:53 +08:00
e385cb77cb NBT Unmarshaler support 2019-07-31 21:00:30 +08:00
4bd9c44f30 NBT parser can unmarshal TagCompound as map[string]interface{} now 2019-07-31 20:25:41 +08:00
5fbc95d4a0 infer compress type before decode NBT fail 2019-07-31 17:31:16 +08:00
e5c32df53b Fix the NBT decoder return EOF if length equals to 0 2019-07-24 15:29:10 +08:00
d9098676fd Fix the NBT decoder panic if length less than 0 2019-07-24 14:14:33 +08:00
a7858a2459 修正代码中的若干拼写错误 2019-07-16 23:28:02 +08:00
97ba420565 支持Unmarshal到interface{} 2019-06-10 17:07:57 +08:00
be1a95c27e support unmarshal to interface{} .no TagCompound 2019-06-10 16:32:12 +08:00
837bb0b213 try read ChunkData 2019-05-21 00:11:27 +08:00
6be465640f nbt support skip TagIntArray and TagLongArray 2019-05-21 00:11:07 +08:00
2c41d9b901 return ErrEND when reading a TAG_End 2019-05-19 15:44:09 +08:00
e088636fbc fix some misspell 2019-05-19 11:55:58 +08:00
6ecda56de1 fix example output error 2019-05-19 00:23:54 +08:00
1144956f57 update README 2019-05-19 00:17:39 +08:00
b28cc4f2da Marshal without test and TagList 2019-05-19 00:15:14 +08:00
0b9984da07 support IntArray and LongArray 2019-05-18 22:00:52 +08:00
d3c7f45a21 use sync.Map to store type info 2019-05-18 20:10:05 +08:00
7953808e36 implement old NBT format.
TODO: TAG_Int_Array and TAG_Long_Array
2019-05-18 19:22:23 +08:00
b2164833f5 can parse TagCompound and TagString and TagFloat 2019-05-18 18:08:40 +08:00
9cdab82ea3 can parse TAG_String 2019-05-18 01:08:32 +08:00