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

    • feature

      private final Optional<ConfiguredFeature<?,?>> 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 Lecc;a:Ljava/util/Optional;
    • world

      private final StructureWorldAccess 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 Lecc;b:Lddq;
    • generator

      private final ChunkGenerator 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 Lecc;c:Ldux;
    • random

      private final Random 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 Lecc;d:Layv;
    • origin

      private final BlockPos 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 Lecc;e:Ljd;
    • config

      private final FC extends FeatureConfig 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 Lecc;f:Leee;
  • 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> Lecc;<init>(Ljava/util/Optional;Lddq;Ldux;Layv;Ljd;Leee;)V
  • Method Details

    • getFeature

      public Optional<ConfiguredFeature<?,?>> 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 Lecc;a()Ljava/util/Optional;
    • getWorld

      public StructureWorldAccess 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 Lecc;b()Lddq;
    • getGenerator

      public ChunkGenerator 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 Lecc;c()Ldux;
    • getRandom

      public Random 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 Lecc;d()Layv;
    • getOrigin

      public BlockPos 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 Lecc;e()Ljd;
    • getConfig

      public FC 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 Lecc;f()Leee;