18 Commits

Author SHA1 Message Date
SDFTDusername
c5e8408052 implement player poses (sneak/sprint)
* Added sending player metadata with poses to everyone

* Renamed sendPlayerMetadataToAll to broadcastPlayerMetadata

* Made entity metadata system flexible

* Made broadcastPlayerMetadata create new metadata instead of using a global one

* Moved writeEntityData, sizeEntityData and sizeEntityMetadata to procedures

* style nitpicks

---------

Co-authored-by: p2r3 <p2r3@p2r3.com>
2025-09-15 22:01:22 +03:00
SDFTDusername
f6333429eb implement arm swinging animation
* Added packets to show players swinging their arms

* fix misleading comment

---------

Co-authored-by: p2r3 <p2r3@p2r3.com>
2025-09-14 16:59:25 +03:00
p2r3
e3589a02f0 fix player entities desyncing on join sometimes 2025-09-13 20:06:25 +03:00
Bradlee Barnes
969f7d3974 send server brand during login
* send server brand to client

* send brand regardless of `0x02` being recieved by server or not

* send brand regardless of `0x02` being recieved by server or not
+ if statement to match previous lines

* ifdef check for brand sending

* commit main.c for ifdef check (i forgot)

* commit main.c for ifdef check (i forgot)

* change sc_pluginMessage to sc_sendPluginMessage

- added params to it for use in other cases
- other changes to fit PR reviews

* revert .gitignore

* revert unrelated changes

* send byte instead of varint for constant packet id

* gate declaration of brand string behind ifdef

* make logging consistent with codebase

---------

Co-authored-by: p2r3 <p2r3@p2r3.com>
2025-09-13 14:22:06 +03:00
p2r3
a824c2d63b add item pickup animations 2025-08-30 20:48:01 +03:00
p2r3
f5119d0b70 improve hunger mechanics 2025-08-27 17:03:55 +03:00
p2r3
b46f5927a2 handle server list ping 2025-08-27 14:50:17 +03:00
p2r3
84fda79901 implement hunger system 2025-08-26 02:29:00 +03:00
p2r3
549745516f prevent players from dropping and losing items 2025-08-24 20:41:48 +03:00
p2r3
ee69d3ab9b support placing blocks on containers while sneaking 2025-08-23 04:24:06 +03:00
p2r3
e311b0cbe4 implement mob combat 2025-08-22 17:41:29 +03:00
p2r3
6fc5d07699 support common miscellaneous packets 2025-08-22 13:41:19 +03:00
p2r3
ca9edce43a implement basic support for mobs 2025-08-22 02:29:59 +03:00
p2r3
05862bf62a implement chat messages 2025-08-21 17:45:39 +03:00
p2r3
33c564e0fc add player join messages 2025-08-21 17:03:26 +03:00
p2r3
70c1fb0e7a implement respawning 2025-08-21 16:37:37 +03:00
p2r3
05f17399f5 implement fall damage 2025-08-21 15:07:49 +03:00
p2r3
5f3dcc56f9 move headers to separate directory 2025-08-20 13:42:56 +03:00