valence/crates
Jade Ellis 7cd059b9b3
Add a minimal chat example (#248)
<!-- Please make sure that your PR is aligned with the guidelines in
CONTRIBUTING.md to the best of your ability. -->
<!-- Good PRs have tests! Make sure you have sufficient test coverage.
-->

## Description

Take 3 of #247.

I've added a minimal chat example - ignoring chat signing, etc. It's in
the file `crates/valence/examples/chat.rs`.

## Test Plan

Manual, unfortunately :(

Steps:
1. Open two minecraft clients, with two separate accounts (or usernames
if using offline mode)
2. Connect to the server in both clients
3. Type a chat message, checking it appears to both clients, with the
correct username.
4. Type a command, checking it appears only to the sender.

---------

Co-authored-by: Carson McManus <dyc3@users.noreply.github.com>
2023-02-21 09:28:07 -05:00
..
packet_inspector Colorise the inspector output based on S2C or C2S (#242) 2023-02-14 15:31:17 -08:00
playground Implement Drop Item Events (#252) 2023-02-20 15:37:09 -08:00
valence Add a minimal chat example (#248) 2023-02-21 09:28:07 -05:00
valence_anvil Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_nbt Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_protocol Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_protocol_macros Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_spatial_index Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
valence_stresser Minimal stresser implementation (#240) 2023-02-21 08:54:16 -05:00