schematicbuild: type: world events: on player places i@buildchest: - if ].has_town> { - if <[schematic[build].cuboid[].cuboid.get_blocks].location.in_region> { - narrate "You cannot place that here!" - determined cancelled } else { - schematic load name:building - schematic paste name:building noair } } else { - narrate "You cannot place that here!" - determined cancelled }