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:
IForgeRegistryEntry<StructureFeature<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final int
private static final float
private static final float
private static final float
private static final String[]
private static final String[]
private static final float
private static final float
Fields inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, END_CITY, FORTRESS, IGLOO, JUNGLE_TEMPLE, MAX_STRUCTURE_RANGE, MINESHAFT, NETHER_FOSSIL, OCEAN_MONUMENT, OCEAN_RUIN, PILLAGER_OUTPOST, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, 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 TypeMethodDescriptionprivate 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_) private static boolean
private static Optional<PieceGenerator<RuinedPortalConfiguration>>
Methods inherited from class net.minecraft.world.level.levelgen.feature.StructureFeature
bootstrap, canGenerate, configured, configured, configured, configured, configuredStructureCodec, getLocatePos, getPostPlacementProcessor, loadStaticStart, pieceGeneratorSupplier, step
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
STRUCTURE_LOCATION_PORTALS
-
STRUCTURE_LOCATION_GIANT_PORTALS
-
PROBABILITY_OF_GIANT_PORTAL
private static final float PROBABILITY_OF_GIANT_PORTAL- See Also:
-
PROBABILITY_OF_AIR_POCKET
private static final float PROBABILITY_OF_AIR_POCKET- See Also:
-
PROBABILITY_OF_UNDERGROUND
private static final float PROBABILITY_OF_UNDERGROUND- See Also:
-
UNDERWATER_MOSSINESS
private static final float UNDERWATER_MOSSINESS- See Also:
-
JUNGLE_MOSSINESS
private static final float JUNGLE_MOSSINESS- See Also:
-
SWAMP_MOSSINESS
private static final float SWAMP_MOSSINESS- See Also:
-
MIN_Y_INDEX
private static final int MIN_Y_INDEX- See Also:
-
-
Constructor Details
-
RuinedPortalFeature
-
-
Method Details
-
pieceGeneratorSupplier
private static Optional<PieceGenerator<RuinedPortalConfiguration>> pieceGeneratorSupplier(PieceGeneratorSupplier.Context<RuinedPortalConfiguration> p_197153_) -
isCold
-
findSuitableY
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_) -
getRandomWithinInterval
-