support placing blocks on containers while sneaking

This commit is contained in:
p2r3
2025-08-23 04:24:06 +03:00
parent 77c68c4dbc
commit ee69d3ab9b
4 changed files with 34 additions and 10 deletions

View File

@@ -95,6 +95,7 @@ typedef struct {
uint8_t craft_count[9];
// 0x01 - attack cooldown
// 0x02 - has not spawned yet
// 0x04 - sneaking
uint8_t flags;
} PlayerData;

View File

@@ -49,6 +49,7 @@ int sc_systemChat (int client_fd, char* message, uint16_t len);
int cs_interact (int client_fd);
int sc_entityEvent (int client_fd, int entity_id, uint8_t status);
int sc_removeEntity (int client_fd, int entity_id);
int cs_playerInput (int client_fd);
int sc_registries (int client_fd);
#endif