Commit Graph

351 Commits

Author SHA1 Message Date
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
7f91383a1d Example genmaps doesn't open all files at the same time. To avoid "too many open files" error in linux. 2021-03-13 13:01:07 +08:00
8dbb96cdfd generate the big map 2021-03-13 12:19:55 +08:00
c0c03e25e0 Fix genmaps palette problem 2021-03-13 11:45:19 +08:00
24c057da26 Parallelization genmaps 2021-03-13 10:13:50 +08:00
03eada08a2 tidy the go.mod 2021-03-12 22:42:26 +08:00
d132c78111 Map image generator 2021-03-12 22:39:39 +08:00
053ea434d3 Simplify BitStorage implement 2021-03-12 22:38:51 +08:00
f0afbb7fa0 BitStorage implement like mojang 2021-03-12 21:56:04 +08:00
951bedbb13 Fix tests, changes pk.NBT api 2021-02-28 15:14:52 +08:00
b8a3f1a094 Update docs 2021-02-28 13:06:42 +08:00
fb1d3a3506 Part of refactor 2021-02-27 20:20:17 +08:00
918fffed1f Fix bug: Write pk.Boolean encode error 2021-02-27 20:19:32 +08:00
260805c0b1 Fix bug: ReadByte return EOF when read success 2021-02-27 20:18:41 +08:00
a7bf3b683f Rename cmd -> examples 2021-02-27 15:00:25 +08:00
8e7ac43bf5 Add generic event 2021-02-27 14:49:11 +08:00
3b83aaf8ae Send client settings 2021-02-27 01:37:05 +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
e864580903 Add test of over-read 2021-02-27 01:02:33 +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
5feb25895e Update github actions settings 2021-02-25 12:47:29 +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
178c34eacb Add the files I forget adding 2021-02-18 21:36:27 +08:00
ea0e0d1cae Regenerate files, moves packet id from data package 2021-02-18 21:29:16 +08:00
b4fc573118 Update data/lang 2021-02-18 20:14:10 +08:00
67a7b42a01 Fix examples.
Fix Die event trigger incorrectly issue.
2021-02-18 17:42:19 +08:00
d6b5accdc8 Add srv parse support. Sorry for the breaking API change. (I said that on README.md:34) 2021-02-18 17:02:41 +08:00
624fc138ba Fix the circle import 2021-02-18 16:57:11 +08:00
8cc4747f88 Import github.com/Tnze/go-mc/data/lang/en-us by default that the chat.Message.String() will handle Translate Message correctly at any time. 2021-02-18 14:38:29 +08:00
bc9cd93066 Fix some warnings and typos 2021-02-18 14:07:30 +08:00
750f87e780 Remove commented printf 2021-02-18 13:38:43 +08:00
0daf131f75 Fix incorrect grammar and typo. 2021-02-10 00:29:20 +08:00
0e959dfbc0 go generate ./... && go fmt ./... 2021-01-09 13:25:51 +08:00
8bc0d5d0e3 Merge branch 'spbinns-master' into master 2021-01-09 13:22:08 +08:00
b299065c78 Rework soundIDs and packetIDs generator code to not be platform specific 2021-01-08 21:27:57 -07:00
8b93d44f86 Add missing data/gen_soundIDs.go 2021-01-08 10:04:30 -07:00
aab143d928 Auto-generate sound ids and names 2021-01-07 22:18:01 -07:00
67806abcdb fix #88 2020-11-30 14:29:15 +08:00