Class DynamicStructureTemplates
java.lang.Object
net.neoforged.testframework.gametest.DynamicStructureTemplates
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private final Map<ResourceLocation,
Supplier<StructureTemplate>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
private Stream<ResourceLocation>
list()
private Optional<StructureTemplate>
load
(ResourceLocation location) void
register
(ResourceLocation id, Supplier<StructureTemplate> template) void
register
(ResourceLocation id, StructureTemplate template) void
setup
(StructureTemplateManager manager)
-
Field Details
-
SOURCES_FIELD
- See Also:
-
templates
-
-
Constructor Details
-
DynamicStructureTemplates
public DynamicStructureTemplates()
-
-
Method Details
-
setup
- Throws:
Throwable
-
load
-
list
-
contains
-
register
-
register
-