Skip to content

blockEntityId

uniform int blockEntityId;

This uniform stores the id (from block.properties) of the current block entity (a tile entity). Value is 0 if no block.properties is present. Value is 65535 if block.properties is present and the block is either not in the file, or not en entity (this includes holding nothing).