valence/crates/valence
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
..
build ECS Rewrite (#184) 2023-02-11 09:51:53 -08:00
examples Add a minimal chat example (#248) 2023-02-21 09:28:07 -05:00
src Implement Drop Item Events (#252) 2023-02-20 15:37:09 -08:00
Cargo.toml Add block entities (#32) 2023-02-18 10:16:01 -08:00