Uses of Class
net.minecraft.world.level.levelgen.structure.pools.StructureTemplatePool
Package
Description
-
Uses of StructureTemplatePool in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionResourceKeyArgument.getStructureTemplatePool
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_252203_, String p_250407_) -
Uses of StructureTemplatePool in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<StructureTemplatePool>>
Registries.TEMPLATE_POOL
-
Uses of StructureTemplatePool in net.minecraft.data.worldgen
Modifier and TypeFieldDescriptionstatic final ResourceKey<StructureTemplatePool>
TrialChambersStructurePools.CHAMBER_CAP_FALLBACK
static final ResourceKey<StructureTemplatePool>
Pools.EMPTY
static final ResourceKey<StructureTemplatePool>
UpdateOneTwentyOnePools.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
Modifier and TypeMethodDescriptionstatic ResourceKey<StructureTemplatePool>
static ResourceKey<StructureTemplatePool>
Modifier and TypeMethodDescriptionstatic void
Pools.register
(BootstapContext<StructureTemplatePool> p_255823_, String p_255837_, StructureTemplatePool p_256161_) static void
UpdateOneTwentyOnePools.register
(BootstapContext<StructureTemplatePool> p_311779_, String p_312542_, StructureTemplatePool p_312302_) Modifier and TypeMethodDescriptionstatic void
AncientCityStructurePieces.bootstrap
(BootstapContext<StructureTemplatePool> p_255893_) static void
AncientCityStructurePools.bootstrap
(BootstapContext<StructureTemplatePool> p_255672_) static void
BastionBridgePools.bootstrap
(BootstapContext<StructureTemplatePool> p_255816_) static void
BastionHoglinStablePools.bootstrap
(BootstapContext<StructureTemplatePool> p_256582_) static void
BastionHousingUnitsPools.bootstrap
(BootstapContext<StructureTemplatePool> p_256423_) static void
BastionPieces.bootstrap
(BootstapContext<StructureTemplatePool> p_256429_) static void
BastionSharedPools.bootstrap
(BootstapContext<StructureTemplatePool> p_255917_) static void
BastionTreasureRoomPools.bootstrap
(BootstapContext<StructureTemplatePool> p_255689_) static void
DesertVillagePools.bootstrap
(BootstapContext<StructureTemplatePool> p_255787_) static void
PillagerOutpostPools.bootstrap
(BootstapContext<StructureTemplatePool> p_256545_) static void
PlainVillagePools.bootstrap
(BootstapContext<StructureTemplatePool> p_256646_) static void
Pools.bootstrap
(BootstapContext<StructureTemplatePool> p_255897_) static void
SavannaVillagePools.bootstrap
(BootstapContext<StructureTemplatePool> p_256198_) static void
SnowyVillagePools.bootstrap
(BootstapContext<StructureTemplatePool> p_256549_) static void
TaigaVillagePools.bootstrap
(BootstapContext<StructureTemplatePool> p_256442_) static void
TrailRuinsStructurePools.bootstrap
(BootstapContext<StructureTemplatePool> p_277535_) static void
TrialChambersStructurePools.bootstrap
(BootstapContext<StructureTemplatePool> p_312354_) static void
UpdateOneTwentyOnePools.bootstrap
(BootstapContext<StructureTemplatePool> p_311888_) static void
VillagePools.bootstrap
(BootstapContext<StructureTemplatePool> p_256339_) static void
Pools.register
(BootstapContext<StructureTemplatePool> p_255823_, String p_255837_, StructureTemplatePool p_256161_) static void
UpdateOneTwentyOnePools.register
(BootstapContext<StructureTemplatePool> p_311779_, String p_312542_, StructureTemplatePool p_312302_) -
Uses of StructureTemplatePool in net.minecraft.server.commands
Modifier and TypeMethodDescriptionstatic int
PlaceCommand.placeJigsaw
(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) -
Uses of StructureTemplatePool in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate ResourceKey<StructureTemplatePool>
JigsawBlockEntity.pool
Modifier and TypeMethodDescriptionvoid
JigsawBlockEntity.setPool
(ResourceKey<StructureTemplatePool> p_222764_) -
Uses of StructureTemplatePool in net.minecraft.world.level.levelgen.structure.pools
Modifier 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
Modifier and TypeMethodDescriptionStructureTemplatePool.getFallback()
private static ResourceKey<StructureTemplatePool>
JigsawPlacement.Placer.readPoolKey
(StructureTemplate.StructureBlockInfo p_307327_, PoolAliasLookup p_307490_) Modifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_, PoolAliasLookup p_307210_) static Optional<Structure.GenerationStub>
JigsawPlacement.addPieces
(Structure.GenerationContext p_227239_, Holder<StructureTemplatePool> p_227240_, Optional<ResourceLocation> p_227241_, int p_227242_, BlockPos p_227243_, boolean p_227244_, Optional<Heightmap.Types> p_227245_, int p_227246_, PoolAliasLookup p_307522_) static boolean
JigsawPlacement.generateJigsaw
(ServerLevel p_227204_, Holder<StructureTemplatePool> p_227205_, ResourceLocation p_227206_, int p_227207_, BlockPos p_227208_, boolean p_227209_) ModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) StructureTemplatePool
(Holder<StructureTemplatePool> p_255795_, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> p_256083_, StructureTemplatePool.Projection p_255642_) StructureTemplatePool
(Holder<StructureTemplatePool> p_255747_, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> p_255919_) -
Uses of StructureTemplatePool in net.minecraft.world.level.levelgen.structure.pools.alias
Modifier 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.Modifier 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> p_307512_) Direct.target()
Returns the value of thetarget
record component.Random.targets()
Returns the value of thetargets
record component.Modifier and TypeMethodDescriptionstatic Direct
PoolAliasBinding.direct
(ResourceKey<StructureTemplatePool> p_307379_, ResourceKey<StructureTemplatePool> p_307242_) void
Direct.forEachResolved
(RandomSource p_307630_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307574_) void
Direct.forEachResolved
(RandomSource p_307630_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307574_) void
PoolAliasBinding.forEachResolved
(RandomSource p_307322_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307269_) void
PoolAliasBinding.forEachResolved
(RandomSource p_307322_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307269_) void
Random.forEachResolved
(RandomSource p_307661_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307635_) void
Random.forEachResolved
(RandomSource p_307661_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307635_) void
RandomGroup.forEachResolved
(RandomSource p_307472_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307324_) void
RandomGroup.forEachResolved
(RandomSource p_307472_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307324_) PoolAliasLookup.lookup
(ResourceKey<StructureTemplatePool> p_307512_) static Random
PoolAliasBinding.random
(ResourceKey<StructureTemplatePool> p_307260_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_307665_) static Random
PoolAliasBinding.random
(ResourceKey<StructureTemplatePool> p_307260_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_307665_) static void
PoolAliasBindings.registerTargetsAsPools
(BootstapContext<StructureTemplatePool> p_312828_, Holder<StructureTemplatePool> p_312865_, List<PoolAliasBinding> p_311809_) static void
PoolAliasBindings.registerTargetsAsPools
(BootstapContext<StructureTemplatePool> p_312828_, Holder<StructureTemplatePool> p_312865_, List<PoolAliasBinding> p_311809_) ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionprivate final Holder<StructureTemplatePool>
JigsawStructure.startPool
ModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227614_, Holder<StructureTemplatePool> p_227615_, int p_227616_, HeightProvider p_227617_, boolean p_227618_) JigsawStructure
(Structure.StructureSettings p_227620_, Holder<StructureTemplatePool> p_227621_, int p_227622_, HeightProvider p_227623_, boolean p_227624_, Heightmap.Types p_227625_) JigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_, List<PoolAliasBinding> p_307354_)