currentSelectedBlockId
uniform int currentSelectedBlockId;
This uniform stores the id (from block.properties
) of the block selected by the player (with the block outline). Value is 0
if no block is selected, if the selected block is not in block.properties
, or if no block.properties
is file present.