valence/crates/valence_protocol/build
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
..
block.rs Provide API for getting the wall variant of blocks (#255) 2023-02-23 21:21:27 -08:00
enchant.rs Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
item.rs Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
main.rs Add sounds (#244) 2023-02-15 02:36:21 -08:00
sound.rs Add sounds (#244) 2023-02-15 02:36:21 -08:00
translation_key.rs Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00