Commit Graph

863 Commits

Author SHA1 Message Date
30eadedda2 fix #191 2022-05-21 10:41:10 +08:00
8f9bf27105 Update issue templates 2022-05-20 14:12:16 +08:00
96a289bb8f Update issue templates 2022-05-20 14:10:45 +08:00
df664e4e1f close #182 2022-05-20 14:00:00 +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
1ff25ae8ab Palette data structures now use generics for type checking 2022-05-20 12:00:35 +08:00
67afd62d58 fix ChunkToSave data copying error 2022-05-20 10:46:10 +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
ad0ea1db68 Partial level.Chunk->save.Chunk conversion support 2022-05-17 15:38:25 +08:00
81aae1f768 HashMap palette implement 2022-05-17 15:10:00 +08:00
e73be166bd Support decode ByteArray as []int8 2022-05-17 12:15:24 +08:00
de392ec3b3 Merge pull request #187 from layou233/use-defaultclient 2022-05-14 16:56:22 +08:00
0db686f398 Use http.DefaultClient for requests 2022-05-14 07:40:39 +00:00
805b7bf33b update go version the github actions use 2022-05-05 01:05:07 +08:00
aa2374cc24 Merge pull request #179 from maxsupermanhd/patch-1
Don't send empty host string in handshake
2022-05-04 22:11:51 +08:00
3043305d6a Update mcbot.go 2022-05-04 22:11:05 +08:00
97e3a988c4 Less checks 2022-05-04 17:02:34 +03:00
d7e1c69c24 Don't send empty host string in handshake 2022-05-04 03:38:35 +03:00
197e37017c Add document for chat.Message.Append() method 2022-04-26 10:12:10 +08:00
39d6998cda Merge pull request #167 from patyhank/master 2022-04-16 18:54:55 +08:00
2e11823b4a Scanned whole packet 2022-04-16 15:18:47 +08:00
607df98c3d Receive Respawn World Information 2022-04-16 12:50:50 +08:00
f4bb734c1c close #163 2022-04-03 15:09:55 +08:00
e00bb53f9e close #160 2022-04-02 00:58:11 +08:00
af898016af Export level.Section.blockCount 2022-03-28 15:26:42 +08:00
4c2510565d pk.Ary and pk.Array using generic now 2022-03-20 01:17:25 +08:00
7997a5faea BVH implement with less generic parm 2022-03-18 12:37:33 +08:00
00de623cc2 AABB and Sphere Bounds with new BVH tree implement with go 1.18 generic 2022-03-18 11:10:55 +08:00
ed742efb97 Add Chinese comment 2022-03-14 20:39:23 +08:00
ae2622c4e0 Try fix Palette ReadFrom 2022-03-14 19:50:20 +08:00
712094e879 Find all AABBs the point within 2022-03-13 18:45:21 +08:00
c3a997f1c4 A BVH tree implement without rotations 2022-03-13 17:49:47 +08:00
1116d87fa0 Export the blocks data 2022-03-13 17:49:08 +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
57b117044f Adjust format of blocks.go 2022-03-11 14:15:38 +08:00
a05f8e0a33 All block states' properties are parsed and all enums represented as byte 2022-03-11 14:02:21 +08:00
442993d3b1 Allow user-code create server.Player 2022-03-10 14:13:26 +08:00
7d197ebba4 delete wrong test 2022-03-10 12:40:55 +08:00
4a4be74a93 Merge pull request #152 from Tnze/blocks
[Update & Bug Fixes] Update to Minecraft 1.18.2
2022-03-10 12:38:47 +08:00
46b021e1ef update to 1.18.2 & fix bug in snbt encoding 2022-03-10 12:29:03 +08:00
0bbd279dd1 frameworkServer works perfect now 2022-03-09 17:21:28 +08:00
aa8e611644 support block state & nbt improvement 2022-03-09 16:12:47 +08:00
86592931c6 blocks codegen 2022-03-09 10:47:46 +08:00
ec4eef2331 fix the chat.Message with empty Text and Extra message doesn't contain an empty "text" field after marshaled into json. close #151 2022-03-09 10:46:59 +08:00
cf25807f68 Support SRV records in net.Dial and bot.PingAndListContext 2022-03-06 00:28:46 +08:00
23bcf9149a Clean imports 2022-02-20 19:23:41 +08:00
fee2e0c939 Add test for #148 2022-01-22 21:56:09 +08:00