Class FeatureContext<FC extends FeatureConfig>
java.lang.Object
net.minecraft.world.gen.feature.util.FeatureContext<FC>
- Mappings:
Namespace Name official cwn
intermediary net/minecraft/class_5821
named net/minecraft/world/gen/feature/util/FeatureContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final FC
private final Optional<ConfiguredFeature<?,
?>> private final ChunkGenerator
private final BlockPos
private final Random
private final StructureWorldAccess
-
Constructor Summary
ConstructorDescriptionFeatureContext
(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config) -
Method Summary
-
Field Details
-
feature
- Mappings:
Namespace Name Mixin selector official a
Lcwn;a:Ljava/util/Optional;
intermediary field_34697
Lnet/minecraft/class_5821;field_34697:Ljava/util/Optional;
named feature
Lnet/minecraft/world/gen/feature/util/FeatureContext;feature:Ljava/util/Optional;
-
world
- Mappings:
Namespace Name Mixin selector official b
Lcwn;b:Lcav;
intermediary field_28769
Lnet/minecraft/class_5821;field_28769:Lnet/minecraft/class_5281;
named world
Lnet/minecraft/world/gen/feature/util/FeatureContext;world:Lnet/minecraft/world/StructureWorldAccess;
-
generator
- Mappings:
Namespace Name Mixin selector official c
Lcwn;c:Lcpz;
intermediary field_28770
Lnet/minecraft/class_5821;field_28770:Lnet/minecraft/class_2794;
named generator
Lnet/minecraft/world/gen/feature/util/FeatureContext;generator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
random
- Mappings:
Namespace Name Mixin selector official d
Lcwn;d:Ljava/util/Random;
intermediary field_28771
Lnet/minecraft/class_5821;field_28771:Ljava/util/Random;
named random
Lnet/minecraft/world/gen/feature/util/FeatureContext;random:Ljava/util/Random;
-
origin
- Mappings:
Namespace Name Mixin selector official e
Lcwn;e:Lgh;
intermediary field_28772
Lnet/minecraft/class_5821;field_28772:Lnet/minecraft/class_2338;
named origin
Lnet/minecraft/world/gen/feature/util/FeatureContext;origin:Lnet/minecraft/util/math/BlockPos;
-
config
- Mappings:
Namespace Name Mixin selector official f
Lcwn;f:Lczf;
intermediary field_28773
Lnet/minecraft/class_5821;field_28773:Lnet/minecraft/class_3037;
named config
Lnet/minecraft/world/gen/feature/util/FeatureContext;config:Lnet/minecraft/world/gen/feature/FeatureConfig;
-
-
Constructor Details
-
FeatureContext
public FeatureContext(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config) - Mappings:
Namespace Name Mixin selector official <init>
Lcwn;<init>(Ljava/util/Optional;Lcav;Lcpz;Ljava/util/Random;Lgh;Lczf;)V
intermediary <init>
Lnet/minecraft/class_5821;<init>(Ljava/util/Optional;Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3037;)V
named <init>
Lnet/minecraft/world/gen/feature/util/FeatureContext;<init>(Ljava/util/Optional;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/FeatureConfig;)V
-
-
Method Details
-
getFeature
- Mappings:
Namespace Name Mixin selector official a
Lcwn;a()Ljava/util/Optional;
intermediary method_38427
Lnet/minecraft/class_5821;method_38427()Ljava/util/Optional;
named getFeature
Lnet/minecraft/world/gen/feature/util/FeatureContext;getFeature()Ljava/util/Optional;
-
getWorld
- Mappings:
Namespace Name Mixin selector official b
Lcwn;b()Lcav;
intermediary method_33652
Lnet/minecraft/class_5821;method_33652()Lnet/minecraft/class_5281;
named getWorld
Lnet/minecraft/world/gen/feature/util/FeatureContext;getWorld()Lnet/minecraft/world/StructureWorldAccess;
-
getGenerator
- Mappings:
Namespace Name Mixin selector official c
Lcwn;c()Lcpz;
intermediary method_33653
Lnet/minecraft/class_5821;method_33653()Lnet/minecraft/class_2794;
named getGenerator
Lnet/minecraft/world/gen/feature/util/FeatureContext;getGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
getRandom
- Mappings:
Namespace Name Mixin selector official d
Lcwn;d()Ljava/util/Random;
intermediary method_33654
Lnet/minecraft/class_5821;method_33654()Ljava/util/Random;
named getRandom
Lnet/minecraft/world/gen/feature/util/FeatureContext;getRandom()Ljava/util/Random;
-
getOrigin
- Mappings:
Namespace Name Mixin selector official e
Lcwn;e()Lgh;
intermediary method_33655
Lnet/minecraft/class_5821;method_33655()Lnet/minecraft/class_2338;
named getOrigin
Lnet/minecraft/world/gen/feature/util/FeatureContext;getOrigin()Lnet/minecraft/util/math/BlockPos;
-
getConfig
- Mappings:
Namespace Name Mixin selector official f
Lcwn;f()Lczf;
intermediary method_33656
Lnet/minecraft/class_5821;method_33656()Lnet/minecraft/class_3037;
named getConfig
Lnet/minecraft/world/gen/feature/util/FeatureContext;getConfig()Lnet/minecraft/world/gen/feature/FeatureConfig;
-