Package net.minecraft.world.gen.feature
Class RuinedPortalFeature
java.lang.Object
net.minecraft.world.gen.feature.StructureFeature
net.minecraft.world.gen.feature.RuinedPortalFeature
- Mappings:
Namespace Name official diwintermediary net/minecraft/class_5183named net/minecraft/world/gen/feature/RuinedPortalFeature
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.world.gen.feature.StructureFeature
StructureFeature.class_7149, StructureFeature.class_7150 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RuinedPortalFeature>private static final String[]private static final intprivate static final floatprivate final List<RuinedPortalFeature.class_7155>private static final String[]Fields inherited from class net.minecraft.world.gen.feature.StructureFeature
field_37744, field_37745 -
Constructor Summary
ConstructorsConstructorDescriptionRuinedPortalFeature(RegistryEntryList<Biome> registryEntryList, Map<SpawnGroup, StructureSpawns> map, GenerationStep.Feature feature, boolean bool, List<RuinedPortalFeature.class_7155> list) RuinedPortalFeature(RegistryEntryList<Biome> registryEntryList, Map<SpawnGroup, StructureSpawns> map, GenerationStep.Feature feature, boolean bool, RuinedPortalFeature.class_7155 class_7155) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intchoosePlacementHeight(Random random, int min, int max) private static intgetFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) getType()private static booleanisColdAt(BlockPos pos, RegistryEntry<Biome> biome) method_38676(StructureFeature.class_7149 class_7149) private static booleanmethod_41682(ChunkRandom chunkRandom, float float2) Methods inherited from class net.minecraft.world.gen.feature.StructureFeature
expandBoxIfShouldAdaptNoise, getFeatureGenerationStep, getStructureSpawns, getValidBiomes, method_41608, method_41610, method_41612, method_41614, method_42381, method_42382, postPlace, shouldAdaptNoise
-
Field Details
-
COMMON_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official dLdiw;d:[Ljava/lang/String;intermediary field_23999Lnet/minecraft/class_5183;field_23999:[Ljava/lang/String;named COMMON_PORTAL_STRUCTURE_IDSLnet/minecraft/world/gen/feature/RuinedPortalFeature;COMMON_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
RARE_PORTAL_STRUCTURE_IDS
- Mappings:
Namespace Name Mixin selector official eLdiw;e:[Ljava/lang/String;intermediary field_23998Lnet/minecraft/class_5183;field_23998:[Ljava/lang/String;named RARE_PORTAL_STRUCTURE_IDSLnet/minecraft/world/gen/feature/RuinedPortalFeature;RARE_PORTAL_STRUCTURE_IDS:[Ljava/lang/String;
-
field_31512
private static final float field_31512- See Also:
- Mappings:
Namespace Name Mixin selector official fLdiw;f:Fintermediary field_31512Lnet/minecraft/class_5183;field_31512:Fnamed field_31512Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31512:F
-
field_31511
private static final int field_31511- See Also:
- Mappings:
Namespace Name Mixin selector official gLdiw;g:Iintermediary field_31511Lnet/minecraft/class_5183;field_31511:Inamed field_31511Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_31511:I
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLdiw;c:Lcom/mojang/serialization/Codec;intermediary field_37812Lnet/minecraft/class_5183;field_37812:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/feature/RuinedPortalFeature;CODEC:Lcom/mojang/serialization/Codec;
-
field_37813
- Mappings:
Namespace Name Mixin selector official hLdiw;h:Ljava/util/List;intermediary field_37813Lnet/minecraft/class_5183;field_37813:Ljava/util/List;named field_37813Lnet/minecraft/world/gen/feature/RuinedPortalFeature;field_37813:Ljava/util/List;
-
-
Constructor Details
-
RuinedPortalFeature
public RuinedPortalFeature(RegistryEntryList<Biome> registryEntryList, Map<SpawnGroup, StructureSpawns> map, GenerationStep.Feature feature, boolean bool, List<RuinedPortalFeature.class_7155> list) -
RuinedPortalFeature
public RuinedPortalFeature(RegistryEntryList<Biome> registryEntryList, Map<SpawnGroup, StructureSpawns> map, GenerationStep.Feature feature, boolean bool, RuinedPortalFeature.class_7155 class_7155)
-
-
Method Details
-
method_38676
- Specified by:
method_38676in classStructureFeature- Mappings:
Namespace Name Mixin selector official aLdgq;a(Ldgq$a;)Ljava/util/Optional;intermediary method_38676Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;named method_38676Lnet/minecraft/world/gen/feature/StructureFeature;method_38676(Lnet/minecraft/world/gen/feature/StructureFeature$class_7149;)Ljava/util/Optional;
-
method_41682
- Mappings:
Namespace Name Mixin selector official aLdiw;a(Lcxi;F)Zintermediary method_41682Lnet/minecraft/class_5183;method_41682(Lnet/minecraft/class_2919;F)Znamed method_41682Lnet/minecraft/world/gen/feature/RuinedPortalFeature;method_41682(Lnet/minecraft/world/gen/random/ChunkRandom;F)Z
-
isColdAt
- Mappings:
Namespace Name Mixin selector official aLdiw;a(Lgk;Lgt;)Zintermediary method_27209Lnet/minecraft/class_5183;method_27209(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Znamed isColdAtLnet/minecraft/world/gen/feature/RuinedPortalFeature;isColdAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/registry/RegistryEntry;)Z
-
getFloorHeight
private static int getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) - Mappings:
Namespace Name Mixin selector official aLdiw;a(Ljava/util/Random;Lctg;Ldiv$b;ZIILdgi;Lccz;Lcxa;)Iintermediary method_27211Lnet/minecraft/class_5183;method_27211(Ljava/util/Random;Lnet/minecraft/class_2794;Lnet/minecraft/class_5189$class_5191;ZIILnet/minecraft/class_3341;Lnet/minecraft/class_5539;Lnet/minecraft/class_7138;)Inamed getFloorHeightLnet/minecraft/world/gen/feature/RuinedPortalFeature;getFloorHeight(Ljava/util/Random;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ZIILnet/minecraft/util/math/BlockBox;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/world/gen/noise/NoiseConfig;)I
-
choosePlacementHeight
- Mappings:
Namespace Name Mixin selector official aLdiw;a(Ljava/util/Random;II)Iintermediary method_27210Lnet/minecraft/class_5183;method_27210(Ljava/util/Random;II)Inamed choosePlacementHeightLnet/minecraft/world/gen/feature/RuinedPortalFeature;choosePlacementHeight(Ljava/util/Random;II)I
-
getType
- Specified by:
getTypein classStructureFeature- Mappings:
Namespace Name Mixin selector official eLdgq;e()Ldgz;intermediary method_41618Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;named getTypeLnet/minecraft/world/gen/feature/StructureFeature;getType()Lnet/minecraft/structure/StructureType;
-