How to make the code check the structure of blocks?

Fila

New Member
I'm trying to write a plugin where if you build a certain structure out of certain blocks, it will function as a separate repository. For example a 3x3x3 structure consists of:
x1 - oak planks on the edges and a cobblestone in the centre
x2 - oak planks on the edges and an empty centre
x3 - oak planks on the edges and a cobble in the centre
And also on the outside of one of the centres there is a plaque, through which you open this chest
 
Top