Package net.minecraft.world.gen.feature
Class RandomFeatureEntry
java.lang.Object
net.minecraft.world.gen.feature.RandomFeatureEntry
- Mappings:
Namespace Name official dfn
intermediary net/minecraft/class_3226
named net/minecraft/world/gen/feature/RandomFeatureEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal float
static final com.mojang.serialization.Codec<RandomFeatureEntry>
final RegistryEntry<PlacedFeature>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldfn;a:Lcom/mojang/serialization/Codec;
intermediary field_24864
Lnet/minecraft/class_3226;field_24864:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/RandomFeatureEntry;CODEC:Lcom/mojang/serialization/Codec;
-
feature
- Mappings:
Namespace Name Mixin selector official b
Ldfn;b:Lhc;
intermediary field_14013
Lnet/minecraft/class_3226;field_14013:Lnet/minecraft/class_6880;
named feature
Lnet/minecraft/world/gen/feature/RandomFeatureEntry;feature:Lnet/minecraft/util/registry/RegistryEntry;
-
chance
public final float chance- Mappings:
Namespace Name Mixin selector official c
Ldfn;c:F
intermediary field_14011
Lnet/minecraft/class_3226;field_14011:F
named chance
Lnet/minecraft/world/gen/feature/RandomFeatureEntry;chance:F
-
-
Constructor Details
-
RandomFeatureEntry
- Mappings:
Namespace Name Mixin selector official <init>
Ldfn;<init>(Lhc;F)V
intermediary <init>
Lnet/minecraft/class_3226;<init>(Lnet/minecraft/class_6880;F)V
named <init>
Lnet/minecraft/world/gen/feature/RandomFeatureEntry;<init>(Lnet/minecraft/util/registry/RegistryEntry;F)V
-
-
Method Details
-
generate
public boolean generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) - Mappings:
Namespace Name Mixin selector official a
Ldfn;a(Lchp;Lcxk;Lamn;Lgt;)Z
intermediary method_14271
Lnet/minecraft/class_3226;method_14271(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z
named generate
Lnet/minecraft/world/gen/feature/RandomFeatureEntry;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Z
-