Перейти к содержимому
Mineforgian

Metadata Extension [BTW Addon]

This library addon adds additional metadata to all blocks, a whole 32 bits each. Required by other some other addons!

197 загрузок0 подписчиковCC-BY-4.0legacy-fabric

Обновлён 3 января 2026 г. · опубликован 3 января 2026 г.

Metadata-Extension-Addon

This library addon adds additional metadata to all blocks, a whole 32 bits each. These can be accessed and set via the extension interfaces provided by this mod. When the vanilla method setBlock is called, extra metadata is set to 0 as well. New methods for handling extra metadata are named intuitively.

IMPORTANT

Only use this addon if another addon requires it! This library addon does nothing on its own!

Example Library Usage

Extra metadata are 32 bits, a full integer.

To set a block's extra metadata, do for example: WorldExtension.cast(world).setBlockExtraMetadata(...). Different notify options are also available, as with vanilla metadata.

To get a block's extra metadata, do for example: WorldExtension.cast(world).getBlockExtraMetadata(...).

Usage as in ((WorldExtension) world).getBlockExtraMetadata(...) is also possible, but cast methods are provided for better readability.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2.0.2+BTW3.0Релиз1.6.4legacy-fabric3 января 2026 г..jar (51 КБ)

Комментарии

Загружаем…