Package net.minecraft.world.gen.feature
Class PillagerOutpostFeature
java.lang.Object
net.minecraft.world.gen.feature.StructureFeature<StructurePoolFeatureConfig>
net.minecraft.world.gen.feature.JigsawFeature
net.minecraft.world.gen.feature.PillagerOutpostFeature
public class PillagerOutpostFeature extends JigsawFeature
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.JigsawFeature
JigsawFeature.Start
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.StructureFeature
StructureFeature.StructureStartFactory<C extends FeatureConfig>
-
Field Summary
Fields Modifier and Type Field Description private static List<SpawnSettings.SpawnEntry>
MONSTER_SPAWNS
Fields inherited from class net.minecraft.world.gen.feature.StructureFeature
BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, END_CITY, FORTRESS, IGLOO, JIGSAW_STRUCTURES, JUNGLE_PYRAMID, MANSION, MINESHAFT, MONUMENT, NETHER_FOSSIL, OCEAN_RUIN, PILLAGER_OUTPOST, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, STRUCTURES, SWAMP_HUT, VILLAGE
-
Constructor Summary
Constructors Constructor Description PillagerOutpostFeature(com.mojang.serialization.Codec<StructurePoolFeatureConfig> codec)
-
Method Summary
Modifier and Type Method Description List<SpawnSettings.SpawnEntry>
getMonsterSpawns()
private boolean
method_30845(ChunkGenerator chunkGenerator, long long2, ChunkRandom chunkRandom, int int2, int int3)
protected boolean
shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, int int2, int int3, Biome biome, ChunkPos chunkPos, StructurePoolFeatureConfig structurePoolFeatureConfig)
Checks if this structure can actually be placed at a potential structure position determined viaStructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.ChunkRandom, int, int)
.Methods inherited from class net.minecraft.world.gen.feature.JigsawFeature
getStructureStartFactory
Methods inherited from class net.minecraft.world.gen.feature.StructureFeature
configure, getCodec, getCreatureSpawns, getGenerationStep, getName, getStartChunk, isUniformDistribution, locateStructure, method_28664, readStructureStart, tryPlaceStart
-
Field Details
-
MONSTER_SPAWNS
-
-
Constructor Details
-
PillagerOutpostFeature
-
-
Method Details
-
getMonsterSpawns
- Overrides:
getMonsterSpawns
in classStructureFeature<StructurePoolFeatureConfig>
-
shouldStartAt
protected boolean shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, int int2, int int3, Biome biome, ChunkPos chunkPos, StructurePoolFeatureConfig structurePoolFeatureConfig)Description copied from class:StructureFeature
Checks if this structure can actually be placed at a potential structure position determined viaStructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.ChunkRandom, int, int)
. Specific structures override this method to reduce the spawn probability or restrict the spawn in some other way.- Overrides:
shouldStartAt
in classStructureFeature<StructurePoolFeatureConfig>
-
method_30845
private boolean method_30845(ChunkGenerator chunkGenerator, long long2, ChunkRandom chunkRandom, int int2, int int3)
-