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 cos
intermediary net/minecraft/class_5821
named net/minecraft/world/gen/feature/util/FeatureContext
-
Field Summary
Fields Modifier and Type Field Description private FC
config
private ChunkGenerator
generator
private BlockPos
pos
private Random
random
private StructureWorldAccess
world
-
Constructor Summary
Constructors Constructor Description FeatureContext(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos, FC config)
-
Method Summary
Modifier and Type Method Description FC
getConfig()
ChunkGenerator
getGenerator()
BlockPos
getPos()
Random
getRandom()
StructureWorldAccess
getWorld()
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official a
Lcos;a:Lbur;
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 b
Lcos;b:Lcjo;
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 c
Lcos;c: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;
-
pos
- Mappings:
Namespace Name Mixin selector official d
Lcos;d:Lfx;
intermediary field_28772
Lnet/minecraft/class_5821;field_28772:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/world/gen/feature/util/FeatureContext;pos:Lnet/minecraft/util/math/BlockPos;
-
config
- Mappings:
Namespace Name Mixin selector official e
Lcos;e:Lcrm;
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(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos, FC config)- Mappings:
Namespace Name Mixin selector official <init>
Lcos;<init>(Lbur;Lcjo;Ljava/util/Random;Lfx;Lcrm;)V
intermediary <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;)V
named <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 a
Lcos;a()Lbur;
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 b
Lcos;b()Lcjo;
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 c
Lcos;c()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;
-
getPos
- Mappings:
Namespace Name Mixin selector official d
Lcos;d()Lfx;
intermediary method_33655
Lnet/minecraft/class_5821;method_33655()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/world/gen/feature/util/FeatureContext;getPos()Lnet/minecraft/util/math/BlockPos;
-
getConfig
- Mappings:
Namespace Name Mixin selector official e
Lcos;e()Lcrm;
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;
-