1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-02 07:35:08 +02:00

improve item-to-block mapping

This commit is contained in:
p2r3
2025-08-12 22:29:36 +03:00
parent fceb8e4df1
commit b9e2759786
3 changed files with 263 additions and 6 deletions

View File

@@ -5,9 +5,9 @@
extern uint8_t registries_bin[5718];
extern uint8_t B_to_I[256]; // Block-to-item mapping
extern uint8_t I_to_B[256]; // Item-to-block mapping
extern uint16_t block_palette[256]; // Block palette
extern uint8_t B_to_I[256]; // Block-to-item mapping
uint8_t I_to_B (uint16_t item); // Item-to-block mapping
// Block identifiers
#define B_acacia_hanging_sign 206