Commit Graph

633 Commits

Author SHA1 Message Date
9c7febe78e mca: Get rid of float conversion 2022-05-28 15:42:07 +03:00
f710627b02 mca: add CreateWriter and Region.PadToFullSector 2022-05-28 15:03:36 +03:00
9de1f4e9b3 mca: Fix calculation of needed sector count
With a data length of 4092, 2 sectors were required instead of 1
2022-05-28 15:00:49 +03:00
0c9ea959a7 add unpack packet check to prevent panic 2022-05-28 14:23:00 +08:00
33f604aa93 Components now knows why client exist 2022-05-28 13:48:19 +08:00
4cc7ed22b7 change pk.Ary API 2022-05-28 13:47:07 +08:00
02dd436014 fix bitset bugs 2022-05-28 01:48:36 +08:00
29ce03be31 a flat bitset 2022-05-28 01:39:33 +08:00
7bb5c2db87 ref #106 on online-bot example 2022-05-27 17:38:56 +08:00
61f9625297 fix data race 2022-05-27 10:37:10 +08:00
5acdadabcc Merge pull request #198 from xtrafrancyz/master
Support omitempty for nbt encoding
2022-05-27 09:56:58 +08:00
eb9d50b3ee Support omitempty for nbt encoding 2022-05-27 01:54:22 +03:00
691e507fcf load dimension example 2022-05-27 00:59:18 +08:00
474d6a229b player and dimension loader with ecs system 2022-05-27 00:38:46 +08:00
d2f7db9d0d simple ecs system 2022-05-23 10:04:01 +08:00
a5dd70d1ea dim manager test 2 2022-05-22 14:46:07 +08:00
562836ac5e dim manager test 1 2022-05-22 09:58:41 +08:00
1932cbed74 Chunk converters return error now 2022-05-21 15:29:31 +08:00
5f3f66e9cf SkyLight and BlockLight 2022-05-21 12:06:19 +08:00
2b92ad6b4c use hashMapPalette in config.create() 2022-05-21 12:06:00 +08:00
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