Commit Graph

226 Commits

Author SHA1 Message Date
Mefiresu
808bbb26a2 Remove BlockChange from packed structs
pragma pack (push, 1) forces alignment to 1-byte.
While reordering the fields does help with memory accesses, it only
works if the compiler can ensure 2-byte alignments for this struct.
2025-09-12 23:05:10 +03:00
anmol-patankar
ba03d92ad0 fix mobs spawning in water
* Fixed underwater under lava mob spawn issue #17

* made comment changes

* minor fix

* method name change

* method change

* fixed
2025-09-12 19:53:08 +03:00
p2r3
dabb202c13 mention testing in contribution guidelines 2025-09-12 19:39:33 +03:00
CodeAsm
eef1020ad8 automate vanilla registry extraction on linux
* Adding a simple check if someone has read the readme

* semi automate the registeries generation. still requires manually downloading server.jar for eula purposes

* The mods have spoken: no spelling mistakes allowed.

* mention extract_registries script in readme

---------

Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>
2025-09-12 19:31:03 +03:00
fox3000foxy
81865cb7ac add string bounds check when copying player name 2025-09-12 19:04:36 +03:00
Anmol
7206dd1b11 create windows build script
* Create build.bat

* Update build.bat

* added error handling

* changed error to match build.sh

* update readme to mention windows build script

---------

Co-authored-by: zyriu1 <Suvkq@hotmail.com>
Co-authored-by: p2r3 <41925384+p2r3@users.noreply.github.com>
2025-09-12 18:41:01 +03:00
breakgimme
3d02dc02bf use libc htonll if found 2025-09-12 15:27:49 +03:00
p2r3
5b8360708c clarify memory footprint of VISITED_HISTORY 2025-09-12 15:12:46 +03:00
p2r3
5a100bcd23 disable chunk generation logging by default 2025-09-12 15:10:44 +03:00
p2r3
46a808152a document important configuration options for real servers 2025-09-12 15:09:36 +03:00
p2r3
ba11d121cf reorder coordinates in BlockChange struct 2025-09-12 14:52:49 +03:00
p2r3
a83acbda67 add option to tie movement updates to tickrate 2025-09-11 22:00:32 +03:00
p2r3
e4c0c6b6e9 fix armor not equipping from right click 2025-09-10 20:11:59 +03:00
p2r3
55da6c7d4c fix features generating when they shouldn't 2025-09-09 21:20:40 +03:00
p2r3
5c571df947 clarify details in readme 2025-09-09 19:33:52 +03:00
p2r3
125203980b add current game and protocol version to readme 2025-09-09 14:01:34 +03:00
p2r3
362f9e925b document latest build binary in readme 2025-09-09 13:59:39 +03:00
p2r3
fdb6f6dd15 add release body to build workflow 2025-09-09 13:51:00 +03:00
p2r3
52f6df468a give build workflow write permissions latest 2025-09-09 13:42:22 +03:00
p2r3
fc95f57517 select all generators when dumping registries in workflow 2025-09-09 13:39:07 +03:00
p2r3
e14692d5cf install jdk 24 during workflow 2025-09-09 13:37:38 +03:00
p2r3
5b4486f2fd generate registry headers in workflow 2025-09-09 13:32:23 +03:00
p2r3
e49904066e set up cosmopolitan build workflow 2025-09-09 13:23:52 +03:00
p2r3
d90a46c832 add note about minimum visited history size 2025-09-08 17:44:55 +03:00
p2r3
75259271f1 write readme 2025-09-07 22:32:09 +03:00
p2r3
7af7462138 add missing documentation 2025-09-07 14:36:31 +03:00
p2r3
550edbdb37 centralize configuration options 2025-09-07 14:07:12 +03:00
p2r3
5bcab2500c space out config options 2025-09-07 13:55:16 +03:00
p2r3
a72f405b7a fix not blocks not dropping their item when the held tool breaks 2025-09-06 17:26:47 +03:00
p2r3
102a7d46f8 make beef dumps opt-in via config 2025-09-02 00:33:25 +03:00
p2r3
64846381f4 add option to sync block changes on an interval 2025-09-02 00:29:21 +03:00
p2r3
7a81625cd4 sync beefdump data to disk 2025-09-02 00:27:00 +03:00
p2r3
390befe9cf fix potentially uninitialized pointers 2025-09-01 22:28:38 +03:00
p2r3
b20c9f508f return sent bytes from send_all 2025-08-31 22:25:43 +03:00
p2r3
6bef88f60d update ore generation 2025-08-31 22:23:19 +03:00
p2r3
d608014470 use global tick counter to handle regular events at different rates 2025-08-31 21:45:47 +03:00
p2r3
8011a1adfd implement armor 2025-08-31 05:30:18 +03:00
p2r3
3151f0b6f2 add a way to restore world data over the network 2025-08-31 01:56:47 +03:00
p2r3
d6138616a4 fix wrong relative coordinates when fetching terrain 2025-08-31 01:39:00 +03:00
p2r3
ad1baee937 extend total network timeout to 15 seconds (leaving 5s for keepalive) 2025-08-31 00:42:56 +03:00
p2r3
f3fbde3134 terminate connections on long network timeouts 2025-08-31 00:01:35 +03:00
p2r3
7d390ed899 add a way to dump world data over the network 2025-08-30 22:36:49 +03:00
p2r3
433a2ca350 add missing return statement 2025-08-30 21:46:34 +03:00
p2r3
4d1892f023 disable flash serialization by default on esp-idf 2025-08-30 21:45:55 +03:00
p2r3
a824c2d63b add item pickup animations 2025-08-30 20:48:01 +03:00
p2r3
d9888f2e0f clarify flight flag description 2025-08-30 20:47:32 +03:00
p2r3
759399dac8 optimize world generation 2025-08-30 16:56:00 +03:00
p2r3
4a7f9554a8 add player death messages 2025-08-30 01:12:20 +03:00
p2r3
a1ef1c52d2 don't give players items when their inventory is full 2025-08-30 00:44:02 +03:00
p2r3
ee63b7c7f4 reset client loading fallback timer on player init 2025-08-30 00:37:33 +03:00