Class MaterialRules.MaterialRuleContext
java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialRuleContext
- Enclosing class:
- MaterialRules
- Mappings:
Namespace Name official ctm$g
intermediary net/minecraft/class_6686$class_6694
named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext
-
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<RegistryKey<Biome>>
(package private) final MaterialRules.BooleanSupplier
(package private) final Chunk
private final ChunkNoiseSampler
private long
private int
private long
(package private) int
(package private) final HeightContext
(package private) final MaterialRules.BooleanSupplier
(package private) final BlockPos.Mutable
(package private) int
(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
(package private) int
(package private) int
(package private) int
-
Constructor Summary
ModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, Biome> function, Registry<Biome> registry, HeightContext heightContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
initHorizontalContext
(int x, int z) protected void
initVerticalContext
(int int2, int int3, int int4, int int5, int int6, int int7) protected int
protected int
-
Field Details
-
surfaceBuilder
- Mappings:
Namespace Name Mixin selector official a
Lctm$g;a:Lctn;
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
- Mappings:
Namespace Name Mixin selector official b
Lctm$g;b:Lctm$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
- Mappings:
Namespace Name Mixin selector official c
Lctm$g;c:Lctm$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
- Mappings:
Namespace Name Mixin selector official d
Lctm$g;d:Lctm$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
- Mappings:
Namespace Name Mixin selector official e
Lctm$g;e:Lctm$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;
-
chunk
- Mappings:
Namespace Name Mixin selector official f
Lctm$g;f:Lcpr;
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;
-
field_35676
- Mappings:
Namespace Name Mixin selector official g
Lctm$g;g:Lcsy;
intermediary field_35676
Lnet/minecraft/class_6686$class_6694;field_35676:Lnet/minecraft/class_6568;
named field_35676
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35676:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
-
posToBiome
- Mappings:
Namespace Name Mixin selector official h
Lctm$g;h: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;
-
biomeRegistry
- Mappings:
Namespace Name Mixin selector official i
Lctm$g;i:Lgx;
intermediary field_35607
Lnet/minecraft/class_6686$class_6694;field_35607:Lnet/minecraft/class_2378;
named biomeRegistry
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;biomeRegistry:Lnet/minecraft/util/registry/Registry;
-
heightContext
- Mappings:
Namespace Name Mixin selector official j
Lctm$g;j:Lctr;
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;
-
uniqueHorizontalPosValue
long uniqueHorizontalPosValue- Mappings:
Namespace Name Mixin selector official k
Lctm$g;k:J
intermediary field_35608
Lnet/minecraft/class_6686$class_6694;field_35608:J
named uniqueHorizontalPosValue
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;uniqueHorizontalPosValue:J
-
x
int x- Mappings:
Namespace Name Mixin selector official l
Lctm$g;l:I
intermediary field_35609
Lnet/minecraft/class_6686$class_6694;field_35609:I
named x
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;x:I
-
z
int z- Mappings:
Namespace Name Mixin selector official m
Lctm$g;m:I
intermediary field_35610
Lnet/minecraft/class_6686$class_6694;field_35610:I
named z
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;z:I
-
runDepth
int runDepth- Mappings:
Namespace Name Mixin selector official n
Lctm$g;n: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 o
Lctm$g;o: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 int field_35678- Mappings:
Namespace Name Mixin selector official p
Lctm$g;p:I
intermediary field_35678
Lnet/minecraft/class_6686$class_6694;field_35678:I
named field_35678
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;field_35678:I
-
field_35679
private long field_35679- Mappings:
Namespace Name Mixin selector official q
Lctm$g;q: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 r
Lctm$g;r: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 s
Lctm$g;s: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
- Mappings:
Namespace Name Mixin selector official t
Lctm$g;t:Lgh$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
- Mappings:
Namespace Name Mixin selector official u
Lctm$g;u: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;
-
biomeKeySupplier
Supplier<RegistryKey<Biome>> biomeKeySupplier- Mappings:
Namespace Name Mixin selector official v
Lctm$g;v:Ljava/util/function/Supplier;
intermediary field_35615
Lnet/minecraft/class_6686$class_6694;field_35615:Ljava/util/function/Supplier;
named biomeKeySupplier
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;biomeKeySupplier:Ljava/util/function/Supplier;
-
y
int y- Mappings:
Namespace Name Mixin selector official w
Lctm$g;w:I
intermediary field_35617
Lnet/minecraft/class_6686$class_6694;field_35617:I
named y
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;y:I
-
fluidHeight
int fluidHeight- Mappings:
Namespace Name Mixin selector official x
Lctm$g;x: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 y
Lctm$g;y: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 z
Lctm$g;z: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, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, Biome> function, Registry<Biome> registry, HeightContext heightContext) - Mappings:
Namespace Name Mixin selector official <init>
Lctm$g;<init>(Lctn;Lcpr;Lcsy;Ljava/util/function/Function;Lgx;Lctr;)V
intermediary <init>
Lnet/minecraft/class_6686$class_6694;<init>(Lnet/minecraft/class_6724;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/chunk/Chunk;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Ljava/util/function/Function;Lnet/minecraft/util/registry/Registry;Lnet/minecraft/world/gen/HeightContext;)V
-
-
Method Details
-
initHorizontalContext
protected void initHorizontalContext(int x, int z) - Mappings:
Namespace Name Mixin selector official a
Lctm$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 int2, int int3, int int4, int int5, int int6, int int7) - Mappings:
Namespace Name Mixin selector official a
Lctm$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 int method_39550()- Mappings:
Namespace Name Mixin selector official a
Lctm$g;a()I
intermediary method_39550
Lnet/minecraft/class_6686$class_6694;method_39550()I
named method_39550
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;method_39550()I
-
method_39551
protected int method_39551()- Mappings:
Namespace Name Mixin selector official b
Lctm$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
-