Uses of Class
net.minecraft.world.gen.feature.template.Template
Package
Description
-
Uses of Template in net.minecraft.test
Modifier and TypeMethodDescriptionprivate static Template
StructureHelper.getStructureTemplate
(String p_229605_0_, ServerWorld p_229605_1_) -
Uses of Template in net.minecraft.tileentity
Modifier and TypeMethodDescriptionboolean
StructureBlockTileEntity.loadStructure
(ServerWorld p_242689_1_, boolean p_242689_2_, Template p_242689_3_) -
Uses of Template in net.minecraft.world.gen.feature.jigsaw
Modifier and TypeFieldDescriptionprotected final com.mojang.datafixers.util.Either<ResourceLocation,
Template> SingleJigsawPiece.template
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ResourceLocation,
Template>> SingleJigsawPiece.TEMPLATE_CODEC
Modifier and TypeMethodDescriptionprivate Template
SingleJigsawPiece.getTemplate
(TemplateManager p_236843_1_) Modifier and TypeMethodDescriptionprotected static <E extends SingleJigsawPiece>
com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<ResourceLocation, Template>> SingleJigsawPiece.templateCodec()
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.DataResult<T>
SingleJigsawPiece.encodeTemplate
(com.mojang.datafixers.util.Either<ResourceLocation, Template> p_236840_0_, com.mojang.serialization.DynamicOps<T> p_236840_1_, T p_236840_2_) ModifierConstructorDescriptionprotected
LegacySingleJigsawPiece
(com.mojang.datafixers.util.Either<ResourceLocation, Template> p_i242007_1_, Supplier<StructureProcessorList> p_i242007_2_, JigsawPattern.PlacementBehaviour p_i242007_3_) protected
SingleJigsawPiece
(com.mojang.datafixers.util.Either<ResourceLocation, Template> p_i242008_1_, Supplier<StructureProcessorList> p_i242008_2_, JigsawPattern.PlacementBehaviour p_i242008_3_) -
Uses of Template in net.minecraft.world.gen.feature.structure
Modifier and TypeMethodDescriptionprivate void
RuinedPortalPiece.loadTemplate
(Template p_237014_1_, BlockPos p_237014_2_) protected void
TemplateStructurePiece.setup
(Template p_186173_1_, BlockPos p_186173_2_, PlacementSettings p_186173_3_) ModifierConstructorDescriptionRuinedPortalPiece
(BlockPos p_i232111_1_, RuinedPortalPiece.Location p_i232111_2_, RuinedPortalPiece.Serializer p_i232111_3_, ResourceLocation p_i232111_4_, Template p_i232111_5_, Rotation p_i232111_6_, Mirror p_i232111_7_, BlockPos p_i232111_8_) -
Uses of Template in net.minecraft.world.gen.feature.template
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Template> TemplateManager.structureRepository
Modifier and TypeMethodDescriptionTemplateManager.get
(ResourceLocation p_200219_1_) TemplateManager.getOrCreate
(ResourceLocation p_200220_1_) private Template
TemplateManager.loadFromGenerated
(ResourceLocation p_195428_1_) private Template
TemplateManager.loadFromResource
(ResourceLocation p_209201_1_) private Template
TemplateManager.readStructure
(InputStream p_209205_1_) TemplateManager.readStructure
(CompoundNBT p_227458_1_) Modifier and TypeMethodDescriptionStructureProcessor.process
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_, Template template) static List<Template.BlockInfo>
Template.processBlockInfos
(IWorld p_237145_0_, BlockPos p_237145_1_, BlockPos p_237145_2_, PlacementSettings p_237145_3_, List<Template.BlockInfo> p_237145_4_, Template template) StructureProcessor.processEntity
(IWorldReader world, BlockPos seedPos, Template.EntityInfo rawEntityInfo, Template.EntityInfo entityInfo, PlacementSettings placementSettings, Template template) FORGE: Add entity processing.static List<Template.EntityInfo>
Template.processEntityInfos
(Template template, IWorld p_215387_0_, BlockPos p_215387_1_, PlacementSettings p_215387_2_, List<Template.EntityInfo> p_215387_3_)