net.minecraft.world.level.levelgen.structure.templatesystem

public class StructureManager

implements ResourceManagerReloadListener

cmo
net.minecraft.world.level.levelgen.structure.templatesystem.StructureManager
net.minecraft.class_3485
net.minecraft.structure.StructureManager
net.minecraft.world.gen.feature.template.TemplateManager
net.minecraft.server.v1_15_R1.DefinedStructureManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_15514
LOGGER
field_195431_a
private final Map<ResourceLocation, StructureTemplate>
b
structureRepository
field_15513
structures
field_186240_a
private final com.mojang.datafixers.DataFixer
c
fixerUpper
field_15515
dataFixer
field_191154_c
private final MinecraftServer
d
server
field_15516
server
field_195432_d
private final Path
e
generatedDir
field_15512
generatedPath
field_195433_e

Constructor summary

ModifierConstructor
public (MinecraftServer server, File worldDir, com.mojang.datafixers.DataFixer dataFixer)

Method summary

Modifier and TypeMethod
public StructureTemplate
a(sm arg0)
getOrCreate(ResourceLocation arg0)
method_15091(class_2960 arg0)
getStructureOrBlank(Identifier id)
func_200220_a(ResourceLocation arg0)
public StructureTemplate
b(sm arg0)
get(ResourceLocation arg0)
method_15094(class_2960 arg0)
getStructure(Identifier identifier)
func_200219_b(ResourceLocation arg0)
public void
a(zb arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
apply(ResourceManager arg0)
func_195410_a(IResourceManager arg0)
private StructureTemplate
e(sm arg0)
loadFromResource(ResourceLocation arg0)
method_15088(class_2960 arg0)
loadStructureFromResource(Identifier id)
func_209201_e(ResourceLocation arg0)
private StructureTemplate
f(sm arg0)
loadFromGenerated(ResourceLocation arg0)
method_15092(class_2960 arg0)
loadStructureFromFile(Identifier id)
func_195428_d(ResourceLocation arg0)
private StructureTemplate
a(InputStream arg0)
readStructure(InputStream arg0)
method_15090(InputStream arg0)
readStructure(InputStream structureInputStream)
func_209205_a(InputStream arg0)
public StructureTemplate
a(jt arg0)
readStructure(CompoundTag arg0)
method_21891(class_2487 arg0)
createStructure(CompoundTag tag)
func_227458_a_(CompoundNBT arg0)
public boolean
c(sm arg0)
save(ResourceLocation arg0)
method_15093(class_2960 arg0)
saveStructure(Identifier id)
func_195429_b(ResourceLocation arg0)
public Path
a(sm arg0, String arg1)
createPathToStructure(ResourceLocation arg0, String arg1)
method_15085(class_2960 arg0, String arg1)
getStructurePath(Identifier id, String extension)
func_209509_a(ResourceLocation arg0, String arg1)
private Path
b(sm arg0, String arg1)
createAndValidatePathToStructure(ResourceLocation arg0, String arg1)
method_15086(class_2960 arg0, String arg1)
getAndCheckStructurePath(Identifier id, String extension)
func_209510_b(ResourceLocation arg0, String arg1)
public void
d(sm arg0)
remove(ResourceLocation arg0)
method_15087(class_2960 arg0)
unloadStructure(Identifier id)
func_189941_a(ResourceLocation arg0)