Skip to content

feat: add blocks WIT interface for plugin block type queries - #18

Open
CompileRider wants to merge 2 commits into
Pumpkin-MC:masterfrom
CompileRider:feat/blocks-interface
Open

feat: add blocks WIT interface for plugin block type queries#18
CompileRider wants to merge 2 commits into
Pumpkin-MC:masterfrom
CompileRider:feat/blocks-interface

Conversation

@CompileRider

Copy link
Copy Markdown

Adds a new blocks WIT interface that exposes Minecraft's block type system to WASM plugin developers.

The interface provides 16 functions covering:

  • Block type lookup by registry name
  • Block type metadata (hardness, blast resistance, flammability, etc.)
  • Tag-based grouping queries (has-tag, valid-tag, tag-members)
  • State bridge (default-state-id, all-state-ids, state-to-type)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant