Convert registry name [registryname] to block or AIR if conversion fails

Convert registry name [registryname] to block or AIR if conversion fails. Procedure block in the block category. It gives back a block value.

Convert registry name registryname to block or AIR if conversion fails
Category
Block
Block type
Value block (plugs into another block)
Returns
Block
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
registrynamePlug-in valueString