Class FeatureContext<FC extends FeatureConfig>
java.lang.Object
net.minecraft.world.gen.feature.util.FeatureContext<FC>
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/util/FeatureContext
intermediary net/minecraft/class_5821
official ebb
-
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 named feature
Lnet/minecraft/world/gen/feature/util/FeatureContext;feature:Ljava/util/Optional;
intermediary field_34697
Lnet/minecraft/class_5821;field_34697:Ljava/util/Optional;
official a
Lebb;a:Ljava/util/Optional;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/world/gen/feature/util/FeatureContext;world:Lnet/minecraft/world/StructureWorldAccess;
intermediary field_28769
Lnet/minecraft/class_5821;field_28769:Lnet/minecraft/class_5281;
official b
Lebb;b:Ldcu;
-
generator
- Mappings:
Namespace Name Mixin selector named generator
Lnet/minecraft/world/gen/feature/util/FeatureContext;generator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
intermediary field_28770
Lnet/minecraft/class_5821;field_28770:Lnet/minecraft/class_2794;
official c
Lebb;c:Ldua;
-
random
- Mappings:
Namespace Name Mixin selector named random
Lnet/minecraft/world/gen/feature/util/FeatureContext;random:Lnet/minecraft/util/math/random/Random;
intermediary field_28771
Lnet/minecraft/class_5821;field_28771:Lnet/minecraft/class_5819;
official d
Lebb;d:Lazh;
-
origin
- Mappings:
Namespace Name Mixin selector named origin
Lnet/minecraft/world/gen/feature/util/FeatureContext;origin:Lnet/minecraft/util/math/BlockPos;
intermediary field_28772
Lnet/minecraft/class_5821;field_28772:Lnet/minecraft/class_2338;
official e
Lebb;e:Liz;
-
config
- Mappings:
Namespace Name Mixin selector named config
Lnet/minecraft/world/gen/feature/util/FeatureContext;config:Lnet/minecraft/world/gen/feature/FeatureConfig;
intermediary field_28773
Lnet/minecraft/class_5821;field_28773:Lnet/minecraft/class_3037;
official f
Lebb;f:Ledd;
-
-
Constructor Details
-
FeatureContext
public FeatureContext(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lebb;<init>(Ljava/util/Optional;Ldcu;Ldua;Lazh;Liz;Ledd;)V
-
-
Method Details
-
getFeature
- Mappings:
Namespace Name Mixin selector named getFeature
Lnet/minecraft/world/gen/feature/util/FeatureContext;getFeature()Ljava/util/Optional;
intermediary method_38427
Lnet/minecraft/class_5821;method_38427()Ljava/util/Optional;
official a
Lebb;a()Ljava/util/Optional;
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorld
Lnet/minecraft/world/gen/feature/util/FeatureContext;getWorld()Lnet/minecraft/world/StructureWorldAccess;
intermediary method_33652
Lnet/minecraft/class_5821;method_33652()Lnet/minecraft/class_5281;
official b
Lebb;b()Ldcu;
-
getGenerator
- Mappings:
Namespace Name Mixin selector named getGenerator
Lnet/minecraft/world/gen/feature/util/FeatureContext;getGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
intermediary method_33653
Lnet/minecraft/class_5821;method_33653()Lnet/minecraft/class_2794;
official c
Lebb;c()Ldua;
-
getRandom
- Mappings:
Namespace Name Mixin selector named getRandom
Lnet/minecraft/world/gen/feature/util/FeatureContext;getRandom()Lnet/minecraft/util/math/random/Random;
intermediary method_33654
Lnet/minecraft/class_5821;method_33654()Lnet/minecraft/class_5819;
official d
Lebb;d()Lazh;
-
getOrigin
- Mappings:
Namespace Name Mixin selector named getOrigin
Lnet/minecraft/world/gen/feature/util/FeatureContext;getOrigin()Lnet/minecraft/util/math/BlockPos;
intermediary method_33655
Lnet/minecraft/class_5821;method_33655()Lnet/minecraft/class_2338;
official e
Lebb;e()Liz;
-
getConfig
- Mappings:
Namespace Name Mixin selector named getConfig
Lnet/minecraft/world/gen/feature/util/FeatureContext;getConfig()Lnet/minecraft/world/gen/feature/FeatureConfig;
intermediary method_33656
Lnet/minecraft/class_5821;method_33656()Lnet/minecraft/class_3037;
official f
Lebb;f()Ledd;
-