Placeholder for different block information

A placeholder that allows you to get different blocks information.


Meaning

Allows you to get different blocks information, like lighting level, inventory type, size etc.


Format
%CEP_block_<action>_<x>_<y>_<z>_<world>%

<action> – may be light:<fromBlocks | fromSky | default>, inventory or inventorySize; (MANDATORY)

<x>_<y>_<z>_<world> – the location of the block. (MANDATORY)


The "light" <action> is for the block light level from blocks, sky or default, the "inventory" and "inventorySize" is the type or size of the current inventory of the block.


Targets
  • Blocks.


Where is useful

Can be useful to get different information about blocks while implementing different systems.


Examples
%CEP_block_light:fromBlocks_633_43_234_world% # Get the block lighting level from another blocks at the specified location
%CEP_block_inventorySize_1210_75_8534_world1% # Get the block inventory size at the specified location if applicable

Last updated