Class FeatureContext<FC extends FeatureConfig>
java.lang.Object
net.minecraft.world.gen.feature.util.FeatureContext<FC>
public class FeatureContext<FC extends FeatureConfig> extends Object
- Mappings:
Namespace Name official corintermediary net/minecraft/class_5821named net/minecraft/world/gen/feature/util/FeatureContext
-
Field Summary
Fields Modifier and Type Field Description private FCconfigprivate ChunkGeneratorgeneratorprivate BlockPosposprivate Randomrandomprivate StructureWorldAccessworld -
Constructor Summary
Constructors Constructor Description FeatureContext(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos, FC config) -
Method Summary
Modifier and Type Method Description FCgetConfig()ChunkGeneratorgetGenerator()BlockPosgetPos()RandomgetRandom()StructureWorldAccessgetWorld()
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official aLcor;a:Lbuq;intermediary field_28769Lnet/minecraft/class_5821;field_28769:Lnet/minecraft/class_5281;named worldLnet/minecraft/world/gen/feature/util/FeatureContext;world:Lnet/minecraft/world/StructureWorldAccess;
-
generator
- Mappings:
Namespace Name Mixin selector official bLcor;b:Lcjn;intermediary field_28770Lnet/minecraft/class_5821;field_28770:Lnet/minecraft/class_2794;named generatorLnet/minecraft/world/gen/feature/util/FeatureContext;generator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
random
- Mappings:
Namespace Name Mixin selector official cLcor;c:Ljava/util/Random;intermediary field_28771Lnet/minecraft/class_5821;field_28771:Ljava/util/Random;named randomLnet/minecraft/world/gen/feature/util/FeatureContext;random:Ljava/util/Random;
-
pos
- Mappings:
Namespace Name Mixin selector official dLcor;d:Lfx;intermediary field_28772Lnet/minecraft/class_5821;field_28772:Lnet/minecraft/class_2338;named posLnet/minecraft/world/gen/feature/util/FeatureContext;pos:Lnet/minecraft/util/math/BlockPos;
-
config
- Mappings:
Namespace Name Mixin selector official eLcor;e:Lcrk;intermediary field_28773Lnet/minecraft/class_5821;field_28773:Lnet/minecraft/class_3037;named configLnet/minecraft/world/gen/feature/util/FeatureContext;config:Lnet/minecraft/world/gen/feature/FeatureConfig;
-
-
Constructor Details
-
FeatureContext
public FeatureContext(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos, FC config)- Mappings:
Namespace Name Mixin selector official <init>Lcor;<init>(Lbuq;Lcjn;Ljava/util/Random;Lfx;Lcrk;)Vintermediary <init>Lnet/minecraft/class_5821;<init>(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3037;)Vnamed <init>Lnet/minecraft/world/gen/feature/util/FeatureContext;<init>(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
-
getWorld
- Mappings:
Namespace Name Mixin selector official aLcor;a()Lbuq;intermediary method_33652Lnet/minecraft/class_5821;method_33652()Lnet/minecraft/class_5281;named getWorldLnet/minecraft/world/gen/feature/util/FeatureContext;getWorld()Lnet/minecraft/world/StructureWorldAccess;
-
getGenerator
- Mappings:
Namespace Name Mixin selector official bLcor;b()Lcjn;intermediary method_33653Lnet/minecraft/class_5821;method_33653()Lnet/minecraft/class_2794;named getGeneratorLnet/minecraft/world/gen/feature/util/FeatureContext;getGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
getRandom
- Mappings:
Namespace Name Mixin selector official cLcor;c()Ljava/util/Random;intermediary method_33654Lnet/minecraft/class_5821;method_33654()Ljava/util/Random;named getRandomLnet/minecraft/world/gen/feature/util/FeatureContext;getRandom()Ljava/util/Random;
-
getPos
- Mappings:
Namespace Name Mixin selector official dLcor;d()Lfx;intermediary method_33655Lnet/minecraft/class_5821;method_33655()Lnet/minecraft/class_2338;named getPosLnet/minecraft/world/gen/feature/util/FeatureContext;getPos()Lnet/minecraft/util/math/BlockPos;
-
getConfig
- Mappings:
Namespace Name Mixin selector official eLcor;e()Lcrk;intermediary method_33656Lnet/minecraft/class_5821;method_33656()Lnet/minecraft/class_3037;named getConfigLnet/minecraft/world/gen/feature/util/FeatureContext;getConfig()Lnet/minecraft/world/gen/feature/FeatureConfig;
-