Class MaterialRules.MaterialRuleContext
java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialRuleContext
- Enclosing class:
MaterialRules
- Mappings:
Namespace Name named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext
intermediary net/minecraft/class_6686$class_6694
official eeg$g
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static final class
private static class
private final class
-
Field Summary
Modifier and TypeFieldDescription(package private) Supplier
<RegistryEntry<Biome>> (package private) final MaterialRules.BooleanSupplier
(package private) int
(package private) int
(package private) int
(package private) final Chunk
private final ChunkNoiseSampler
private final int[]
private long
private long
private static final int
private static final int
private static final int
private static final int
(package private) int
(package private) final HeightContext
(package private) final MaterialRules.BooleanSupplier
(package private) final NoiseConfig
private long
(package private) final BlockPos.Mutable
private final Function
<BlockPos, RegistryEntry<Biome>> (package private) int
private double
(package private) final MaterialRules.BooleanSupplier
(package private) int
(package private) int
(package private) final SurfaceBuilder
private int
(package private) final MaterialRules.BooleanSupplier
(package private) long
(package private) long
-
Constructor Summary
ModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
blockToChunkCoord
(int blockCoord) private static int
chunkToBlockCoord
(int chunkCoord) protected int
int
protected double
protected void
initHorizontalContext
(int blockX, int blockZ) protected void
initVerticalContext
(int stoneDepthAbove, int stoneDepthBelow, int fluidHeight, int blockX, int blockY, int blockZ)
-
Field Details
-
field_36274
private static final int field_36274- See Also:
- Mappings:
Namespace Name Mixin selector named field_36274
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36274:I
intermediary field_36274
Lnet/minecraft/class_6686$class_6694;field_36274:I
official a
Leeg$g;a:I
-
field_36275
private static final int field_36275- See Also:
- Mappings:
Namespace Name Mixin selector named field_36275
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36275:I
intermediary field_36275
Lnet/minecraft/class_6686$class_6694;field_36275:I
official b
Leeg$g;b:I
-
field_36276
private static final int field_36276- See Also:
- Mappings:
Namespace Name Mixin selector named field_36276
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36276:I
intermediary field_36276
Lnet/minecraft/class_6686$class_6694;field_36276:I
official c
Leeg$g;c:I
-
field_36277
private static final int field_36277- See Also:
- Mappings:
Namespace Name Mixin selector named field_36277
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_36277:I
intermediary field_36277
Lnet/minecraft/class_6686$class_6694;field_36277:I
official d
Leeg$g;d:I
-
surfaceBuilder
- Mappings:
Namespace Name Mixin selector named surfaceBuilder
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;surfaceBuilder:Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;
intermediary field_35233
Lnet/minecraft/class_6686$class_6694;field_35233:Lnet/minecraft/class_6724;
official e
Leeg$g;e:Leeh;
-
biomeTemperaturePredicate
- Mappings:
Namespace Name Mixin selector named biomeTemperaturePredicate
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;biomeTemperaturePredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
intermediary field_35234
Lnet/minecraft/class_6686$class_6694;field_35234:Lnet/minecraft/class_6686$class_6692;
official f
Leeg$g;f:Leeg$e;
-
steepSlopePredicate
- Mappings:
Namespace Name Mixin selector named steepSlopePredicate
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;steepSlopePredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
intermediary field_35235
Lnet/minecraft/class_6686$class_6694;field_35235:Lnet/minecraft/class_6686$class_6692;
official g
Leeg$g;g:Leeg$e;
-
negativeRunDepthPredicate
- Mappings:
Namespace Name Mixin selector named negativeRunDepthPredicate
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;negativeRunDepthPredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
intermediary field_35236
Lnet/minecraft/class_6686$class_6694;field_35236:Lnet/minecraft/class_6686$class_6692;
official h
Leeg$g;h:Leeg$e;
-
surfacePredicate
- Mappings:
Namespace Name Mixin selector named surfacePredicate
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;surfacePredicate:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
intermediary field_35604
Lnet/minecraft/class_6686$class_6694;field_35604:Lnet/minecraft/class_6686$class_6692;
official i
Leeg$g;i:Leeg$e;
-
noiseConfig
- Mappings:
Namespace Name Mixin selector named noiseConfig
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;noiseConfig:Lnet/minecraft/world/gen/noise/NoiseConfig;
intermediary field_37703
Lnet/minecraft/class_6686$class_6694;field_37703:Lnet/minecraft/class_7138;
official j
Leeg$g;j:Leed;
-
chunk
- Mappings:
Namespace Name Mixin selector named chunk
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;chunk:Lnet/minecraft/world/chunk/Chunk;
intermediary field_35605
Lnet/minecraft/class_6686$class_6694;field_35605:Lnet/minecraft/class_2791;
official k
Leeg$g;k:Ldzp;
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector named chunkNoiseSampler
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
intermediary field_35676
Lnet/minecraft/class_6686$class_6694;field_35676:Lnet/minecraft/class_6568;
official l
Leeg$g;l:Ledt;
-
posToBiome
- Mappings:
Namespace Name Mixin selector named posToBiome
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;posToBiome:Ljava/util/function/Function;
intermediary field_35606
Lnet/minecraft/class_6686$class_6694;field_35606:Ljava/util/function/Function;
official m
Leeg$g;m:Ljava/util/function/Function;
-
heightContext
- Mappings:
Namespace Name Mixin selector named heightContext
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;heightContext:Lnet/minecraft/world/gen/HeightContext;
intermediary field_35241
Lnet/minecraft/class_6686$class_6694;field_35241:Lnet/minecraft/class_5868;
official n
Leeg$g;n:Leem;
-
packedChunkPos
private long packedChunkPos- Mappings:
Namespace Name Mixin selector named packedChunkPos
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;packedChunkPos:J
intermediary field_36278
Lnet/minecraft/class_6686$class_6694;field_36278:J
official o
Leeg$g;o:J
-
estimatedSurfaceHeights
private final int[] estimatedSurfaceHeights- Mappings:
Namespace Name Mixin selector named estimatedSurfaceHeights
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;estimatedSurfaceHeights:[I
intermediary field_36279
Lnet/minecraft/class_6686$class_6694;field_36279:[I
official p
Leeg$g;p:[I
-
uniqueHorizontalPosValue
long uniqueHorizontalPosValue- Mappings:
Namespace Name Mixin selector named uniqueHorizontalPosValue
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;uniqueHorizontalPosValue:J
intermediary field_35608
Lnet/minecraft/class_6686$class_6694;field_35608:J
official q
Leeg$g;q:J
-
blockX
int blockX- Mappings:
Namespace Name Mixin selector named blockX
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockX:I
intermediary field_35609
Lnet/minecraft/class_6686$class_6694;field_35609:I
official r
Leeg$g;r:I
-
blockZ
int blockZ- Mappings:
Namespace Name Mixin selector named blockZ
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockZ:I
intermediary field_35610
Lnet/minecraft/class_6686$class_6694;field_35610:I
official s
Leeg$g;s:I
-
runDepth
int runDepth- Mappings:
Namespace Name Mixin selector named runDepth
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;runDepth:I
intermediary field_35611
Lnet/minecraft/class_6686$class_6694;field_35611:I
official t
Leeg$g;t:I
-
field_35677
private long field_35677- Mappings:
Namespace Name Mixin selector named field_35677
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35677:J
intermediary field_35677
Lnet/minecraft/class_6686$class_6694;field_35677:J
official u
Leeg$g;u:J
-
secondaryDepth
private double secondaryDepth- Mappings:
Namespace Name Mixin selector named secondaryDepth
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;secondaryDepth:D
intermediary field_35678
Lnet/minecraft/class_6686$class_6694;field_35678:D
official v
Leeg$g;v:D
-
field_35679
private long field_35679- Mappings:
Namespace Name Mixin selector named field_35679
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35679:J
intermediary field_35679
Lnet/minecraft/class_6686$class_6694;field_35679:J
official w
Leeg$g;w:J
-
surfaceMinY
private int surfaceMinY- Mappings:
Namespace Name Mixin selector named surfaceMinY
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;surfaceMinY:I
intermediary field_35616
Lnet/minecraft/class_6686$class_6694;field_35616:I
official x
Leeg$g;x:I
-
uniquePosValue
long uniquePosValue- Mappings:
Namespace Name Mixin selector named uniquePosValue
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;uniquePosValue:J
intermediary field_35612
Lnet/minecraft/class_6686$class_6694;field_35612:J
official y
Leeg$g;y:J
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;pos:Lnet/minecraft/util/math/BlockPos$Mutable;
intermediary field_35613
Lnet/minecraft/class_6686$class_6694;field_35613:Lnet/minecraft/class_2338$class_2339;
official z
Leeg$g;z:Ljh$a;
-
biomeSupplier
Supplier<RegistryEntry<Biome>> biomeSupplier- Mappings:
Namespace Name Mixin selector named biomeSupplier
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;biomeSupplier:Ljava/util/function/Supplier;
intermediary field_35614
Lnet/minecraft/class_6686$class_6694;field_35614:Ljava/util/function/Supplier;
official A
Leeg$g;A:Ljava/util/function/Supplier;
-
blockY
int blockY- Mappings:
Namespace Name Mixin selector named blockY
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockY:I
intermediary field_35617
Lnet/minecraft/class_6686$class_6694;field_35617:I
official B
Leeg$g;B:I
-
fluidHeight
int fluidHeight- Mappings:
Namespace Name Mixin selector named fluidHeight
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;fluidHeight:I
intermediary field_35618
Lnet/minecraft/class_6686$class_6694;field_35618:I
official C
Leeg$g;C:I
-
stoneDepthBelow
int stoneDepthBelow- Mappings:
Namespace Name Mixin selector named stoneDepthBelow
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;stoneDepthBelow:I
intermediary field_35619
Lnet/minecraft/class_6686$class_6694;field_35619:I
official D
Leeg$g;D:I
-
stoneDepthAbove
int stoneDepthAbove- Mappings:
Namespace Name Mixin selector named stoneDepthAbove
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;stoneDepthAbove:I
intermediary field_35620
Lnet/minecraft/class_6686$class_6694;field_35620:I
official E
Leeg$g;E:I
-
-
Constructor Details
-
MaterialRuleContext
protected MaterialRuleContext(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Leeg$g;<init>(Leeh;Leed;Ldzp;Ledt;Ljava/util/function/Function;Lkd;Leem;)V
-
-
Method Details
-
initHorizontalContext
protected void initHorizontalContext(int blockX, int blockZ) - Mappings:
Namespace Name Mixin selector named initHorizontalContext
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;initHorizontalContext(II)V
intermediary method_39072
Lnet/minecraft/class_6686$class_6694;method_39072(II)V
official a
Leeg$g;a(II)V
-
initVerticalContext
protected void initVerticalContext(int stoneDepthAbove, int stoneDepthBelow, int fluidHeight, int blockX, int blockY, int blockZ) - Mappings:
Namespace Name Mixin selector named initVerticalContext
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;initVerticalContext(IIIIII)V
intermediary method_39073
Lnet/minecraft/class_6686$class_6694;method_39073(IIIIII)V
official a
Leeg$g;a(IIIIII)V
-
getSecondaryDepth
protected double getSecondaryDepth()- Mappings:
Namespace Name Mixin selector named getSecondaryDepth
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;getSecondaryDepth()D
intermediary method_39550
Lnet/minecraft/class_6686$class_6694;method_39550()D
official a
Leeg$g;a()D
-
getSeaLevel
public int getSeaLevel()- Mappings:
Namespace Name Mixin selector named getSeaLevel
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;getSeaLevel()I
intermediary method_61804
Lnet/minecraft/class_6686$class_6694;method_61804()I
official b
Leeg$g;b()I
-
blockToChunkCoord
private static int blockToChunkCoord(int blockCoord) - Mappings:
Namespace Name Mixin selector named blockToChunkCoord
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;blockToChunkCoord(I)I
intermediary method_39903
Lnet/minecraft/class_6686$class_6694;method_39903(I)I
official a
Leeg$g;a(I)I
-
chunkToBlockCoord
private static int chunkToBlockCoord(int chunkCoord) - Mappings:
Namespace Name Mixin selector named chunkToBlockCoord
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;chunkToBlockCoord(I)I
intermediary method_39904
Lnet/minecraft/class_6686$class_6694;method_39904(I)I
official b
Leeg$g;b(I)I
-
estimateSurfaceHeight
protected int estimateSurfaceHeight()- Mappings:
Namespace Name Mixin selector named estimateSurfaceHeight
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;estimateSurfaceHeight()I
intermediary method_39551
Lnet/minecraft/class_6686$class_6694;method_39551()I
official c
Leeg$g;c()I
-