Class RuinedPortalFeature
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<StructureFeature<?>>
net.minecraft.world.level.levelgen.feature.StructureFeature<RuinedPortalConfiguration>
net.minecraft.world.level.levelgen.feature.RuinedPortalFeature
- All Implemented Interfaces:
IForgeStructureFeature,IForgeRegistryEntry<StructureFeature<?>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested 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
FieldsModifier and TypeFieldDescriptionprivate static floatprivate static intprivate static floatprivate static floatprivate static float(package private) static String[](package private) static String[]private static floatprivate static floatFields 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_MANSIONFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
ConstructorsConstructorDescriptionRuinedPortalFeature(com.mojang.serialization.Codec<RuinedPortalConfiguration> p_66668_) -
Method Summary
Modifier and TypeMethodDescription(package private) static intfindSuitableY(Random p_160272_, ChunkGenerator p_160273_, RuinedPortalPiece.VerticalPlacement p_160274_, boolean p_160275_, int p_160276_, int p_160277_, BoundingBox p_160278_, LevelHeightAccessor p_160279_)private static intgetRandomWithinInterval(Random p_66692_, int p_66693_, int p_66694_)(package private) static booleanMethods inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
bootstrap, configured, configuredStructureCodec, generate, getFeatureName, getNearestGeneratedFeature, getPotentialFeatureChunk, getSpawnList, getSpecialAnimals, getSpecialEnemies, getSpecialUndergroundWaterAnimals, isFeatureChunk, linearSeparation, loadStaticStart, stepMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeStructureFeature
getDefaultCreatureSpawnList, getDefaultRestrictsSpawnsToInside, getDefaultSpawnList, getDefaultSpawnList
-
Field Details
-
STRUCTURE_LOCATION_PORTALS
-
STRUCTURE_LOCATION_GIANT_PORTALS
-
PROBABILITY_OF_GIANT_PORTAL
private static final float PROBABILITY_OF_GIANT_PORTAL- See Also:
- Constant Field Values
-
PROBABILITY_OF_AIR_POCKET
private static final float PROBABILITY_OF_AIR_POCKET- See Also:
- Constant Field Values
-
PROBABILITY_OF_UNDERGROUND
private static final float PROBABILITY_OF_UNDERGROUND- See Also:
- Constant Field Values
-
UNDERWATER_MOSSINESS
private static final float UNDERWATER_MOSSINESS- See Also:
- Constant Field Values
-
JUNGLE_MOSSINESS
private static final float JUNGLE_MOSSINESS- See Also:
- Constant Field Values
-
SWAMP_MOSSINESS
private static final float SWAMP_MOSSINESS- See Also:
- Constant Field Values
-
MIN_Y
private static final int MIN_Y- See Also:
- Constant Field Values
-
-
Constructor Details
-
RuinedPortalFeature
-
-
Method Details
-
getStartFactory
- Specified by:
getStartFactoryin classStructureFeature<RuinedPortalConfiguration>
-
isCold
-
findSuitableY
static int findSuitableY(Random p_160272_, ChunkGenerator p_160273_, RuinedPortalPiece.VerticalPlacement p_160274_, boolean p_160275_, int p_160276_, int p_160277_, BoundingBox p_160278_, LevelHeightAccessor p_160279_) -
getRandomWithinInterval
-