Uses of Class
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate
Package
Description
-
Uses of StructureTemplate in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionprivate static StructureTemplate
StructureUtils.getStructureTemplate(String p_127881_, ServerLevel p_127882_)
-
Uses of StructureTemplate in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionboolean
StructureBlockEntity.loadStructure(ServerLevel p_59848_, boolean p_59849_, StructureTemplate p_59850_)
-
Uses of StructureTemplate in net.minecraft.world.level.levelgen.feature.structures
Modifier and TypeFieldDescriptionprotected com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate>
SinglePoolElement.template
private static com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate>>
SinglePoolElement.TEMPLATE_CODEC
Modifier and TypeMethodDescriptionprivate StructureTemplate
SinglePoolElement.getTemplate(StructureManager p_69120_)
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate>>SinglePoolElement.templateCodec()
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.DataResult<T>
SinglePoolElement.encodeTemplate(com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate> p_69114_, com.mojang.serialization.DynamicOps<T> p_69115_, T p_69116_)
ModifierConstructorDescriptionprotected
LegacySinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate> p_69046_, Supplier<StructureProcessorList> p_69047_, StructureTemplatePool.Projection p_69048_)
protected
SinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation,StructureTemplate> p_69102_, Supplier<StructureProcessorList> p_69103_, StructureTemplatePool.Projection p_69104_)
-
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure
ModifierConstructorDescriptionRuinedPortalPiece(StructureManager p_163138_, BlockPos p_163139_, RuinedPortalPiece.VerticalPlacement p_163140_, RuinedPortalPiece.Properties p_163141_, ResourceLocation p_163142_, StructureTemplate p_163143_, Rotation p_163144_, Mirror p_163145_, BlockPos p_163146_)
-
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,Optional<StructureTemplate>>
StructureManager.structureRepository
Modifier and TypeMethodDescriptionStructureManager.getOrCreate(ResourceLocation p_74342_)
private StructureTemplate
StructureManager.readStructure(InputStream p_74338_)
StructureManager.readStructure(CompoundTag p_74340_)
Modifier and TypeMethodDescriptionStructureManager.get(ResourceLocation p_163775_)
private Optional<StructureTemplate>
StructureManager.loadFromGenerated(ResourceLocation p_163779_)
private Optional<StructureTemplate>
StructureManager.loadFromResource(ResourceLocation p_163777_)
Modifier and TypeMethodDescriptionStructureProcessor.process(LevelReader p_74140_, BlockPos p_74141_, BlockPos p_74142_, StructureTemplate.StructureBlockInfo p_74143_, StructureTemplate.StructureBlockInfo p_74144_, StructurePlaceSettings p_74145_, StructureTemplate template)
StructureTemplate.processBlockInfos(LevelAccessor p_74518_, BlockPos p_74519_, BlockPos p_74520_, StructurePlaceSettings p_74521_, List<StructureTemplate.StructureBlockInfo> p_74522_, StructureTemplate template)
StructureProcessor.processEntity(LevelReader world, BlockPos seedPos, StructureTemplate.StructureEntityInfo rawEntityInfo, StructureTemplate.StructureEntityInfo entityInfo, StructurePlaceSettings placementSettings, StructureTemplate template)
FORGE: Add entity processing.StructureTemplate.processEntityInfos(StructureTemplate template, LevelAccessor p_215387_0_, BlockPos p_215387_1_, StructurePlaceSettings p_215387_2_, List<StructureTemplate.StructureEntityInfo> p_215387_3_)