be3a834696
Command parse compound
2022-01-03 15:57:54 +08:00
70b0fbf1b7
Palette support 1
2021-12-17 18:45:06 +08:00
4e7db1e122
Fix bugs in packet.Packet.Pack()
2021-12-12 15:23:21 +08:00
b34044cff9
fix #132
2021-11-30 16:12:12 +08:00
11dd523542
Add buffer pool
2021-11-27 16:17:27 +08:00
ab63acbd7e
New server framework, an example, and compressed packet fixed.
2021-11-27 15:25:55 +08:00
4d11e7913f
BitSet support: no tested
2021-11-26 17:45:59 +08:00
b1b57e067b
Document of RCON Connection
2021-11-23 15:46:01 +08:00
d9853b25aa
Changed the packet Ary error message
2021-11-11 16:12:49 -07:00
b367864c2b
Changed packet address error meesage
2021-11-11 16:05:58 -07:00
d7091db5b3
NBT RawMessage fully support
2021-07-05 00:58:41 +08:00
d9b6a90afc
Handle screen open/send content
2021-07-04 00:44:42 +08:00
7f0641a094
correct loginplugindata type
2021-06-19 16:02:43 +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
4976a5e72d
chunk example fix
2021-04-04 10:29:30 +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
91e7ffa464
Fix #95
2021-03-14 13:35:09 +08:00
951bedbb13
Fix tests, changes pk.NBT api
2021-02-28 15:14:52 +08:00
918fffed1f
Fix bug: Write pk.Boolean encode error
2021-02-27 20:19:32 +08:00
21207830c0
Fix over-read bug of go-mc/net packet
2021-02-27 01:15:44 +08:00
3da9321f59
Refactoring package go-mc/bot
2021-02-27 01:06:07 +08:00
f8b3501b60
Fix other code for compatible with new go-mc/net packet
2021-02-25 20:22:06 +08:00
27a30efe7b
Change conn.ReadPacket for reuse of the buffer
2021-02-25 14:24:28 +08:00
a0ec60eca2
Implement PacketBuilder. close #46
2021-02-25 12:43:46 +08:00
9b6f640843
update to 1.16 and removes usage of "io/ioutil"
2021-02-25 12:43:39 +08:00
ea0e0d1cae
Regenerate files, moves packet id from data package
2021-02-18 21:29:16 +08:00
bc9cd93066
Fix some warnings and typos
2021-02-18 14:07:30 +08:00
67806abcdb
fix #88
2020-11-30 14:29:15 +08:00
2bdea5a0f9
Implement TransactionConfirmation event + packet
2020-09-27 21:44:24 -07:00
670799df8d
Start implementing boilerplate for manipulating inventory
2020-09-26 18:05:40 -07:00
a46acaa064
Track and update tile entities
2020-09-20 17:11:18 -07:00
7d122e2f8b
Basic entity tracking
2020-09-19 15:59:03 -07:00
0a6e72a046
Add entity information
2020-09-17 13:05:37 -07:00
8ecf08fa50
Implement packet decoding for entities
2020-09-17 00:13:08 -07:00
70bb24a7fb
Major update to implement basic collision
2020-09-16 20:16:47 -07:00
d3bb141fcd
Move decode of complex packets into their own package
2020-09-12 21:13:37 -07:00
358fb7b659
Implement generator and type for packet IDs
2020-09-12 13:38:45 -07:00
e8f6c6fa9b
Improved rcon testing
2020-07-14 12:59:11 +08:00
2159d1c959
Adds Close Function
2020-07-12 20:33:42 -05:00
61f1fc31b6
change packet id from Byte to VarInt. #59
2020-06-02 14:33:21 +08:00
c87bdc91be
Add unit test for invalid long VarInt
2020-04-26 13:06:42 +08:00
e6ca182ba1
Fixed VarInt and VarLong max size
...
Before VarInt could have had a size of 7 byte without generating errors (max should be 5).
>= 5 is because we start from 0 and i=5 is already in error.
For example if byte of VarInt are [255 255 255 255 255 255 1], at penultimate iteration, i will be 5 (start at 0) so there aren't errors and at the last the break bypass the sec&0x80 check.
Same for VarLong.
2020-04-25 18:06:37 +02:00
72c389c86f
Support VarLong encode/decode
2020-01-29 13:57:57 +08:00
4370b6c3cd
修复RCON库过于信任包Size字段的问题
2020-01-16 12:57:01 +08:00
e8bb060cc4
更新1.15协议部分
2019-12-11 11:07:47 +08:00