oreOrCrystal property

String? oreOrCrystal

is the schematic ore or crystal. its null if the schematic is a trap.

Implementation

String? get oreOrCrystal =>
    oreOrCrystalRegex.firstMatch(templateId.split(":")[1])?.group(1);