Class PillagerOutpostFeature
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<StructureFeature<?>>
net.minecraft.world.level.levelgen.feature.StructureFeature<JigsawConfiguration>
net.minecraft.world.level.levelgen.feature.JigsawFeature
net.minecraft.world.level.levelgen.feature.PillagerOutpostFeature
- All Implemented Interfaces:
IForgeStructureFeature
,IForgeRegistryEntry<StructureFeature<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.JigsawFeature
JigsawFeature.FeatureStart
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
StructureFeature.StructureStartFactory<C extends FeatureConfiguration>
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.feature.JigsawFeature
doExpansionHack, projectStartToHeightmap, startY
Fields inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, END_CITY, IGLOO, JUNGLE_TEMPLE, MAX_STRUCTURE_RANGE, MINESHAFT, NETHER_BRIDGE, NETHER_FOSSIL, NOISE_AFFECTING_FEATURES, OCEAN_MONUMENT, OCEAN_RUIN, PILLAGER_OUTPOST, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, STRUCTURES_REGISTRY, SWAMP_HUT, VILLAGE, WOODLAND_MANSION
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionPillagerOutpostFeature(com.mojang.serialization.Codec<JigsawConfiguration> p_66562_)
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultSpawnList(MobCategory category)
Gets the default list of spawns for this structure, of the specified category.protected boolean
isFeatureChunk(ChunkGenerator p_160197_, BiomeSource p_160198_, long p_160199_, WorldgenRandom p_160200_, ChunkPos p_160201_, Biome p_160202_, ChunkPos p_160203_, JigsawConfiguration p_160204_, LevelHeightAccessor p_160205_)
private boolean
isNearVillage(ChunkGenerator p_160182_, long p_160183_, WorldgenRandom p_160184_, ChunkPos p_160185_)
Methods inherited from class net.minecraft.world.level.levelgen.feature.JigsawFeature
getStartFactory
Methods inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
bootstrap, configured, configuredStructureCodec, generate, getFeatureName, getNearestGeneratedFeature, getPotentialFeatureChunk, getSpawnList, getSpecialAnimals, getSpecialEnemies, getSpecialUndergroundWaterAnimals, linearSeparation, loadStaticStart, step
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgeStructureFeature
getDefaultCreatureSpawnList, getDefaultRestrictsSpawnsToInside, getDefaultSpawnList
-
Field Details
-
OUTPOST_ENEMIES
-
-
Constructor Details
-
PillagerOutpostFeature
-
-
Method Details
-
getDefaultSpawnList
Description copied from interface:IForgeStructureFeature
Gets the default list of spawns for this structure, of the specified category. -
isFeatureChunk
protected boolean isFeatureChunk(ChunkGenerator p_160197_, BiomeSource p_160198_, long p_160199_, WorldgenRandom p_160200_, ChunkPos p_160201_, Biome p_160202_, ChunkPos p_160203_, JigsawConfiguration p_160204_, LevelHeightAccessor p_160205_)- Overrides:
isFeatureChunk
in classStructureFeature<JigsawConfiguration>
-
isNearVillage
private boolean isNearVillage(ChunkGenerator p_160182_, long p_160183_, WorldgenRandom p_160184_, ChunkPos p_160185_)
-