mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-26 23:51:32 +11:00
9931c8a80b
<!-- 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> |
||
---|---|---|
.. | ||
block.rs | ||
enchant.rs | ||
item.rs | ||
main.rs | ||
sound.rs | ||
translation_key.rs |