Class HybridStructureLoader
java.lang.Object
com.gtnewhorizons.horizonqa.structure.HybridStructureLoader
-
Method Summary
Modifier and TypeMethodDescriptionstatic HybridStructureTemplateLoads a packaged structure template using the strict test-execution policy.static HybridStructureTemplateloadForEditing(String templateName) Loads a template for interactive editing, honoring the one-time legacy-ID migration opt-in.
-
Method Details
-
load
Loads a packaged structure template using the strict test-execution policy.Numeric ItemStack identities in legacy structure data are rejected because their meaning depends on the active registry assignment.
- Parameters:
templateName- namespaced template name, such asexamplemod:machines/ebf- Returns:
- the parsed template
- Throws:
IOException- if the template is missing, malformed, unsupported, or unsafe to load
-
loadForEditing
Loads a template for interactive editing, honoring the one-time legacy-ID migration opt-in. Test runners must useload(String)so test execution always remains strict.- Parameters:
templateName- namespaced template name, such asexamplemod:machines/ebf- Returns:
- the parsed template
- Throws:
IOException- if the template is missing, malformed, unsupported, or unsafe to load
-