Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocky Chroniclers #796

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Blocky Chroniclers #796

wants to merge 4 commits into from

Conversation

SamsTheNerd
Copy link
Member

Allows chroniclers to read/write blocks.

Blocks can opt in in three ways.

  1. implement ADIotaProvider on a Block Entity class.
  2. implement IBlockyIotaProvider on a Block class.
  3. manually register with HexAPI#registerBlockyIotaHolder

Option 1 will likely work best in most cases (since data is generally stored in a block entity), but option 2 is good for static reading or for reading that only depends on the environment (like akashic record). Finally, option 3 is provided for cases where you can't implement an interface, such as for another mod's block or for optional hex interop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

1 participant