Placeholder for checking structures

A placeholder that allows you to get a structure at the specified location or check whether is specified structure at the location or not.


Meaning

Allows you to get a structure by specifying the location. Also you can check whether is the specified structure exists at the specified location or not.


Format
%CEP_structure_<action>_(semi-mandatory) <structure_type>_<x,y,z,world>%

<action> – the action to perform, may be get or check, "get" will return the structure type at the specified location, and "check" will return whether the structure type at the specified location equals to the specified <structure_type> option (you can also use "<action>:unsafe:<(optional, by default 10) size>" to use the unsafe mode and its size, see more in the red hint); (MANDATORY)

<structure_type> – the structure type to compare (use only in case of "check" <action>); (SEMI-MANDATORY)

<x,y,z,world> – the location to check the structure. (MANDATORY)



Targets
  • Locations.


Where is useful

Can be useful to check structures on a different locations.


Examples
%CEP_structure_get_-5307,72,-6940,world% # Get the sctructure at the specified location
%CEP_structure_check:unsafe:15_SWAMP-HUT_1213,54,-440,test_world% # Check whether the sctructure at the specified location is swamp hut or not, also checking all blocks around in 15 radius