Class MaterialRules.MaterialRuleContext

java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialRuleContext
Enclosing class:
MaterialRules

protected static final class MaterialRules.MaterialRuleContext extends Object
Mappings:
Namespace Name
official des$g
intermediary net/minecraft/class_6686$class_6694
named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext
  • Field Details

    • field_36274

      private static final int field_36274
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldes$g;a:I
      intermediary field_36274 Lnet/minecraft/class_6686$class_6694;field_36274:I
      named field_36274 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36274:I
    • field_36275

      private static final int field_36275
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldes$g;b:I
      intermediary field_36275 Lnet/minecraft/class_6686$class_6694;field_36275:I
      named field_36275 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36275:I
    • field_36276

      private static final int field_36276
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ldes$g;c:I
      intermediary field_36276 Lnet/minecraft/class_6686$class_6694;field_36276:I
      named field_36276 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36276:I
    • field_36277

      private static final int field_36277
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ldes$g;d:I
      intermediary field_36277 Lnet/minecraft/class_6686$class_6694;field_36277:I
      named field_36277 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36277:I
    • surfaceBuilder

      final SurfaceBuilder surfaceBuilder
      Mappings:
      Namespace Name Mixin selector
      official e Ldes$g;e:Ldet;
      intermediary field_35233 Lnet/minecraft/class_6686$class_6694;field_35233:Lnet/minecraft/class_6724;
      named surfaceBuilder Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;surfaceBuilder:Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;
    • biomeTemperaturePredicate

      final MaterialRules.BooleanSupplier biomeTemperaturePredicate
      Mappings:
      Namespace Name Mixin selector
      official f Ldes$g;f:Ldes$e;
      intermediary field_35234 Lnet/minecraft/class_6686$class_6694;field_35234:Lnet/minecraft/class_6686$class_6692;
      named biomeTemperaturePredicate Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;biomeTemperaturePredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
    • steepSlopePredicate

      final MaterialRules.BooleanSupplier steepSlopePredicate
      Mappings:
      Namespace Name Mixin selector
      official g Ldes$g;g:Ldes$e;
      intermediary field_35235 Lnet/minecraft/class_6686$class_6694;field_35235:Lnet/minecraft/class_6686$class_6692;
      named steepSlopePredicate Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;steepSlopePredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
    • negativeRunDepthPredicate

      final MaterialRules.BooleanSupplier negativeRunDepthPredicate
      Mappings:
      Namespace Name Mixin selector
      official h Ldes$g;h:Ldes$e;
      intermediary field_35236 Lnet/minecraft/class_6686$class_6694;field_35236:Lnet/minecraft/class_6686$class_6692;
      named negativeRunDepthPredicate Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;negativeRunDepthPredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
    • surfacePredicate

      final MaterialRules.BooleanSupplier surfacePredicate
      Mappings:
      Namespace Name Mixin selector
      official i Ldes$g;i:Ldes$e;
      intermediary field_35604 Lnet/minecraft/class_6686$class_6694;field_35604:Lnet/minecraft/class_6686$class_6692;
      named surfacePredicate Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;surfacePredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
    • noiseConfig

      final NoiseConfig noiseConfig
      Mappings:
      Namespace Name Mixin selector
      official j Ldes$g;j:Ldep;
      intermediary field_37703 Lnet/minecraft/class_6686$class_6694;field_37703:Lnet/minecraft/class_7138;
      named noiseConfig Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;noiseConfig:Lnet/minecraft/world/gen/noise/NoiseConfig;
    • chunk

      final Chunk chunk
      Mappings:
      Namespace Name Mixin selector
      official k Ldes$g;k:Ldap;
      intermediary field_35605 Lnet/minecraft/class_6686$class_6694;field_35605:Lnet/minecraft/class_2791;
      named chunk Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;chunk:Lnet/minecraft/world/chunk/Chunk;
    • chunkNoiseSampler

      private final ChunkNoiseSampler chunkNoiseSampler
      Mappings:
      Namespace Name Mixin selector
      official l Ldes$g;l:Ldef;
      intermediary field_35676 Lnet/minecraft/class_6686$class_6694;field_35676:Lnet/minecraft/class_6568;
      named chunkNoiseSampler Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
    • posToBiome

      private final Function<BlockPos,RegistryEntry<Biome>> posToBiome
      Mappings:
      Namespace Name Mixin selector
      official m Ldes$g;m:Ljava/util/function/Function;
      intermediary field_35606 Lnet/minecraft/class_6686$class_6694;field_35606:Ljava/util/function/Function;
      named posToBiome Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;posToBiome:Ljava/util/function/Function;
    • heightContext

      final HeightContext heightContext
      Mappings:
      Namespace Name Mixin selector
      official n Ldes$g;n:Ldey;
      intermediary field_35241 Lnet/minecraft/class_6686$class_6694;field_35241:Lnet/minecraft/class_5868;
      named heightContext Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;heightContext:Lnet/minecraft/world/gen/HeightContext;
    • field_36278

      private long field_36278
      Mappings:
      Namespace Name Mixin selector
      official o Ldes$g;o:J
      intermediary field_36278 Lnet/minecraft/class_6686$class_6694;field_36278:J
      named field_36278 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36278:J
    • field_36279

      private final int[] field_36279
      Mappings:
      Namespace Name Mixin selector
      official p Ldes$g;p:[I
      intermediary field_36279 Lnet/minecraft/class_6686$class_6694;field_36279:[I
      named field_36279 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36279:[I
    • uniqueHorizontalPosValue

      long uniqueHorizontalPosValue
      Mappings:
      Namespace Name Mixin selector
      official q Ldes$g;q:J
      intermediary field_35608 Lnet/minecraft/class_6686$class_6694;field_35608:J
      named uniqueHorizontalPosValue Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;uniqueHorizontalPosValue:J
    • blockX

      int blockX
      Mappings:
      Namespace Name Mixin selector
      official r Ldes$g;r:I
      intermediary field_35609 Lnet/minecraft/class_6686$class_6694;field_35609:I
      named blockX Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockX:I
    • blockZ

      int blockZ
      Mappings:
      Namespace Name Mixin selector
      official s Ldes$g;s:I
      intermediary field_35610 Lnet/minecraft/class_6686$class_6694;field_35610:I
      named blockZ Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockZ:I
    • runDepth

      int runDepth
      Mappings:
      Namespace Name Mixin selector
      official t Ldes$g;t:I
      intermediary field_35611 Lnet/minecraft/class_6686$class_6694;field_35611:I
      named runDepth Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;runDepth:I
    • field_35677

      private long field_35677
      Mappings:
      Namespace Name Mixin selector
      official u Ldes$g;u:J
      intermediary field_35677 Lnet/minecraft/class_6686$class_6694;field_35677:J
      named field_35677 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35677:J
    • field_35678

      private double field_35678
      Mappings:
      Namespace Name Mixin selector
      official v Ldes$g;v:D
      intermediary field_35678 Lnet/minecraft/class_6686$class_6694;field_35678:D
      named field_35678 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35678:D
    • field_35679

      private long field_35679
      Mappings:
      Namespace Name Mixin selector
      official w Ldes$g;w:J
      intermediary field_35679 Lnet/minecraft/class_6686$class_6694;field_35679:J
      named field_35679 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35679:J
    • surfaceMinY

      private int surfaceMinY
      Mappings:
      Namespace Name Mixin selector
      official x Ldes$g;x:I
      intermediary field_35616 Lnet/minecraft/class_6686$class_6694;field_35616:I
      named surfaceMinY Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;surfaceMinY:I
    • uniquePosValue

      long uniquePosValue
      Mappings:
      Namespace Name Mixin selector
      official y Ldes$g;y:J
      intermediary field_35612 Lnet/minecraft/class_6686$class_6694;field_35612:J
      named uniquePosValue Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;uniquePosValue:J
    • pos

      final BlockPos.Mutable pos
      Mappings:
      Namespace Name Mixin selector
      official z Ldes$g;z:Lgp$a;
      intermediary field_35613 Lnet/minecraft/class_6686$class_6694;field_35613:Lnet/minecraft/class_2338$class_2339;
      named pos Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;pos:Lnet/minecraft/util/math/BlockPos$Mutable;
    • biomeSupplier

      Supplier<RegistryEntry<Biome>> biomeSupplier
      Mappings:
      Namespace Name Mixin selector
      official A Ldes$g;A:Ljava/util/function/Supplier;
      intermediary field_35614 Lnet/minecraft/class_6686$class_6694;field_35614:Ljava/util/function/Supplier;
      named biomeSupplier Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;biomeSupplier:Ljava/util/function/Supplier;
    • blockY

      int blockY
      Mappings:
      Namespace Name Mixin selector
      official B Ldes$g;B:I
      intermediary field_35617 Lnet/minecraft/class_6686$class_6694;field_35617:I
      named blockY Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockY:I
    • fluidHeight

      int fluidHeight
      Mappings:
      Namespace Name Mixin selector
      official C Ldes$g;C:I
      intermediary field_35618 Lnet/minecraft/class_6686$class_6694;field_35618:I
      named fluidHeight Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;fluidHeight:I
    • stoneDepthBelow

      int stoneDepthBelow
      Mappings:
      Namespace Name Mixin selector
      official D Ldes$g;D:I
      intermediary field_35619 Lnet/minecraft/class_6686$class_6694;field_35619:I
      named stoneDepthBelow Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;stoneDepthBelow:I
    • stoneDepthAbove

      int stoneDepthAbove
      Mappings:
      Namespace Name Mixin selector
      official E Ldes$g;E:I
      intermediary field_35620 Lnet/minecraft/class_6686$class_6694;field_35620:I
      named stoneDepthAbove Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;stoneDepthAbove:I
  • Constructor Details

    • MaterialRuleContext

      protected MaterialRuleContext(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos,RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldes$g;<init>(Ldet;Ldep;Ldap;Ldef;Ljava/util/function/Function;Lhm;Ldey;)V
      intermediary <init> Lnet/minecraft/class_6686$class_6694;<init>(Lnet/minecraft/class_6724;Lnet/minecraft/class_7138;Lnet/minecraft/class_2791;Lnet/minecraft/class_6568;Ljava/util/function/Function;Lnet/minecraft/class_2378;Lnet/minecraft/class_5868;)V
      named <init> Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;<init>(Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;Lnet/minecraft/world/gen/noise/NoiseConfig;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Ljava/util/function/Function;Lnet/minecraft/registry/Registry;Lnet/minecraft/world/gen/HeightContext;)V
  • Method Details

    • initHorizontalContext

      protected void initHorizontalContext(int blockX, int blockZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes$g;a(II)V
      intermediary method_39072 Lnet/minecraft/class_6686$class_6694;method_39072(II)V
      named initHorizontalContext Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;initHorizontalContext(II)V
    • initVerticalContext

      protected void initVerticalContext(int stoneDepthAbove, int stoneDepthBelow, int fluidHeight, int blockX, int blockY, int blockZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes$g;a(IIIIII)V
      intermediary method_39073 Lnet/minecraft/class_6686$class_6694;method_39073(IIIIII)V
      named initVerticalContext Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;initVerticalContext(IIIIII)V
    • method_39550

      protected double method_39550()
      Mappings:
      Namespace Name Mixin selector
      official a Ldes$g;a()D
      intermediary method_39550 Lnet/minecraft/class_6686$class_6694;method_39550()D
      named method_39550 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;method_39550()D
    • method_39903

      private static int method_39903(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes$g;a(I)I
      intermediary method_39903 Lnet/minecraft/class_6686$class_6694;method_39903(I)I
      named method_39903 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;method_39903(I)I
    • method_39904

      private static int method_39904(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Ldes$g;b(I)I
      intermediary method_39904 Lnet/minecraft/class_6686$class_6694;method_39904(I)I
      named method_39904 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;method_39904(I)I
    • method_39551

      protected int method_39551()
      Mappings:
      Namespace Name Mixin selector
      official b Ldes$g;b()I
      intermediary method_39551 Lnet/minecraft/class_6686$class_6694;method_39551()I
      named method_39551 Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;method_39551()I