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 it's string ID in Minecraft.
numeric item or block ID
String in format "type:string_id"
or
"type:string_id#extra_information"
.
Use IDRegistry.getStringIdAndTypeForItemId instead.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and 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).