Get an egg called "House" with sign, and use. It'll spawn house. Also there's craft of enchanted iron sword, but it works incorrect, because of I don't know how to setblock chain command block conditional.
P.S. HOW TO SETBLOCK CONDITIONAL CHAIN COMMAND BLOCK? (that'll help finish the mechanism)