HexMod
HexMod copied to clipboard
Blocky Chroniclers
Allows chroniclers to read/write blocks.
Blocks can opt in in three ways.
- implement
ADIotaProvideron a Block Entity class. - implement
IBlockyIotaProvideron a Block class. - 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.
I believe Petra was opposed to this?
Moved to https://github.com/object-Object/IoticBlocks since Petra doesn't want it in the base mod.