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 named net/minecraft/world/gen/chunk/AquiferSampler$Impl
intermediary net/minecraft/class_6350$class_5832
official dxh$c
-
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 static final int[][]
private final ChunkNoiseSampler
private final DensityFunction
private final DensityFunction
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 final DensityFunction
private final AquiferSampler.FluidLevelSampler
private final DensityFunction
private final DensityFunction
private static final double
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 minimumY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler) -
Method Summary
Modifier and TypeMethodDescriptionapply
(DensityFunction.NoisePos pos, double density) private double
calculateDensity
(DensityFunction.NoisePos pos, MutableDouble mutableDouble, AquiferSampler.FluidLevel fluidLevel, AquiferSampler.FluidLevel fluidLevel2) private BlockState
getFluidBlockState
(int blockX, int blockY, int blockZ, AquiferSampler.FluidLevel defaultFluidLevel, int fluidLevel) private int
getFluidBlockY
(int blockX, int blockY, int blockZ, AquiferSampler.FluidLevel defaultFluidLevel, int surfaceHeightEstimate, boolean bool) private AquiferSampler.FluidLevel
getFluidLevel
(int blockX, int blockY, int blockZ) private int
getLocalX
(int x) private int
getLocalY
(int y) private int
getLocalZ
(int z) private int
getNoiseBasedFluidLevel
(int blockX, int blockY, int blockZ, int surfaceHeightEstimate) private AquiferSampler.FluidLevel
getWaterLevel
(long pos) private int
index
(int x, int y, int z) private static double
maxDistance
(int int2, int a) boolean
-
Field Details
-
field_31451
private static final int field_31451- See Also:
- Mappings:
Namespace Name Mixin selector named field_31451
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31451:I
intermediary field_31451
Lnet/minecraft/class_6350$class_5832;field_31451:I
official a
Ldxh$c;a:I
-
field_31452
private static final int field_31452- See Also:
- Mappings:
Namespace Name Mixin selector named field_31452
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31452:I
intermediary field_31452
Lnet/minecraft/class_6350$class_5832;field_31452:I
official b
Ldxh$c;b:I
-
field_31453
private static final int field_31453- See Also:
- Mappings:
Namespace Name Mixin selector named field_31453
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31453:I
intermediary field_31453
Lnet/minecraft/class_6350$class_5832;field_31453:I
official c
Ldxh$c;c:I
-
field_31454
private static final int field_31454- See Also:
- Mappings:
Namespace Name Mixin selector named field_31454
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31454:I
intermediary field_31454
Lnet/minecraft/class_6350$class_5832;field_31454:I
official d
Ldxh$c;d:I
-
field_31455
private static final int field_31455- See Also:
- Mappings:
Namespace Name Mixin selector named field_31455
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31455:I
intermediary field_31455
Lnet/minecraft/class_6350$class_5832;field_31455:I
official e
Ldxh$c;e:I
-
field_31456
private static final int field_31456- See Also:
- Mappings:
Namespace Name Mixin selector named field_31456
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31456:I
intermediary field_31456
Lnet/minecraft/class_6350$class_5832;field_31456:I
official f
Ldxh$c;f:I
-
field_31457
private static final int field_31457- See Also:
- Mappings:
Namespace Name Mixin selector named field_31457
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31457:I
intermediary field_31457
Lnet/minecraft/class_6350$class_5832;field_31457:I
official g
Ldxh$c;g:I
-
field_31458
private static final int field_31458- See Also:
- Mappings:
Namespace Name Mixin selector named field_31458
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31458:I
intermediary field_31458
Lnet/minecraft/class_6350$class_5832;field_31458:I
official h
Ldxh$c;h:I
-
field_31459
private static final int field_31459- See Also:
- Mappings:
Namespace Name Mixin selector named field_31459
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_31459:I
intermediary field_31459
Lnet/minecraft/class_6350$class_5832;field_31459:I
official i
Ldxh$c;i:I
-
field_36220
private static final int field_36220- See Also:
- Mappings:
Namespace Name Mixin selector named field_36220
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;field_36220:I
intermediary field_36220
Lnet/minecraft/class_6350$class_5832;field_36220:I
official j
Ldxh$c;j:I
-
NEEDS_FLUID_TICK_DISTANCE_THRESHOLD
private static final double NEEDS_FLUID_TICK_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector named NEEDS_FLUID_TICK_DISTANCE_THRESHOLD
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;NEEDS_FLUID_TICK_DISTANCE_THRESHOLD:D
intermediary field_36221
Lnet/minecraft/class_6350$class_5832;field_36221:D
official k
Ldxh$c;k:D
-
CHUNK_POS_OFFSETS
private static final int[][] CHUNK_POS_OFFSETS- Mappings:
Namespace Name Mixin selector named CHUNK_POS_OFFSETS
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;CHUNK_POS_OFFSETS:[[I
intermediary field_34581
Lnet/minecraft/class_6350$class_5832;field_34581:[[I
official C
Ldxh$c;C:[[I
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector named chunkNoiseSampler
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
intermediary field_34578
Lnet/minecraft/class_6350$class_5832;field_34578:Lnet/minecraft/class_6568;
official l
Ldxh$c;l:Ldxz;
-
barrierNoise
- Mappings:
Namespace Name Mixin selector named barrierNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;barrierNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_28813
Lnet/minecraft/class_6350$class_5832;field_28813:Lnet/minecraft/class_6910;
official m
Ldxh$c;m:Ldxo;
-
fluidLevelFloodednessNoise
- Mappings:
Namespace Name Mixin selector named fluidLevelFloodednessNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelFloodednessNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_35122
Lnet/minecraft/class_6350$class_5832;field_35122:Lnet/minecraft/class_6910;
official n
Ldxh$c;n:Ldxo;
-
fluidLevelSpreadNoise
- Mappings:
Namespace Name Mixin selector named fluidLevelSpreadNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelSpreadNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_35123
Lnet/minecraft/class_6350$class_5832;field_35123:Lnet/minecraft/class_6910;
official o
Ldxh$c;o:Ldxo;
-
fluidTypeNoise
- Mappings:
Namespace Name Mixin selector named fluidTypeNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidTypeNoise:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_33575
Lnet/minecraft/class_6350$class_5832;field_33575:Lnet/minecraft/class_6910;
official p
Ldxh$c;p:Ldxo;
-
randomDeriver
- Mappings:
Namespace Name Mixin selector named randomDeriver
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;randomDeriver:Lnet/minecraft/util/math/random/RandomSplitter;
intermediary field_34579
Lnet/minecraft/class_6350$class_5832;field_34579:Lnet/minecraft/class_6574;
official q
Ldxh$c;q:Ldyi;
-
waterLevels
- Mappings:
Namespace Name Mixin selector named waterLevels
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;waterLevels:[Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
intermediary field_28816
Lnet/minecraft/class_6350$class_5832;field_28816:[Lnet/minecraft/class_6350$class_6351;
official r
Ldxh$c;r:[Ldxh$b;
-
blockPositions
private final long[] blockPositions- Mappings:
Namespace Name Mixin selector named blockPositions
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;blockPositions:[J
intermediary field_28817
Lnet/minecraft/class_6350$class_5832;field_28817:[J
official s
Ldxh$c;s:[J
-
fluidLevelSampler
- Mappings:
Namespace Name Mixin selector named fluidLevelSampler
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelSampler:Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevelSampler;
intermediary field_34580
Lnet/minecraft/class_6350$class_5832;field_34580:Lnet/minecraft/class_6350$class_6565;
official t
Ldxh$c;t:Ldxh$a;
-
erosionDensityFunction
- Mappings:
Namespace Name Mixin selector named erosionDensityFunction
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;erosionDensityFunction:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_38246
Lnet/minecraft/class_6350$class_5832;field_38246:Lnet/minecraft/class_6910;
official u
Ldxh$c;u:Ldxo;
-
depthDensityFunction
- Mappings:
Namespace Name Mixin selector named depthDensityFunction
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;depthDensityFunction:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_38247
Lnet/minecraft/class_6350$class_5832;field_38247:Lnet/minecraft/class_6910;
official v
Ldxh$c;v:Ldxo;
-
needsFluidTick
private boolean needsFluidTick- Mappings:
Namespace Name Mixin selector named needsFluidTick
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;needsFluidTick:Z
intermediary field_28820
Lnet/minecraft/class_6350$class_5832;field_28820:Z
official w
Ldxh$c;w:Z
-
startX
private final int startX- Mappings:
Namespace Name Mixin selector named startX
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;startX:I
intermediary field_28822
Lnet/minecraft/class_6350$class_5832;field_28822:I
official x
Ldxh$c;x:I
-
startY
private final int startY- Mappings:
Namespace Name Mixin selector named startY
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;startY:I
intermediary field_28823
Lnet/minecraft/class_6350$class_5832;field_28823:I
official y
Ldxh$c;y:I
-
startZ
private final int startZ- Mappings:
Namespace Name Mixin selector named startZ
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;startZ:I
intermediary field_28824
Lnet/minecraft/class_6350$class_5832;field_28824:I
official z
Ldxh$c;z:I
-
sizeX
private final int sizeX- Mappings:
Namespace Name Mixin selector named sizeX
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;sizeX:I
intermediary field_28825
Lnet/minecraft/class_6350$class_5832;field_28825:I
official A
Ldxh$c;A:I
-
sizeZ
private final int sizeZ- Mappings:
Namespace Name Mixin selector named sizeZ
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;sizeZ:I
intermediary field_28826
Lnet/minecraft/class_6350$class_5832;field_28826:I
official B
Ldxh$c;B:I
-
-
Constructor Details
-
Impl
Impl(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, NoiseRouter noiseRouter, RandomSplitter randomSplitter, int minimumY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Ldxh$c;<init>(Ldxz;Ldbg;Ldyb;Ldyi;IILdxh$a;)V
-
-
Method Details
-
index
private int index(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named index
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;index(III)I
intermediary method_33741
Lnet/minecraft/class_6350$class_5832;method_33741(III)I
official a
Ldxh$c;a(III)I
-
apply
- Specified by:
apply
in interfaceAquiferSampler
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/world/gen/chunk/AquiferSampler;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)Lnet/minecraft/block/BlockState;
intermediary method_38317
Lnet/minecraft/class_6350;method_38317(Lnet/minecraft/class_6910$class_6912;D)Lnet/minecraft/class_2680;
official a
Ldxh;a(Ldxo$b;D)Ldsd;
-
needsFluidTick
public boolean needsFluidTick()- Specified by:
needsFluidTick
in interfaceAquiferSampler
- Mappings:
Namespace Name Mixin selector named needsFluidTick
Lnet/minecraft/world/gen/chunk/AquiferSampler;needsFluidTick()Z
intermediary method_33742
Lnet/minecraft/class_6350;method_33742()Z
official a
Ldxh;a()Z
-
maxDistance
private static double maxDistance(int int2, int a) - Mappings:
Namespace Name Mixin selector named maxDistance
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;maxDistance(II)D
intermediary method_33736
Lnet/minecraft/class_6350$class_5832;method_33736(II)D
official a
Ldxh$c;a(II)D
-
calculateDensity
private double calculateDensity(DensityFunction.NoisePos pos, MutableDouble mutableDouble, AquiferSampler.FluidLevel fluidLevel, AquiferSampler.FluidLevel fluidLevel2) - Mappings:
Namespace Name Mixin selector 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
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
official a
Ldxh$c;a(Ldxo$b;Lorg/apache/commons/lang3/mutable/MutableDouble;Ldxh$b;Ldxh$b;)D
-
getLocalX
private int getLocalX(int x) - Mappings:
Namespace Name Mixin selector named getLocalX
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getLocalX(I)I
intermediary method_33734
Lnet/minecraft/class_6350$class_5832;method_33734(I)I
official a
Ldxh$c;a(I)I
-
getLocalY
private int getLocalY(int y) - Mappings:
Namespace Name Mixin selector named getLocalY
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getLocalY(I)I
intermediary method_33740
Lnet/minecraft/class_6350$class_5832;method_33740(I)I
official b
Ldxh$c;b(I)I
-
getLocalZ
private int getLocalZ(int z) - Mappings:
Namespace Name Mixin selector named getLocalZ
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getLocalZ(I)I
intermediary method_33743
Lnet/minecraft/class_6350$class_5832;method_33743(I)I
official c
Ldxh$c;c(I)I
-
getWaterLevel
- Mappings:
Namespace Name Mixin selector named getWaterLevel
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getWaterLevel(J)Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
intermediary method_33738
Lnet/minecraft/class_6350$class_5832;method_33738(J)Lnet/minecraft/class_6350$class_6351;
official a
Ldxh$c;a(J)Ldxh$b;
-
getFluidLevel
- Mappings:
Namespace Name Mixin selector named getFluidLevel
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getFluidLevel(III)Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
intermediary method_40463
Lnet/minecraft/class_6350$class_5832;method_40463(III)Lnet/minecraft/class_6350$class_6351;
official b
Ldxh$c;b(III)Ldxh$b;
-
getFluidBlockY
private int getFluidBlockY(int blockX, int blockY, int blockZ, AquiferSampler.FluidLevel defaultFluidLevel, int surfaceHeightEstimate, boolean bool) - Mappings:
Namespace Name Mixin selector named getFluidBlockY
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getFluidBlockY(IIILnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;IZ)I
intermediary method_42354
Lnet/minecraft/class_6350$class_5832;method_42354(IIILnet/minecraft/class_6350$class_6351;IZ)I
official a
Ldxh$c;a(IIILdxh$b;IZ)I
-
getNoiseBasedFluidLevel
private int getNoiseBasedFluidLevel(int blockX, int blockY, int blockZ, int surfaceHeightEstimate) - Mappings:
Namespace Name Mixin selector named getNoiseBasedFluidLevel
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getNoiseBasedFluidLevel(IIII)I
intermediary method_42352
Lnet/minecraft/class_6350$class_5832;method_42352(IIII)I
official a
Ldxh$c;a(IIII)I
-
getFluidBlockState
private BlockState getFluidBlockState(int blockX, int blockY, int blockZ, AquiferSampler.FluidLevel defaultFluidLevel, int fluidLevel) - Mappings:
Namespace Name Mixin selector named getFluidBlockState
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getFluidBlockState(IIILnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;I)Lnet/minecraft/block/BlockState;
intermediary method_42353
Lnet/minecraft/class_6350$class_5832;method_42353(IIILnet/minecraft/class_6350$class_6351;I)Lnet/minecraft/class_2680;
official a
Ldxh$c;a(IIILdxh$b;I)Ldsd;
-