Class EndCityFeature
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<StructureFeature<?>>
net.minecraft.world.level.levelgen.feature.StructureFeature<NoneFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.EndCityFeature
- All Implemented Interfaces:
IForgeStructureFeature
,IForgeRegistryEntry<StructureFeature<?>>
-
Nested Class Summary
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.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
ConstructorDescriptionEndCityFeature(com.mojang.serialization.Codec<NoneFeatureConfiguration> p_65627_)
-
Method Summary
Modifier and TypeMethodDescription(package private) static int
getYPositionForFeature(ChunkPos p_159670_, ChunkGenerator p_159671_, LevelHeightAccessor p_159672_)
protected boolean
isFeatureChunk(ChunkGenerator p_159684_, BiomeSource p_159685_, long p_159686_, WorldgenRandom p_159687_, ChunkPos p_159688_, Biome p_159689_, ChunkPos p_159690_, NoneFeatureConfiguration p_159691_, LevelHeightAccessor p_159692_)
protected boolean
Methods inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
bootstrap, configured, configuredStructureCodec, generate, getFeatureName, getNearestGeneratedFeature, getPotentialFeatureChunk, getSpawnList, getSpecialAnimals, getSpecialEnemies, getSpecialUndergroundWaterAnimals, 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, getDefaultSpawnList
-
Field Details
-
RANDOM_SALT
private static final int RANDOM_SALT- See Also:
- Constant Field Values
-
-
Constructor Details
-
EndCityFeature
-
-
Method Details
-
linearSeparation
protected boolean linearSeparation()- Overrides:
linearSeparation
in classStructureFeature<NoneFeatureConfiguration>
-
isFeatureChunk
protected boolean isFeatureChunk(ChunkGenerator p_159684_, BiomeSource p_159685_, long p_159686_, WorldgenRandom p_159687_, ChunkPos p_159688_, Biome p_159689_, ChunkPos p_159690_, NoneFeatureConfiguration p_159691_, LevelHeightAccessor p_159692_)- Overrides:
isFeatureChunk
in classStructureFeature<NoneFeatureConfiguration>
-
getStartFactory
- Specified by:
getStartFactory
in classStructureFeature<NoneFeatureConfiguration>
-
getYPositionForFeature
static int getYPositionForFeature(ChunkPos p_159670_, ChunkGenerator p_159671_, LevelHeightAccessor p_159672_)
-