structure

fun structure(name: String, structure: context(RegistryLookupContext) () -> Structure): ResourceKey<Structure>

Registers a new Structure under name using structure.