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 csg
intermediary net/minecraft/class_5821
named net/minecraft/world/gen/feature/util/FeatureContext
  • Field Details

    • world

      private final StructureWorldAccess world
      Mappings:
      Namespace Name Mixin selector
      official a Lcsg;a:Lbxk;
      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

      private final ChunkGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official b Lcsg;b:Lcmn;
      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

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official c Lcsg;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;
    • origin

      private final BlockPos origin
      Mappings:
      Namespace Name Mixin selector
      official d Lcsg;d:Lgg;
      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

      private final FC extends FeatureConfig config
      Mappings:
      Namespace Name Mixin selector
      official e Lcsg;e:Lcvg;
      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 origin, FC config)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsg;<init>(Lbxk;Lcmn;Ljava/util/Random;Lgg;Lcvg;)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

      public StructureWorldAccess getWorld()
      Mappings:
      Namespace Name Mixin selector
      official a Lcsg;a()Lbxk;
      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

      public ChunkGenerator getGenerator()
      Mappings:
      Namespace Name Mixin selector
      official b Lcsg;b()Lcmn;
      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

      public Random getRandom()
      Mappings:
      Namespace Name Mixin selector
      official c Lcsg;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;
    • getOrigin

      public BlockPos getOrigin()
      Mappings:
      Namespace Name Mixin selector
      official d Lcsg;d()Lgg;
      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

      public FC getConfig()
      Mappings:
      Namespace Name Mixin selector
      official e Lcsg;e()Lcvg;
      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;