Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_EFzdFLav.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Metadata Extension [BTW Addon] - 墨喵 Minecraft 资源
Metadata Extension [BTW Addon] 图标

Metadata Extension [BTW Addon]

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.0.2+BTW3.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/metadata-extension-btw-addon
资源信息

Minecraft 版本: 1.6.4

平台: legacy-fabric

标签: cursed library

资源介绍

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.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Infinite Dimensions Mod

价格:0 墨喵币
下载量:0

查看详情
Mob Farm Trap

价格:0 墨喵币
下载量:0

查看详情
Nayxo's Trailer Modpack

价格:0 墨喵币
下载量:0

查看详情
ChoiceTheorem's Overhauled Village

价格:0 墨喵币
下载量:0

查看详情