Class BuriedTreasureFeature
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<StructureFeature<?>>
net.minecraft.world.level.levelgen.feature.StructureFeature<ProbabilityFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.BuriedTreasureFeature
- 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
ConstructorDescriptionBuriedTreasureFeature(com.mojang.serialization.Codec<ProbabilityFeatureConfiguration> p_65313_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isFeatureChunk(ChunkGenerator p_159490_, BiomeSource p_159491_, long p_159492_, WorldgenRandom p_159493_, ChunkPos p_159494_, Biome p_159495_, ChunkPos p_159496_, ProbabilityFeatureConfiguration p_159497_, LevelHeightAccessor p_159498_)
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, getDefaultSpawnList
-
Field Details
-
RANDOM_SALT
private static final int RANDOM_SALT- See Also:
- Constant Field Values
-
-
Constructor Details
-
BuriedTreasureFeature
public BuriedTreasureFeature(com.mojang.serialization.Codec<ProbabilityFeatureConfiguration> p_65313_)
-
-
Method Details
-
isFeatureChunk
protected boolean isFeatureChunk(ChunkGenerator p_159490_, BiomeSource p_159491_, long p_159492_, WorldgenRandom p_159493_, ChunkPos p_159494_, Biome p_159495_, ChunkPos p_159496_, ProbabilityFeatureConfiguration p_159497_, LevelHeightAccessor p_159498_)- Overrides:
isFeatureChunk
in classStructureFeature<ProbabilityFeatureConfiguration>
-
getStartFactory
- Specified by:
getStartFactory
in classStructureFeature<ProbabilityFeatureConfiguration>
-