Module fastanvil::pre13

source ·
Expand description

1.2 to 1.12

Structs

  • A Minecraft chunk.
  • A level describes the contents of the chunk in the world.
  • A vertical section of a chunk (ie a 16x16x16 block cube), for before 1.13.
  • Raw block representation: block_id:data_value

Functions

  • Use this to manually register the conversion from numeric block id (1) to string block id (minecraft:stone).
  • Set a custom callback to convert block ids in the 256..=4095 range and a data value to static references to Block. The callback can return None if the block id does not exist.

Type Definitions

  • Function used to convert a block ids in the 256..=4095 range and a data value to static references to Block.