net.minecraft.structure

public class AncillaryStructureTemplateProvider

extends StructureTemplateProvider

net.minecraft.world.level.levelgen.structure.templatesystem.loader.DirectoryTemplateSource
net.minecraft.class_1_287
net.minecraft.structure.AncillaryStructureTemplateProvider

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_1688
LOGGER
private final Path
sourceDir
field_1_1691
resourceDir
private final ResourceFinder
fileToIdConverter
field_1_1689
resourceFinder
private final boolean
loadAsText
field_1_1690
snbt

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.DataFixer dataFixer, RegistryEntryLookup<Block> blockLookup, Path root, ResourceType resourceType, ResourceFinder resourceFinder, boolean snbt)
public (com.mojang.datafixers.DataFixer dataFixer, RegistryEntryLookup<Block> blockLookup, Path resourceDir, ResourceFinder resourceFinder, boolean snbt)

Method summary

Modifier and TypeMethod
public Optional<StructureTemplate>
load(Identifier id)
method_1_2074(class_2960 arg0)
load(Identifier arg0)
public Stream<Identifier>
list()
method_1_2073()
streamTemplates()
private void
lambda$list$0(Stream$Builder arg0, Identifier arg1, IoSupplier arg2)
method_1_2089(Stream$Builder arg0, class_2960 arg1, class_7367 arg2)
method_1_2089(Stream$Builder arg0, Identifier id, InputSupplier input)
private void
lambda$load$0(Identifier arg0, Throwable arg1)
method_1_2090(class_2960 arg0, Throwable arg1)
method_1_2090(Identifier arg0, Throwable ex)