Class FeatureContext<FC extends FeatureConfig>
java.lang.Object
net.minecraft.world.gen.feature.util.FeatureContext<FC>
- Mappings:
Namespace Name official drw
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
Ldrw;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
Ldrw;b:Lcuk;
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
Ldrw;c:Ldle;
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
Ldrw;d:Lauv;
intermediary field_28771
Lnet/minecraft/class_5821;field_28771:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/world/gen/feature/util/FeatureContext;random:Lnet/minecraft/util/math/random/Random;
-
origin
- Mappings:
Namespace Name Mixin selector official e
Ldrw;e:Lhx;
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
Ldrw;f:Ldty;
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>
Ldrw;<init>(Ljava/util/Optional;Lcuk;Ldle;Lauv;Lhx;Ldty;)V
intermediary <init>
Lnet/minecraft/class_5821;<init>(Ljava/util/Optional;Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;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;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/FeatureConfig;)V
-
-
Method Details
-
getFeature
- Mappings:
Namespace Name Mixin selector official a
Ldrw;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
Ldrw;b()Lcuk;
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
Ldrw;c()Ldle;
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
Ldrw;d()Lauv;
intermediary method_33654
Lnet/minecraft/class_5821;method_33654()Lnet/minecraft/class_5819;
named getRandom
Lnet/minecraft/world/gen/feature/util/FeatureContext;getRandom()Lnet/minecraft/util/math/random/Random;
-
getOrigin
- Mappings:
Namespace Name Mixin selector official e
Ldrw;e()Lhx;
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
Ldrw;f()Ldty;
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;
-