public class PillagerOutpostFeature extends JigsawFeature
JigsawFeature.Start
StructureFeature.StructureStartFactory<C extends FeatureConfig>
Modifier and Type | Field and Description |
---|---|
private static List<SpawnSettings.SpawnEntry> |
MONSTER_SPAWNS |
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 and Description |
---|
PillagerOutpostFeature(com.mojang.serialization.Codec<StructurePoolFeatureConfig> codec) |
Modifier and Type | Method and 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 via
StructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.ChunkRandom, int, int) . |
getStructureStartFactory
configure, getCodec, getCreatureSpawns, getGenerationStep, getName, getStartChunk, isUniformDistribution, locateStructure, method_28664, readStructureStart, tryPlaceStart
private static final List<SpawnSettings.SpawnEntry> MONSTER_SPAWNS
public PillagerOutpostFeature(com.mojang.serialization.Codec<StructurePoolFeatureConfig> codec)
public List<SpawnSettings.SpawnEntry> getMonsterSpawns()
getMonsterSpawns
in class StructureFeature<StructurePoolFeatureConfig>
protected boolean shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, int int2, int int3, Biome biome, ChunkPos chunkPos, StructurePoolFeatureConfig structurePoolFeatureConfig)
StructureFeature
StructureFeature.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.shouldStartAt
in class StructureFeature<StructurePoolFeatureConfig>
private boolean method_30845(ChunkGenerator chunkGenerator, long long2, ChunkRandom chunkRandom, int int2, int int3)