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 cor
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 Lcor;a:Lbuq;
      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 Lcor;b:Lcjn;
      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 Lcor;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

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

      private final FC extends FeatureConfig config
      Mappings:
      Namespace Name Mixin selector
      official e Lcor;e:Lcrk;
      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> Lcor;<init>(Lbuq;Lcjn;Ljava/util/Random;Lfx;Lcrk;)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 Lcor;a()Lbuq;
      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 Lcor;b()Lcjn;
      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 Lcor;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

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

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