Commit Graph

127 Commits

Author SHA1 Message Date
19945a6d0b Add registry receiving function 2024-06-16 02:12:56 +08:00
6de9cb7f15 Add Visit method for dynbt.Compound 2024-05-21 00:27:57 +08:00
61916db07a Apply "network nbt" format for net/packet.
examples and tests are updated
2023-11-19 02:01:17 +08:00
7d6e65f554 support network format of nbt 2023-11-19 01:35:30 +08:00
5ae7ff14ca Add more tests for snbt parser 2023-11-14 21:10:26 +08:00
99096fac8a Add unit test case for anonymous field 2023-04-29 00:47:52 +08:00
e435ab18f7 Remove FieldsUnmarshaler and FieldsMarshaler 2023-04-27 01:27:41 +08:00
078aaba156 Anonymous field handling for NBT 2023-04-26 23:17:49 +08:00
9582bc2a7e rename fastnbt -> dynbt. add some NewXXX api 2023-04-25 01:10:15 +08:00
37d4179bb2 Finish development of fastnbt 2023-04-24 21:59:30 +08:00
ad3f69e40b Experimental fastnbt library 2023-04-24 01:40:22 +08:00
de254fb1c6 Fix the issue of snbt decoding when TagList in TagCompound in TagList 2023-04-24 01:29:20 +08:00
cbf5a7c053 Fix the issue of snbt decoding when Tag*Arrays in TagCompound 2023-04-24 01:04:21 +08:00
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