Package net.minecraft.world.gen.feature
Class ConfiguredFeature<FC extends FeatureConfig,F extends Feature<FC>>
java.lang.Object
net.minecraft.world.gen.feature.ConfiguredFeature<FC,F>
- All Implemented Interfaces:
Decoratable<ConfiguredFeature<?,?>>
public class ConfiguredFeature<FC extends FeatureConfig,F extends Feature<FC>>
extends Object
implements Decoratable<ConfiguredFeature<?,?>>
- Mappings:
Namespace Name official crn
intermediary net/minecraft/class_2975
named net/minecraft/world/gen/feature/ConfiguredFeature
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ConfiguredFeature<?,?>>
static com.mojang.serialization.Codec<List<Supplier<ConfiguredFeature<?,?>>>>
static Logger
static com.mojang.serialization.Codec<Supplier<ConfiguredFeature<?,?>>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfiguredFeature<?,?>
decorate(ConfiguredDecorator<?> configuredDecorator)
boolean
generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin)
Stream<ConfiguredFeature<?,?>>
toString()
withChance(float chance)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.decorator.Decoratable
applyChance, range, repeat, repeat, repeatRandomly, spreadHorizontally, triangleRange, uniformRange
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcrn;a:Lcom/mojang/serialization/Codec;
intermediary field_25833
Lnet/minecraft/class_2975;field_25833:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/ConfiguredFeature;CODEC:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
public static final com.mojang.serialization.Codec<Supplier<ConfiguredFeature<?,?>>> REGISTRY_CODEC- Mappings:
Namespace Name Mixin selector official b
Lcrn;b:Lcom/mojang/serialization/Codec;
intermediary field_24833
Lnet/minecraft/class_2975;field_24833:Lcom/mojang/serialization/Codec;
named REGISTRY_CODEC
Lnet/minecraft/world/gen/feature/ConfiguredFeature;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
-
field_26756
public static final com.mojang.serialization.Codec<List<Supplier<ConfiguredFeature<?,?>>>> field_26756- Mappings:
Namespace Name Mixin selector official c
Lcrn;c:Lcom/mojang/serialization/Codec;
intermediary field_26756
Lnet/minecraft/class_2975;field_26756:Lcom/mojang/serialization/Codec;
named field_26756
Lnet/minecraft/world/gen/feature/ConfiguredFeature;field_26756:Lcom/mojang/serialization/Codec;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lcrn;d:Lorg/apache/logging/log4j/Logger;
intermediary field_21589
Lnet/minecraft/class_2975;field_21589:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/gen/feature/ConfiguredFeature;LOGGER:Lorg/apache/logging/log4j/Logger;
-
feature
- Mappings:
Namespace Name Mixin selector official e
Lcrn;e:Lcsf;
intermediary field_13376
Lnet/minecraft/class_2975;field_13376:Lnet/minecraft/class_3031;
named feature
Lnet/minecraft/world/gen/feature/ConfiguredFeature;feature:Lnet/minecraft/world/gen/feature/Feature;
-
config
- Mappings:
Namespace Name Mixin selector official f
Lcrn;f:Lcvg;
intermediary field_13375
Lnet/minecraft/class_2975;field_13375:Lnet/minecraft/class_3037;
named config
Lnet/minecraft/world/gen/feature/ConfiguredFeature;config:Lnet/minecraft/world/gen/feature/FeatureConfig;
-
-
Constructor Details
-
ConfiguredFeature
- Mappings:
Namespace Name Mixin selector official <init>
Lcrn;<init>(Lcsf;Lcvg;)V
intermediary <init>
Lnet/minecraft/class_2975;<init>(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)V
named <init>
Lnet/minecraft/world/gen/feature/ConfiguredFeature;<init>(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;)V
-
-
Method Details
-
getFeature
- Mappings:
Namespace Name Mixin selector official b
Lcrn;b()Lcsf;
intermediary method_30380
Lnet/minecraft/class_2975;method_30380()Lnet/minecraft/class_3031;
named getFeature
Lnet/minecraft/world/gen/feature/ConfiguredFeature;getFeature()Lnet/minecraft/world/gen/feature/Feature;
-
getConfig
- Mappings:
Namespace Name Mixin selector official c
Lcrn;c()Lcvg;
intermediary method_30381
Lnet/minecraft/class_2975;method_30381()Lnet/minecraft/class_3037;
named getConfig
Lnet/minecraft/world/gen/feature/ConfiguredFeature;getConfig()Lnet/minecraft/world/gen/feature/FeatureConfig;
-
decorate
- Specified by:
decorate
in interfaceDecoratable<FC extends FeatureConfig>
- Mappings:
Namespace Name Mixin selector official b
Lcrn;b(Lczo;)Lcrn;
intermediary method_23388
Lnet/minecraft/class_2975;method_23388(Lnet/minecraft/class_3243;)Lnet/minecraft/class_2975;
named decorate
Lnet/minecraft/world/gen/feature/ConfiguredFeature;decorate(Lnet/minecraft/world/gen/decorator/ConfiguredDecorator;)Lnet/minecraft/world/gen/feature/ConfiguredFeature;
-
withChance
- Mappings:
Namespace Name Mixin selector official a
Lcrn;a(F)Lcuo;
intermediary method_23387
Lnet/minecraft/class_2975;method_23387(F)Lnet/minecraft/class_3226;
named withChance
Lnet/minecraft/world/gen/feature/ConfiguredFeature;withChance(F)Lnet/minecraft/world/gen/feature/RandomFeatureEntry;
-
generate
public boolean generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin)- Mappings:
Namespace Name Mixin selector official a
Lcrn;a(Lbxk;Lcmn;Ljava/util/Random;Lgg;)Z
intermediary method_12862
Lnet/minecraft/class_2975;method_12862(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
named generate
Lnet/minecraft/world/gen/feature/ConfiguredFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
-
getDecoratedFeatures
- Mappings:
Namespace Name Mixin selector official d
Lcrn;d()Ljava/util/stream/Stream;
intermediary method_30648
Lnet/minecraft/class_2975;method_30648()Ljava/util/stream/Stream;
named getDecoratedFeatures
Lnet/minecraft/world/gen/feature/ConfiguredFeature;getDecoratedFeatures()Ljava/util/stream/Stream;
-
toString
-