Package net.minecraft.world.gen
Class AquiferSampler
java.lang.Object
net.minecraft.world.gen.AquiferSampler
public class AquiferSampler extends Object
- Mappings:
Namespace Name official cmfintermediary net/minecraft/class_5832named net/minecraft/world/gen/AquiferSampler
-
Field Summary
Fields Modifier and Type Field Description private long[]blockPositionsprivate NoiseColumnSamplercolumnSamplerprivate doubledensityAdditionprivate DoublePerlinNoiseSamplerfield_28813private booleanneedsFluidTickprivate ChunkGeneratorSettingssettingsprivate intsizeXprivate intsizeZprivate intstartXprivate intstartYprivate intstartZprivate intwaterLevelprivate DoublePerlinNoiseSamplerwaterLevelNoiseprivate int[]waterLevels -
Constructor Summary
Constructors Constructor Description AquiferSampler(int x, int z, DoublePerlinNoiseSampler doublePerlinNoiseSampler, DoublePerlinNoiseSampler waterLevelNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int height) -
Method Summary
Modifier and Type Method Description protected voidapply(int x, int y, int z)doublegetDensityAddition()private intgetLocalX(int x)private intgetLocalY(int y)private intgetLocalZ(int z)intgetWaterLevel()private intgetWaterLevel(int x, int y, int z)private intgetWaterLevel(long pos)private intindex(int x, int y, int z)private doublemethod_33735(int int2, double double2, int int3, int int4)private doublemethod_33736(int int2, int int3)booleanneedsFluidTick()
-
Field Details
-
field_28813
- Mappings:
Namespace Name Mixin selector official aLcmf;a:Lczw;intermediary field_28813Lnet/minecraft/class_5832;field_28813:Lnet/minecraft/class_5216;named field_28813Lnet/minecraft/world/gen/AquiferSampler;field_28813:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
waterLevelNoise
- Mappings:
Namespace Name Mixin selector official bLcmf;b:Lczw;intermediary field_28814Lnet/minecraft/class_5832;field_28814:Lnet/minecraft/class_5216;named waterLevelNoiseLnet/minecraft/world/gen/AquiferSampler;waterLevelNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
settings
- Mappings:
Namespace Name Mixin selector official cLcmf;c:Lcmu;intermediary field_28815Lnet/minecraft/class_5832;field_28815:Lnet/minecraft/class_5284;named settingsLnet/minecraft/world/gen/AquiferSampler;settings:Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
waterLevels
private final int[] waterLevels- Mappings:
Namespace Name Mixin selector official dLcmf;d:[Iintermediary field_28816Lnet/minecraft/class_5832;field_28816:[Inamed waterLevelsLnet/minecraft/world/gen/AquiferSampler;waterLevels:[I
-
blockPositions
private final long[] blockPositions- Mappings:
Namespace Name Mixin selector official eLcmf;e:[Jintermediary field_28817Lnet/minecraft/class_5832;field_28817:[Jnamed blockPositionsLnet/minecraft/world/gen/AquiferSampler;blockPositions:[J
-
densityAddition
private double densityAddition- Mappings:
Namespace Name Mixin selector official fLcmf;f:Dintermediary field_28818Lnet/minecraft/class_5832;field_28818:Dnamed densityAdditionLnet/minecraft/world/gen/AquiferSampler;densityAddition:D
-
waterLevel
private int waterLevel- Mappings:
Namespace Name Mixin selector official gLcmf;g:Iintermediary field_28819Lnet/minecraft/class_5832;field_28819:Inamed waterLevelLnet/minecraft/world/gen/AquiferSampler;waterLevel:I
-
needsFluidTick
private boolean needsFluidTick- Mappings:
Namespace Name Mixin selector official hLcmf;h:Zintermediary field_28820Lnet/minecraft/class_5832;field_28820:Znamed needsFluidTickLnet/minecraft/world/gen/AquiferSampler;needsFluidTick:Z
-
columnSampler
- Mappings:
Namespace Name Mixin selector official iLcmf;i:Lcmv;intermediary field_28821Lnet/minecraft/class_5832;field_28821:Lnet/minecraft/class_5818;named columnSamplerLnet/minecraft/world/gen/AquiferSampler;columnSampler:Lnet/minecraft/world/gen/NoiseColumnSampler;
-
startX
private final int startX- Mappings:
Namespace Name Mixin selector official jLcmf;j:Iintermediary field_28822Lnet/minecraft/class_5832;field_28822:Inamed startXLnet/minecraft/world/gen/AquiferSampler;startX:I
-
startY
private final int startY- Mappings:
Namespace Name Mixin selector official kLcmf;k:Iintermediary field_28823Lnet/minecraft/class_5832;field_28823:Inamed startYLnet/minecraft/world/gen/AquiferSampler;startY:I
-
startZ
private final int startZ- Mappings:
Namespace Name Mixin selector official lLcmf;l:Iintermediary field_28824Lnet/minecraft/class_5832;field_28824:Inamed startZLnet/minecraft/world/gen/AquiferSampler;startZ:I
-
sizeX
private final int sizeX- Mappings:
Namespace Name Mixin selector official mLcmf;m:Iintermediary field_28825Lnet/minecraft/class_5832;field_28825:Inamed sizeXLnet/minecraft/world/gen/AquiferSampler;sizeX:I
-
sizeZ
private final int sizeZ- Mappings:
Namespace Name Mixin selector official nLcmf;n:Iintermediary field_28826Lnet/minecraft/class_5832;field_28826:Inamed sizeZLnet/minecraft/world/gen/AquiferSampler;sizeZ:I
-
-
Constructor Details
-
AquiferSampler
public AquiferSampler(int x, int z, DoublePerlinNoiseSampler doublePerlinNoiseSampler, DoublePerlinNoiseSampler waterLevelNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int height)- Mappings:
Namespace Name Mixin selector official <init>Lcmf;<init>(IILczw;Lczw;Lcmu;Lcmv;I)Vintermediary <init>Lnet/minecraft/class_5832;<init>(IILnet/minecraft/class_5216;Lnet/minecraft/class_5216;Lnet/minecraft/class_5284;Lnet/minecraft/class_5818;I)Vnamed <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 bLcmf;b(III)Iintermediary method_33741Lnet/minecraft/class_5832;method_33741(III)Inamed indexLnet/minecraft/world/gen/AquiferSampler;index(III)I
-
apply
protected void apply(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official aLcmf;a(III)Vintermediary method_33737Lnet/minecraft/class_5832;method_33737(III)Vnamed applyLnet/minecraft/world/gen/AquiferSampler;apply(III)V
-
method_33736
private double method_33736(int int2, int int3)- Mappings:
Namespace Name Mixin selector official aLcmf;a(II)Dintermediary method_33736Lnet/minecraft/class_5832;method_33736(II)Dnamed method_33736Lnet/minecraft/world/gen/AquiferSampler;method_33736(II)D
-
method_33735
private double method_33735(int int2, double double2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official aLcmf;a(IDII)Dintermediary method_33735Lnet/minecraft/class_5832;method_33735(IDII)Dnamed method_33735Lnet/minecraft/world/gen/AquiferSampler;method_33735(IDII)D
-
getLocalX
private int getLocalX(int x)- Mappings:
Namespace Name Mixin selector official aLcmf;a(I)Iintermediary method_33734Lnet/minecraft/class_5832;method_33734(I)Inamed getLocalXLnet/minecraft/world/gen/AquiferSampler;getLocalX(I)I
-
getLocalY
private int getLocalY(int y)- Mappings:
Namespace Name Mixin selector official bLcmf;b(I)Iintermediary method_33740Lnet/minecraft/class_5832;method_33740(I)Inamed getLocalYLnet/minecraft/world/gen/AquiferSampler;getLocalY(I)I
-
getLocalZ
private int getLocalZ(int z)- Mappings:
Namespace Name Mixin selector official cLcmf;c(I)Iintermediary method_33743Lnet/minecraft/class_5832;method_33743(I)Inamed getLocalZLnet/minecraft/world/gen/AquiferSampler;getLocalZ(I)I
-
getWaterLevel
private int getWaterLevel(long pos)- Mappings:
Namespace Name Mixin selector official aLcmf;a(J)Iintermediary method_33738Lnet/minecraft/class_5832;method_33738(J)Inamed getWaterLevelLnet/minecraft/world/gen/AquiferSampler;getWaterLevel(J)I
-
getWaterLevel
private int getWaterLevel(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official cLcmf;c(III)Iintermediary method_33744Lnet/minecraft/class_5832;method_33744(III)Inamed getWaterLevelLnet/minecraft/world/gen/AquiferSampler;getWaterLevel(III)I
-
getWaterLevel
public int getWaterLevel()- Mappings:
Namespace Name Mixin selector official aLcmf;a()Iintermediary method_33733Lnet/minecraft/class_5832;method_33733()Inamed getWaterLevelLnet/minecraft/world/gen/AquiferSampler;getWaterLevel()I
-
getDensityAddition
public double getDensityAddition()- Mappings:
Namespace Name Mixin selector official bLcmf;b()Dintermediary method_33739Lnet/minecraft/class_5832;method_33739()Dnamed getDensityAdditionLnet/minecraft/world/gen/AquiferSampler;getDensityAddition()D
-
needsFluidTick
public boolean needsFluidTick()- Mappings:
Namespace Name Mixin selector official cLcmf;c()Zintermediary method_33742Lnet/minecraft/class_5832;method_33742()Znamed needsFluidTickLnet/minecraft/world/gen/AquiferSampler;needsFluidTick()Z
-