valence/extractor
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
..
gradle/wrapper check gradlew for the extractor into git (#88) 2022-09-27 13:06:34 -07:00
src/main Provide API for getting the wall variant of blocks (#255) 2023-02-23 21:21:27 -08:00
build.gradle ECS Rewrite (#184) 2023-02-11 09:51:53 -08:00
gradle.properties ECS Rewrite (#184) 2023-02-11 09:51:53 -08:00
gradlew check gradlew for the extractor into git (#88) 2022-09-27 13:06:34 -07:00
gradlew.bat check gradlew for the extractor into git (#88) 2022-09-27 13:06:34 -07:00
README.md add readme for extractor (#90) 2022-09-27 16:22:28 -07:00
settings.gradle Add extractor fabric mod 2022-07-19 05:15:05 -07:00

Valence Extractor

This is a Fabric mod for Minecraft that extracts data about different things in Minecraft, like blocks, packets, etc. All the extracted data is stored in the sibling extracted folder.

How to use

Here's how to regenerate the contents of extracted.

From this directory, run the following

./gradlew runServer

This will run the extractor and immediately exit, outputting the files that are listed in the logs. These need to be manually moved to extracted to be committed.