valence/crates
Jade Ellis 9931c8a80b
Provide API for getting the wall variant of blocks (#255)
<!-- 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

This adds an API for getting the wall / attachable variant of a block. 
Unlike #117 it does not add convenience methods for orientation, and it
does not modify the example to use this code.

## Test Plan

<!-- Explain how you tested your changes, and include any code that you
used to test this. -->
<!-- If there is an example that is sufficient to use in place of a
playground, replace the playground section with a note that indicates
this. -->

The extractor is not tested. 
The API has some tests in the test module.

#### Related

<!-- Link to any issues that have context for this or that this PR
fixes. -->

#115 - it does not fix this, as it doesn't modify the example, but it
could lead to it.

---------

Co-authored-by: EmperialDev <saroke.dev@gmail.com>
2023-02-23 21:21:27 -08: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 Provide API for getting the wall variant of blocks (#255) 2023-02-23 21:21:27 -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