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

    • feature

      private final Optional<ConfiguredFeature<?,?>> feature
      Mappings:
      Namespace Name Mixin selector
      official a Ldkq;a:Ljava/util/Optional;
      intermediary field_34697 Lnet/minecraft/class_5821;field_34697:Ljava/util/Optional;
      named feature Lnet/minecraft/world/gen/feature/util/FeatureContext;feature:Ljava/util/Optional;
    • world

      private final StructureWorldAccess world
      Mappings:
      Namespace Name Mixin selector
      official b Ldkq;b:Lcng;
      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 c Ldkq;c:Lddy;
      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 d Ldkq;d:Lapf;
      intermediary field_28771 Lnet/minecraft/class_5821;field_28771:Lnet/minecraft/class_5819;
      named random Lnet/minecraft/world/gen/feature/util/FeatureContext;random:Lnet/minecraft/util/math/random/Random;
    • origin

      private final BlockPos origin
      Mappings:
      Namespace Name Mixin selector
      official e Ldkq;e:Lgu;
      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 f Ldkq;f:Ldms;
      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(Optional<ConfiguredFeature<?,?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldkq;<init>(Ljava/util/Optional;Lcng;Lddy;Lapf;Lgu;Ldms;)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
      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
  • Method Details

    • getFeature

      public Optional<ConfiguredFeature<?,?>> getFeature()
      Mappings:
      Namespace Name Mixin selector
      official a Ldkq;a()Ljava/util/Optional;
      intermediary method_38427 Lnet/minecraft/class_5821;method_38427()Ljava/util/Optional;
      named getFeature Lnet/minecraft/world/gen/feature/util/FeatureContext;getFeature()Ljava/util/Optional;
    • getWorld

      public StructureWorldAccess getWorld()
      Mappings:
      Namespace Name Mixin selector
      official b Ldkq;b()Lcng;
      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 c Ldkq;c()Lddy;
      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 d Ldkq;d()Lapf;
      intermediary method_33654 Lnet/minecraft/class_5821;method_33654()Lnet/minecraft/class_5819;
      named getRandom Lnet/minecraft/world/gen/feature/util/FeatureContext;getRandom()Lnet/minecraft/util/math/random/Random;
    • getOrigin

      public BlockPos getOrigin()
      Mappings:
      Namespace Name Mixin selector
      official e Ldkq;e()Lgu;
      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 f Ldkq;f()Ldms;
      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;