Package net.minecraft.world.gen.chunk
Class AquiferSampler.Impl
java.lang.Object
net.minecraft.world.gen.chunk.AquiferSampler.Impl
- All Implemented Interfaces:
AquiferSampler
- Enclosing interface:
AquiferSampler
- Mappings:
Namespace Name official czf$c
intermediary net/minecraft/class_6350$class_5832
named net/minecraft/world/gen/chunk/AquiferSampler$Impl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.gen.chunk.AquiferSampler
AquiferSampler.FluidLevel, AquiferSampler.FluidLevelSampler, AquiferSampler.Impl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DensityFunction
private final long[]
private final ChunkNoiseSampler
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int[][]
private static final int
private static final double
private final DensityFunction
private final DensityFunction
private final DensityFunction
private final AquiferSampler.FluidLevelSampler
private final DensityFunction
private final DensityFunction
private boolean
private final RandomSplitter
private final int
private final int
private final int
private final int
private final int
private final AquiferSampler.FluidLevel[]
-
Constructor Summary
ConstructorDescriptionImpl
(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, NoiseRouter noiseRouter, RandomSplitter randomSplitter, int int2, int int3, AquiferSampler.FluidLevelSampler fluidLevelSampler) -
Method Summary
Modifier and TypeMethodDescriptionapply
(DensityFunction.NoisePos noisePos, double double2) private double
calculateDensity
(DensityFunction.NoisePos noisePos, MutableDouble mutableDouble, AquiferSampler.FluidLevel fluidLevel, AquiferSampler.FluidLevel fluidLevel2) private int
getLocalX
(int x) private int
getLocalY
(int y) private int
getLocalZ
(int z) private AquiferSampler.FluidLevel
getWaterLevel
(long pos) private int
index
(int x, int y, int z) private static double
maxDistance
(int int2, int a) private AquiferSampler.FluidLevel
method_40463
(int int2, int int3, int int4) private int
method_42352
(int int2, int int3, int int4, int int5) private BlockState
method_42353
(int int2, int int3, int int4, AquiferSampler.FluidLevel fluidLevel, int int5) private int
method_42354
(int int2, int int3, int int4, AquiferSampler.FluidLevel fluidLevel, int int5, boolean bool) boolean
-
Field Details
-
field_31451
private static final int field_31451- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lczf$c;a:I
intermediary field_31451
Lnet/minecraft/class_6350$class_5832;field_31451:I
named field_31451
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31451:I
-
field_31452
private static final int field_31452- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lczf$c;b:I
intermediary field_31452
Lnet/minecraft/class_6350$class_5832;field_31452:I
named field_31452
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31452:I
-
field_31453
private static final int field_31453- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lczf$c;c:I
intermediary field_31453
Lnet/minecraft/class_6350$class_5832;field_31453:I
named field_31453
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31453:I
-
field_31454
private static final int field_31454- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lczf$c;d:I
intermediary field_31454
Lnet/minecraft/class_6350$class_5832;field_31454:I
named field_31454
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31454:I
-
field_31455
private static final int field_31455- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lczf$c;e:I
intermediary field_31455
Lnet/minecraft/class_6350$class_5832;field_31455:I
named field_31455
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31455:I
-
field_31456
private static final int field_31456- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lczf$c;f:I
intermediary field_31456
Lnet/minecraft/class_6350$class_5832;field_31456:I
named field_31456
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31456:I
-
field_31457
private static final int field_31457- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lczf$c;g:I
intermediary field_31457
Lnet/minecraft/class_6350$class_5832;field_31457:I
named field_31457
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31457:I
-
field_31458
private static final int field_31458- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lczf$c;h:I
intermediary field_31458
Lnet/minecraft/class_6350$class_5832;field_31458:I
named field_31458
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31458:I
-
field_31459
private static final int field_31459- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lczf$c;i:I
intermediary field_31459
Lnet/minecraft/class_6350$class_5832;field_31459:I
named field_31459
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31459:I
-
field_36220
private static final int field_36220- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lczf$c;j:I
intermediary field_36220
Lnet/minecraft/class_6350$class_5832;field_36220:I
named field_36220
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_36220:I
-
field_36221
private static final double field_36221- Mappings:
Namespace Name Mixin selector official k
Lczf$c;k:D
intermediary field_36221
Lnet/minecraft/class_6350$class_5832;field_36221:D
named field_36221
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_36221:D
-
field_34581
private static final int[][] field_34581- Mappings:
Namespace Name Mixin selector official C
Lczf$c;C:[[I
intermediary field_34581
Lnet/minecraft/class_6350$class_5832;field_34581:[[I
named field_34581
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_34581:[[I
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector official l
Lczf$c;l:Lczx;
intermediary field_34578
Lnet/minecraft/class_6350$class_5832;field_34578:Lnet/minecraft/class_6568;
named chunkNoiseSampler
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
-
barrierNoise
- Mappings:
Namespace Name Mixin selector official m
Lczf$c;m:Lczm;
intermediary field_28813
Lnet/minecraft/class_6350$class_5832;field_28813:Lnet/minecraft/class_6910;
named barrierNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;barrierNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
fluidLevelFloodednessNoise
- Mappings:
Namespace Name Mixin selector official n
Lczf$c;n:Lczm;
intermediary field_35122
Lnet/minecraft/class_6350$class_5832;field_35122:Lnet/minecraft/class_6910;
named fluidLevelFloodednessNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelFloodednessNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
fluidLevelSpreadNoise
- Mappings:
Namespace Name Mixin selector official o
Lczf$c;o:Lczm;
intermediary field_35123
Lnet/minecraft/class_6350$class_5832;field_35123:Lnet/minecraft/class_6910;
named fluidLevelSpreadNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelSpreadNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
fluidTypeNoise
- Mappings:
Namespace Name Mixin selector official p
Lczf$c;p:Lczm;
intermediary field_33575
Lnet/minecraft/class_6350$class_5832;field_33575:Lnet/minecraft/class_6910;
named fluidTypeNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidTypeNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
randomDeriver
- Mappings:
Namespace Name Mixin selector official q
Lczf$c;q:Ldag;
intermediary field_34579
Lnet/minecraft/class_6350$class_5832;field_34579:Lnet/minecraft/class_6574;
named randomDeriver
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;randomDeriver:Lnet/minecraft/util/math/random/RandomSplitter;
-
waterLevels
- Mappings:
Namespace Name Mixin selector official r
Lczf$c;r:[Lczf$b;
intermediary field_28816
Lnet/minecraft/class_6350$class_5832;field_28816:[Lnet/minecraft/class_6350$class_6351;
named waterLevels
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;waterLevels:[Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
-
blockPositions
private final long[] blockPositions- Mappings:
Namespace Name Mixin selector official s
Lczf$c;s:[J
intermediary field_28817
Lnet/minecraft/class_6350$class_5832;field_28817:[J
named blockPositions
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;blockPositions:[J
-
fluidLevelSampler
- Mappings:
Namespace Name Mixin selector official t
Lczf$c;t:Lczf$a;
intermediary field_34580
Lnet/minecraft/class_6350$class_5832;field_34580:Lnet/minecraft/class_6350$class_6565;
named fluidLevelSampler
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelSampler:Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevelSampler;
-
field_38246
- Mappings:
Namespace Name Mixin selector official u
Lczf$c;u:Lczm;
intermediary field_38246
Lnet/minecraft/class_6350$class_5832;field_38246:Lnet/minecraft/class_6910;
named field_38246
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_38246:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
field_38247
- Mappings:
Namespace Name Mixin selector official v
Lczf$c;v:Lczm;
intermediary field_38247
Lnet/minecraft/class_6350$class_5832;field_38247:Lnet/minecraft/class_6910;
named field_38247
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_38247:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
needsFluidTick
private boolean needsFluidTick- Mappings:
Namespace Name Mixin selector official w
Lczf$c;w:Z
intermediary field_28820
Lnet/minecraft/class_6350$class_5832;field_28820:Z
named needsFluidTick
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;needsFluidTick:Z
-
startX
private final int startX- Mappings:
Namespace Name Mixin selector official x
Lczf$c;x:I
intermediary field_28822
Lnet/minecraft/class_6350$class_5832;field_28822:I
named startX
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;startX:I
-
startY
private final int startY- Mappings:
Namespace Name Mixin selector official y
Lczf$c;y:I
intermediary field_28823
Lnet/minecraft/class_6350$class_5832;field_28823:I
named startY
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;startY:I
-
startZ
private final int startZ- Mappings:
Namespace Name Mixin selector official z
Lczf$c;z:I
intermediary field_28824
Lnet/minecraft/class_6350$class_5832;field_28824:I
named startZ
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;startZ:I
-
sizeX
private final int sizeX- Mappings:
Namespace Name Mixin selector official A
Lczf$c;A:I
intermediary field_28825
Lnet/minecraft/class_6350$class_5832;field_28825:I
named sizeX
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;sizeX:I
-
sizeZ
private final int sizeZ- Mappings:
Namespace Name Mixin selector official B
Lczf$c;B:I
intermediary field_28826
Lnet/minecraft/class_6350$class_5832;field_28826:I
named sizeZ
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;sizeZ:I
-
-
Constructor Details
-
Impl
Impl(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, NoiseRouter noiseRouter, RandomSplitter randomSplitter, int int2, int int3, AquiferSampler.FluidLevelSampler fluidLevelSampler) - Mappings:
Namespace Name Mixin selector official <init>
Lczf$c;<init>(Lczx;Lcfh;Lczz;Ldag;IILczf$a;)V
intermediary <init>
Lnet/minecraft/class_6350$class_5832;<init>(Lnet/minecraft/class_6568;Lnet/minecraft/class_1923;Lnet/minecraft/class_6953;Lnet/minecraft/class_6574;IILnet/minecraft/class_6350$class_6565;)V
named <init>
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;<init>(Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/gen/noise/NoiseRouter;Lnet/minecraft/util/math/random/RandomSplitter;IILnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevelSampler;)V
-
-
Method Details
-
index
private int index(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(III)I
intermediary method_33741
Lnet/minecraft/class_6350$class_5832;method_33741(III)I
named index
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;index(III)I
-
apply
- Specified by:
apply
in interfaceAquiferSampler
- Mappings:
Namespace Name Mixin selector official a
Lczf;a(Lczm$b;D)Lcur;
intermediary method_38317
Lnet/minecraft/class_6350;method_38317(Lnet/minecraft/class_6910$class_6912;D)Lnet/minecraft/class_2680;
named apply
Lnet/minecraft/world/gen/chunk/AquiferSampler;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)Lnet/minecraft/block/BlockState;
-
needsFluidTick
public boolean needsFluidTick()- Specified by:
needsFluidTick
in interfaceAquiferSampler
- Mappings:
Namespace Name Mixin selector official a
Lczf;a()Z
intermediary method_33742
Lnet/minecraft/class_6350;method_33742()Z
named needsFluidTick
Lnet/minecraft/world/gen/chunk/AquiferSampler;needsFluidTick()Z
-
maxDistance
private static double maxDistance(int int2, int a) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(II)D
intermediary method_33736
Lnet/minecraft/class_6350$class_5832;method_33736(II)D
named maxDistance
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;maxDistance(II)D
-
calculateDensity
private double calculateDensity(DensityFunction.NoisePos noisePos, MutableDouble mutableDouble, AquiferSampler.FluidLevel fluidLevel, AquiferSampler.FluidLevel fluidLevel2) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(Lczm$b;Lorg/apache/commons/lang3/mutable/MutableDouble;Lczf$b;Lczf$b;)D
intermediary method_33735
Lnet/minecraft/class_6350$class_5832;method_33735(Lnet/minecraft/class_6910$class_6912;Lorg/apache/commons/lang3/mutable/MutableDouble;Lnet/minecraft/class_6350$class_6351;Lnet/minecraft/class_6350$class_6351;)D
named calculateDensity
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;calculateDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;Lorg/apache/commons/lang3/mutable/MutableDouble;Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;)D
-
getLocalX
private int getLocalX(int x) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(I)I
intermediary method_33734
Lnet/minecraft/class_6350$class_5832;method_33734(I)I
named getLocalX
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getLocalX(I)I
-
getLocalY
private int getLocalY(int y) - Mappings:
Namespace Name Mixin selector official b
Lczf$c;b(I)I
intermediary method_33740
Lnet/minecraft/class_6350$class_5832;method_33740(I)I
named getLocalY
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getLocalY(I)I
-
getLocalZ
private int getLocalZ(int z) - Mappings:
Namespace Name Mixin selector official c
Lczf$c;c(I)I
intermediary method_33743
Lnet/minecraft/class_6350$class_5832;method_33743(I)I
named getLocalZ
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getLocalZ(I)I
-
getWaterLevel
- Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(J)Lczf$b;
intermediary method_33738
Lnet/minecraft/class_6350$class_5832;method_33738(J)Lnet/minecraft/class_6350$class_6351;
named getWaterLevel
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getWaterLevel(J)Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
-
method_40463
- Mappings:
Namespace Name Mixin selector official b
Lczf$c;b(III)Lczf$b;
intermediary method_40463
Lnet/minecraft/class_6350$class_5832;method_40463(III)Lnet/minecraft/class_6350$class_6351;
named method_40463
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;method_40463(III)Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
-
method_42354
private int method_42354(int int2, int int3, int int4, AquiferSampler.FluidLevel fluidLevel, int int5, boolean bool) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(IIILczf$b;IZ)I
intermediary method_42354
Lnet/minecraft/class_6350$class_5832;method_42354(IIILnet/minecraft/class_6350$class_6351;IZ)I
named method_42354
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;method_42354(IIILnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;IZ)I
-
method_42352
private int method_42352(int int2, int int3, int int4, int int5) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(IIII)I
intermediary method_42352
Lnet/minecraft/class_6350$class_5832;method_42352(IIII)I
named method_42352
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;method_42352(IIII)I
-
method_42353
private BlockState method_42353(int int2, int int3, int int4, AquiferSampler.FluidLevel fluidLevel, int int5) - Mappings:
Namespace Name Mixin selector official a
Lczf$c;a(IIILczf$b;I)Lcur;
intermediary method_42353
Lnet/minecraft/class_6350$class_5832;method_42353(IIILnet/minecraft/class_6350$class_6351;I)Lnet/minecraft/class_2680;
named method_42353
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;method_42353(IIILnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;I)Lnet/minecraft/block/BlockState;
-