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
Modifier and TypeClassDescriptionstatic class
static class
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
Modifier and TypeFieldDescriptionprivate static float
private static int
private static float
private static float
private static float
(package private) static String[]
(package private) static String[]
private static float
private static float
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
ConstructorDescriptionRuinedPortalFeature(com.mojang.serialization.Codec<RuinedPortalConfiguration> p_66668_)
-
Method Summary
Modifier and TypeMethodDescription(package private) 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_)
private static int
getRandomWithinInterval(Random p_66692_, int p_66693_, int p_66694_)
(package private) static boolean
Methods inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
bootstrap, configured, configuredStructureCodec, generate, getFeatureName, getNearestGeneratedFeature, getPotentialFeatureChunk, getSpawnList, getSpecialAnimals, getSpecialEnemies, getSpecialUndergroundWaterAnimals, isFeatureChunk, 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
-
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:
getStartFactory
in 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
-