Package net.minecraft.world.gen.feature
Class RandomFeatureEntry
java.lang.Object
net.minecraft.world.gen.feature.RandomFeatureEntry
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/RandomFeatureEntryintermediary net/minecraft/class_3226official edy
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal floatstatic final com.mojang.serialization.Codec<RandomFeatureEntry> final RegistryEntry<PlacedFeature> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/feature/RandomFeatureEntry;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24864Lnet/minecraft/class_3226;field_24864:Lcom/mojang/serialization/Codec;official aLedy;a:Lcom/mojang/serialization/Codec;
-
feature
- Mappings:
Namespace Name Mixin selector named featureLnet/minecraft/world/gen/feature/RandomFeatureEntry;feature:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_14013Lnet/minecraft/class_3226;field_14013:Lnet/minecraft/class_6880;official bLedy;b:Ljm;
-
chance
public final float chance- Mappings:
Namespace Name Mixin selector named chanceLnet/minecraft/world/gen/feature/RandomFeatureEntry;chance:Fintermediary field_14011Lnet/minecraft/class_3226;field_14011:Fofficial cLedy;c:F
-
-
Constructor Details
-
RandomFeatureEntry
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/feature/RandomFeatureEntry;<init>(Lnet/minecraft/registry/entry/RegistryEntry;F)Vintermediary <init>Lnet/minecraft/class_3226;<init>(Lnet/minecraft/class_6880;F)Vofficial <init>Ledy;<init>(Ljm;F)V
-
-
Method Details
-
generate
public boolean generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) - Mappings:
Namespace Name Mixin selector named generateLnet/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;)Zintermediary method_14271Lnet/minecraft/class_3226;method_14271(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Zofficial aLedy;a(Ldds;Lduz;Layw;Ljd;)Z
-