Add standard block shape vocabulary#114
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds SDK-level public vocabulary for canonical block shape semantics.
This introduces reusable types for:
The vocabulary is re-exported through
freven_world_guest_sdkalongside the existing block descriptor vocabulary.Why
freven-engine#321 added the first engine-side canonical shape foundation, but long-term shape/collision/selection semantics should not remain engine-private.
The SDK needs shared vocabulary that can be consumed by engine runtime, game-owned authoring profiles such as
freven.vanilla:blocktypes_v1, world/avatar APIs, and mod-facing tooling.Details
BlockShapeFace.BlockShapeBox.BlockShapeSideMask.BlockShapeDescriptor.BlockShapeValidationError.freven_world_guest_sdk.Validation
cargo +stable fmt --all -- --checkcargo +stable test --locked -p freven_block_sdk_types -p freven_world_guest_sdkcargo +stable clippy --locked -p freven_block_sdk_types -p freven_world_guest_sdk --all-targets -- -D warningsCloses #113.