Uses of Class
net.minecraft.world.level.levelgen.structure.pools.StructureTemplatePool
Packages that use StructureTemplatePool
Package
Description
-
Uses of StructureTemplatePool in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return types with arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionResourceKeyArgument.getStructureTemplatePool
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) -
Uses of StructureTemplatePool in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type StructureTemplatePoolModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<StructureTemplatePool>> Registries.TEMPLATE_POOL
-
Uses of StructureTemplatePool in net.minecraft.data.worldgen
Fields in net.minecraft.data.worldgen with type parameters of type StructureTemplatePoolModifier and TypeFieldDescriptionstatic final ResourceKey
<StructureTemplatePool> TrialChambersStructurePools.CHAMBER_CAP_FALLBACK
static final ResourceKey
<StructureTemplatePool> Pools.EMPTY
static final ResourceKey
<StructureTemplatePool> TrialChambersStructurePools.HALLWAY_FALLBACK
static final ResourceKey
<StructureTemplatePool> AncientCityStructurePieces.START
static final ResourceKey
<StructureTemplatePool> BastionPieces.START
static final ResourceKey
<StructureTemplatePool> DesertVillagePools.START
static final ResourceKey
<StructureTemplatePool> PillagerOutpostPools.START
static final ResourceKey
<StructureTemplatePool> PlainVillagePools.START
static final ResourceKey
<StructureTemplatePool> SavannaVillagePools.START
static final ResourceKey
<StructureTemplatePool> SnowyVillagePools.START
static final ResourceKey
<StructureTemplatePool> TaigaVillagePools.START
static final ResourceKey
<StructureTemplatePool> TrailRuinsStructurePools.START
static final ResourceKey
<StructureTemplatePool> TrialChambersStructurePools.START
private static final ResourceKey
<StructureTemplatePool> DesertVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> PlainVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> SavannaVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> SnowyVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> TaigaVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> DesertVillagePools.ZOMBIE_TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> SavannaVillagePools.ZOMBIE_TERMINATORS_KEY
Methods in net.minecraft.data.worldgen that return types with arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionstatic ResourceKey
<StructureTemplatePool> static ResourceKey
<StructureTemplatePool> Methods in net.minecraft.data.worldgen with parameters of type StructureTemplatePoolModifier and TypeMethodDescriptionstatic void
Pools.register
(BootstrapContext<StructureTemplatePool> context, String name, StructureTemplatePool pool) Method parameters in net.minecraft.data.worldgen with type arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionstatic void
AncientCityStructurePieces.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
AncientCityStructurePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
BastionBridgePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
BastionHoglinStablePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
BastionHousingUnitsPools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
BastionPieces.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
BastionSharedPools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
BastionTreasureRoomPools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
DesertVillagePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
PillagerOutpostPools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
PlainVillagePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
Pools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
SavannaVillagePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
SnowyVillagePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
TaigaVillagePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
TrailRuinsStructurePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
TrialChambersStructurePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
VillagePools.bootstrap
(BootstrapContext<StructureTemplatePool> context) static void
Pools.register
(BootstrapContext<StructureTemplatePool> context, String name, StructureTemplatePool pool) -
Uses of StructureTemplatePool in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionstatic int
PlaceCommand.placeJigsaw
(CommandSourceStack source, Holder<StructureTemplatePool> templatePool, ResourceLocation target, int maxDepth, BlockPos pos) -
Uses of StructureTemplatePool in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity with type parameters of type StructureTemplatePoolModifier and TypeFieldDescriptionprivate ResourceKey
<StructureTemplatePool> JigsawBlockEntity.pool
Methods in net.minecraft.world.level.block.entity that return types with arguments of type StructureTemplatePoolMethod parameters in net.minecraft.world.level.block.entity with type arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionvoid
JigsawBlockEntity.setPool
(ResourceKey<StructureTemplatePool> pool) -
Uses of StructureTemplatePool in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type StructureTemplatePoolModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<StructureTemplatePool>> StructureTemplatePool.CODEC
private static final org.apache.commons.lang3.mutable.MutableObject
<com.mojang.serialization.Codec<Holder<StructureTemplatePool>>> StructureTemplatePool.CODEC_REFERENCE
static final com.mojang.serialization.Codec
<StructureTemplatePool> StructureTemplatePool.DIRECT_CODEC
private final Holder
<StructureTemplatePool> StructureTemplatePool.fallback
private final Registry
<StructureTemplatePool> JigsawPlacement.Placer.pools
Methods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionStructureTemplatePool.getFallback()
private static ResourceKey
<StructureTemplatePool> JigsawPlacement.Placer.readPoolKey
(StructureTemplate.StructureBlockInfo blockInfo, PoolAliasLookup aliasLookup) Method parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState randomState, int maxDepth, boolean useExpansionHack, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, LevelHeightAccessor level, RandomSource random, Registry<StructureTemplatePool> pools, PoolElementStructurePiece startPiece, List<PoolElementStructurePiece> pieces, VoxelShape free, PoolAliasLookup aliasLookup, LiquidSettings liquidSettings) static Optional
<Structure.GenerationStub> JigsawPlacement.addPieces
(Structure.GenerationContext context, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, PoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) static boolean
JigsawPlacement.generateJigsaw
(ServerLevel level, Holder<StructureTemplatePool> startPool, ResourceLocation startJigsawName, int maxDepth, BlockPos pos, boolean keepJigsaws) Constructor parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type StructureTemplatePoolModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> pools, int maxDepth, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolElementStructurePiece> pieces, RandomSource random) StructureTemplatePool
(Holder<StructureTemplatePool> fallback, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> rawTemplateFactories, StructureTemplatePool.Projection projection) StructureTemplatePool
(Holder<StructureTemplatePool> fallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> rawTemplates) -
Uses of StructureTemplatePool in net.minecraft.world.level.levelgen.structure.pools.alias
Fields in net.minecraft.world.level.levelgen.structure.pools.alias with type parameters of type StructureTemplatePoolModifier and TypeFieldDescriptionprivate final ResourceKey
<StructureTemplatePool> Direct.alias
The field for thealias
record component.private final ResourceKey
<StructureTemplatePool> Random.alias
The field for thealias
record component.private final ResourceKey
<StructureTemplatePool> Direct.target
The field for thetarget
record component.private final SimpleWeightedRandomList
<ResourceKey<StructureTemplatePool>> Random.targets
The field for thetargets
record component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias that return types with arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionDirect.alias()
Returns the value of thealias
record component.Random.alias()
Returns the value of thealias
record component.Direct.allTargets()
PoolAliasBinding.allTargets()
Random.allTargets()
RandomGroup.allTargets()
PoolAliasLookup.lookup
(ResourceKey<StructureTemplatePool> poolKey) Direct.target()
Returns the value of thetarget
record component.Random.targets()
Returns the value of thetargets
record component.Method parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type StructureTemplatePoolModifier and TypeMethodDescriptionstatic Direct
PoolAliasBinding.direct
(ResourceKey<StructureTemplatePool> alias, ResourceKey<StructureTemplatePool> target) void
Direct.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
Direct.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
PoolAliasBinding.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
PoolAliasBinding.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
Random.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
Random.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
RandomGroup.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) void
RandomGroup.forEachResolved
(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) PoolAliasLookup.lookup
(ResourceKey<StructureTemplatePool> poolKey) static Random
PoolAliasBinding.random
(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) static Random
PoolAliasBinding.random
(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) static void
PoolAliasBindings.registerTargetsAsPools
(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> pool, List<PoolAliasBinding> poolAliasBindings) static void
PoolAliasBindings.registerTargetsAsPools
(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> pool, List<PoolAliasBinding> poolAliasBindings) Constructor parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type StructureTemplatePoolModifierConstructorDescription(package private)
Direct
(ResourceKey<StructureTemplatePool> alias, ResourceKey<StructureTemplatePool> target) Creates an instance of aDirect
record class.(package private)
Random
(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandom
record class.(package private)
Random
(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandom
record class. -
Uses of StructureTemplatePool in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type StructureTemplatePoolModifier and TypeFieldDescriptionprivate final Holder
<StructureTemplatePool> JigsawStructure.startPool
Constructor parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type StructureTemplatePoolModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, int maxDepth, HeightProvider startHeight, boolean useExpansionHack) JigsawStructure
(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, int maxDepth, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Types projectStartToHeightmap) JigsawStructure
(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, Optional<ResourceLocation> startJigsawName, int maxDepth, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, int maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings)