In this tutorial, I will make interactable the structure below. Any player may build this in a room in their house, or in a building in thier town, and it will work. This will open a mmoitems crafting station.
A few definitions that will make the explanation in these pages much shorter and understandable.
Players correctly interacting with a Custom Structure [CS] so that it runs its commands.
In this example, players will right-click the enchantment table.
The block pattern that must be matched, a list of materials at relative co-ordinates from each other that composes a CS.
In this example, it is the obsidian platform, the polished-blackstone-brick stairs and walls, the single crying obsidian, the enchantment table, and the two lamps.
The most important block of the composition. This is the block players will have to interact with to activate the CS.
In this example, the core is the enchantment table.
Build the structure in the world, and use a command to write its .yml configuration.
Choose the way players will interact with the structure
Add commands that will run when players interact
You've already imported it, but want to change the block pattern? Use this rather than reimporting.