Package net.minecraft.world.gen
Class AquiferSampler
java.lang.Object
net.minecraft.world.gen.AquiferSampler
public class AquiferSampler extends Object
- Mappings:
Namespace Name official cmz
intermediary net/minecraft/class_5832
named net/minecraft/world/gen/AquiferSampler
-
Field Summary
Fields Modifier and Type Field Description private long[]
blockPositions
private NoiseColumnSampler
columnSampler
private double
densityAddition
private DoublePerlinNoiseSampler
edgeDensityNoise
private boolean
needsFluidTick
private ChunkGeneratorSettings
settings
private int
sizeX
private int
sizeZ
private int
startX
private int
startY
private int
startZ
private int
waterLevel
private DoublePerlinNoiseSampler
waterLevelNoise
private int[]
waterLevels
-
Constructor Summary
Constructors Constructor Description AquiferSampler(int x, int z, DoublePerlinNoiseSampler edgeDensityNoise, DoublePerlinNoiseSampler waterLevelNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int height)
-
Method Summary
Modifier and Type Method Description protected void
apply(int x, int y, int z)
private double
calculateDensity(int y, double noise, int a, int b)
double
getDensityAddition()
private int
getLocalX(int x)
private int
getLocalY(int y)
private int
getLocalZ(int z)
int
getWaterLevel()
private int
getWaterLevel(int x, int y, int z)
private int
getWaterLevel(long pos)
private int
index(int x, int y, int z)
private double
maxDistance(int a, int b)
boolean
needsFluidTick()
-
Field Details
-
edgeDensityNoise
- Mappings:
Namespace Name Mixin selector official a
Lcmz;a:Ldbh;
intermediary field_28813
Lnet/minecraft/class_5832;field_28813:Lnet/minecraft/class_5216;
named edgeDensityNoise
Lnet/minecraft/world/gen/AquiferSampler;edgeDensityNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
waterLevelNoise
- Mappings:
Namespace Name Mixin selector official b
Lcmz;b:Ldbh;
intermediary field_28814
Lnet/minecraft/class_5832;field_28814:Lnet/minecraft/class_5216;
named waterLevelNoise
Lnet/minecraft/world/gen/AquiferSampler;waterLevelNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
settings
- Mappings:
Namespace Name Mixin selector official c
Lcmz;c:Lcno;
intermediary field_28815
Lnet/minecraft/class_5832;field_28815:Lnet/minecraft/class_5284;
named settings
Lnet/minecraft/world/gen/AquiferSampler;settings:Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
waterLevels
private final int[] waterLevels- Mappings:
Namespace Name Mixin selector official d
Lcmz;d:[I
intermediary field_28816
Lnet/minecraft/class_5832;field_28816:[I
named waterLevels
Lnet/minecraft/world/gen/AquiferSampler;waterLevels:[I
-
blockPositions
private final long[] blockPositions- Mappings:
Namespace Name Mixin selector official e
Lcmz;e:[J
intermediary field_28817
Lnet/minecraft/class_5832;field_28817:[J
named blockPositions
Lnet/minecraft/world/gen/AquiferSampler;blockPositions:[J
-
densityAddition
private double densityAddition- Mappings:
Namespace Name Mixin selector official f
Lcmz;f:D
intermediary field_28818
Lnet/minecraft/class_5832;field_28818:D
named densityAddition
Lnet/minecraft/world/gen/AquiferSampler;densityAddition:D
-
waterLevel
private int waterLevel- Mappings:
Namespace Name Mixin selector official g
Lcmz;g:I
intermediary field_28819
Lnet/minecraft/class_5832;field_28819:I
named waterLevel
Lnet/minecraft/world/gen/AquiferSampler;waterLevel:I
-
needsFluidTick
private boolean needsFluidTick- Mappings:
Namespace Name Mixin selector official h
Lcmz;h:Z
intermediary field_28820
Lnet/minecraft/class_5832;field_28820:Z
named needsFluidTick
Lnet/minecraft/world/gen/AquiferSampler;needsFluidTick:Z
-
columnSampler
- Mappings:
Namespace Name Mixin selector official i
Lcmz;i:Lcnq;
intermediary field_28821
Lnet/minecraft/class_5832;field_28821:Lnet/minecraft/class_5818;
named columnSampler
Lnet/minecraft/world/gen/AquiferSampler;columnSampler:Lnet/minecraft/world/gen/NoiseColumnSampler;
-
startX
private final int startX- Mappings:
Namespace Name Mixin selector official j
Lcmz;j:I
intermediary field_28822
Lnet/minecraft/class_5832;field_28822:I
named startX
Lnet/minecraft/world/gen/AquiferSampler;startX:I
-
startY
private final int startY- Mappings:
Namespace Name Mixin selector official k
Lcmz;k:I
intermediary field_28823
Lnet/minecraft/class_5832;field_28823:I
named startY
Lnet/minecraft/world/gen/AquiferSampler;startY:I
-
startZ
private final int startZ- Mappings:
Namespace Name Mixin selector official l
Lcmz;l:I
intermediary field_28824
Lnet/minecraft/class_5832;field_28824:I
named startZ
Lnet/minecraft/world/gen/AquiferSampler;startZ:I
-
sizeX
private final int sizeX- Mappings:
Namespace Name Mixin selector official m
Lcmz;m:I
intermediary field_28825
Lnet/minecraft/class_5832;field_28825:I
named sizeX
Lnet/minecraft/world/gen/AquiferSampler;sizeX:I
-
sizeZ
private final int sizeZ- Mappings:
Namespace Name Mixin selector official n
Lcmz;n:I
intermediary field_28826
Lnet/minecraft/class_5832;field_28826:I
named sizeZ
Lnet/minecraft/world/gen/AquiferSampler;sizeZ:I
-
-
Constructor Details
-
AquiferSampler
public AquiferSampler(int x, int z, DoublePerlinNoiseSampler edgeDensityNoise, DoublePerlinNoiseSampler waterLevelNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int height)- Mappings:
Namespace Name Mixin selector official <init>
Lcmz;<init>(IILdbh;Ldbh;Lcno;Lcnq;I)V
intermediary <init>
Lnet/minecraft/class_5832;<init>(IILnet/minecraft/class_5216;Lnet/minecraft/class_5216;Lnet/minecraft/class_5284;Lnet/minecraft/class_5818;I)V
named <init>
Lnet/minecraft/world/gen/AquiferSampler;<init>(IILnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;Lnet/minecraft/world/gen/NoiseColumnSampler;I)V
-
-
Method Details
-
index
private int index(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official b
Lcmz;b(III)I
intermediary method_33741
Lnet/minecraft/class_5832;method_33741(III)I
named index
Lnet/minecraft/world/gen/AquiferSampler;index(III)I
-
apply
protected void apply(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(III)V
intermediary method_33737
Lnet/minecraft/class_5832;method_33737(III)V
named apply
Lnet/minecraft/world/gen/AquiferSampler;apply(III)V
-
maxDistance
private double maxDistance(int a, int b)- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(II)D
intermediary method_33736
Lnet/minecraft/class_5832;method_33736(II)D
named maxDistance
Lnet/minecraft/world/gen/AquiferSampler;maxDistance(II)D
-
calculateDensity
private double calculateDensity(int y, double noise, int a, int b)- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(IDII)D
intermediary method_33735
Lnet/minecraft/class_5832;method_33735(IDII)D
named calculateDensity
Lnet/minecraft/world/gen/AquiferSampler;calculateDensity(IDII)D
-
getLocalX
private int getLocalX(int x)- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(I)I
intermediary method_33734
Lnet/minecraft/class_5832;method_33734(I)I
named getLocalX
Lnet/minecraft/world/gen/AquiferSampler;getLocalX(I)I
-
getLocalY
private int getLocalY(int y)- Mappings:
Namespace Name Mixin selector official b
Lcmz;b(I)I
intermediary method_33740
Lnet/minecraft/class_5832;method_33740(I)I
named getLocalY
Lnet/minecraft/world/gen/AquiferSampler;getLocalY(I)I
-
getLocalZ
private int getLocalZ(int z)- Mappings:
Namespace Name Mixin selector official c
Lcmz;c(I)I
intermediary method_33743
Lnet/minecraft/class_5832;method_33743(I)I
named getLocalZ
Lnet/minecraft/world/gen/AquiferSampler;getLocalZ(I)I
-
getWaterLevel
private int getWaterLevel(long pos)- Mappings:
Namespace Name Mixin selector official a
Lcmz;a(J)I
intermediary method_33738
Lnet/minecraft/class_5832;method_33738(J)I
named getWaterLevel
Lnet/minecraft/world/gen/AquiferSampler;getWaterLevel(J)I
-
getWaterLevel
private int getWaterLevel(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official c
Lcmz;c(III)I
intermediary method_33744
Lnet/minecraft/class_5832;method_33744(III)I
named getWaterLevel
Lnet/minecraft/world/gen/AquiferSampler;getWaterLevel(III)I
-
getWaterLevel
public int getWaterLevel()- Mappings:
Namespace Name Mixin selector official a
Lcmz;a()I
intermediary method_33733
Lnet/minecraft/class_5832;method_33733()I
named getWaterLevel
Lnet/minecraft/world/gen/AquiferSampler;getWaterLevel()I
-
getDensityAddition
public double getDensityAddition()- Mappings:
Namespace Name Mixin selector official b
Lcmz;b()D
intermediary method_33739
Lnet/minecraft/class_5832;method_33739()D
named getDensityAddition
Lnet/minecraft/world/gen/AquiferSampler;getDensityAddition()D
-
needsFluidTick
public boolean needsFluidTick()- Mappings:
Namespace Name Mixin selector official c
Lcmz;c()Z
intermediary method_33742
Lnet/minecraft/class_5832;method_33742()Z
named needsFluidTick
Lnet/minecraft/world/gen/AquiferSampler;needsFluidTick()Z
-