Defines the numeric id of the first user-defined block
Defines the numeric id of the first user-defined item
Defines maximum item/block id
Ensures given id is a tile id, not a block id. It is generally recommended to use Block.convertItemToBlockId since it performs less calculations
block or tile id
tile id
Ensures given id is a block id, not a tile id. It is generally recommended to use Block.convertBlockToItemId since it performs less calculations
block or tile id
block id
Generates a new numeric block id
string block id. Used in Block module functions and
in some other block-related functions. Inner Core converts it to
block_
numeric block id
Generates a new numeric item id
string item id. Used in Item module functions and
in some other item-related functions. Inner Core converts it to
item_
numeric item id
Gets type of item ("block" or "item") and its string id in Minecraft
numeric item or block id
string in format "type:string_id" or "type:string_id#extra_information"
Gets item or block string id by its numeric id
numeric item or block id
numeric item or block id
true if item is vanilla Minecraft item, false otherwise
Generated using TypeDoc
Module used to manage item and block ids. Items and blocks have the same underlying nature, so their ids are interchangeable. Though, the blocks are defined "twice", as an item (in player's hand or inventory) and as a tile (a block placed in the world)