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 cpf$a
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.Impl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final long[]
private final NoiseColumnSampler
private final DoublePerlinNoiseSampler
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 DoublePerlinNoiseSampler
private final DoublePerlinNoiseSampler
private boolean
private final ChunkGeneratorSettings
private final int
private final int
private final int
private final int
private final int
private final AquiferSampler.Impl.FluidLevel[]
Fields inherited from interface net.minecraft.world.gen.chunk.AquiferSampler
field_33571, field_33572
-
Constructor Summary
ConstructorDescriptionImpl
(ChunkPos pos, DoublePerlinNoiseSampler edgeDensityNoise, DoublePerlinNoiseSampler fluidLevelNoise, DoublePerlinNoiseSampler fluidTypeNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int startY, int deltaY) -
Method Summary
Modifier and TypeMethodDescriptionapply
(BlockSource source, int x, int y, int z, double weight) private double
calculateDensity
(int y, double noise, AquiferSampler.Impl.FluidLevel first, AquiferSampler.Impl.FluidLevel second) private AquiferSampler.Impl.FluidLevel
getFluidLevel
(int x, int y, int z) private int
getLocalX
(int x) private int
getLocalY
(int y) private int
getLocalZ
(int z) private AquiferSampler.Impl.FluidLevel
getWaterLevel
(long pos) private int
index
(int x, int y, int z) private double
maxDistance
(int a, int b) boolean
private boolean
shouldBeLava
(int y)
-
Field Details
-
field_31451
private static final int field_31451- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcpf$a;c: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 d
Lcpf$a;d: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 e
Lcpf$a;e: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 f
Lcpf$a;f: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 g
Lcpf$a;g: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 h
Lcpf$a;h: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 i
Lcpf$a;i: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 j
Lcpf$a;j: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 k
Lcpf$a;k: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
-
edgeDensityNoise
- Mappings:
Namespace Name Mixin selector official l
Lcpf$a;l:Lddv;
intermediary field_28813
Lnet/minecraft/class_6350$class_5832;field_28813:Lnet/minecraft/class_5216;
named edgeDensityNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;edgeDensityNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
fluidLevelNoise
- Mappings:
Namespace Name Mixin selector official m
Lcpf$a;m:Lddv;
intermediary field_28814
Lnet/minecraft/class_6350$class_5832;field_28814:Lnet/minecraft/class_5216;
named fluidLevelNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
fluidTypeNoise
- Mappings:
Namespace Name Mixin selector official n
Lcpf$a;n:Lddv;
intermediary field_33575
Lnet/minecraft/class_6350$class_5832;field_33575:Lnet/minecraft/class_5216;
named fluidTypeNoise
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidTypeNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
settings
- Mappings:
Namespace Name Mixin selector official o
Lcpf$a;o:Lcpu;
intermediary field_28815
Lnet/minecraft/class_6350$class_5832;field_28815:Lnet/minecraft/class_5284;
named settings
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;settings:Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;
-
waterLevels
- Mappings:
Namespace Name Mixin selector official p
Lcpf$a;p:[Lcpf$a$a;
intermediary field_28816
Lnet/minecraft/class_6350$class_5832;field_28816:[Lnet/minecraft/class_6350$class_5832$class_6351;
named waterLevels
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;waterLevels:[Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl$FluidLevel;
-
blockPositions
private final long[] blockPositions- Mappings:
Namespace Name Mixin selector official q
Lcpf$a;q:[J
intermediary field_28817
Lnet/minecraft/class_6350$class_5832;field_28817:[J
named blockPositions
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;blockPositions:[J
-
needsFluidTick
private boolean needsFluidTick- Mappings:
Namespace Name Mixin selector official r
Lcpf$a;r:Z
intermediary field_28820
Lnet/minecraft/class_6350$class_5832;field_28820:Z
named needsFluidTick
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;needsFluidTick:Z
-
columnSampler
- Mappings:
Namespace Name Mixin selector official s
Lcpf$a;s:Lcpx;
intermediary field_28821
Lnet/minecraft/class_6350$class_5832;field_28821:Lnet/minecraft/class_5818;
named columnSampler
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;columnSampler:Lnet/minecraft/world/gen/NoiseColumnSampler;
-
startX
private final int startX- Mappings:
Namespace Name Mixin selector official t
Lcpf$a;t: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 u
Lcpf$a;u: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 v
Lcpf$a;v: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 w
Lcpf$a;w: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 x
Lcpf$a;x: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(ChunkPos pos, DoublePerlinNoiseSampler edgeDensityNoise, DoublePerlinNoiseSampler fluidLevelNoise, DoublePerlinNoiseSampler fluidTypeNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int startY, int deltaY) - Mappings:
Namespace Name Mixin selector official <init>
Lcpf$a;<init>(Lbvu;Lddv;Lddv;Lddv;Lcpu;Lcpx;II)V
intermediary <init>
Lnet/minecraft/class_6350$class_5832;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_5216;Lnet/minecraft/class_5216;Lnet/minecraft/class_5216;Lnet/minecraft/class_5284;Lnet/minecraft/class_5818;II)V
named <init>
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;Lnet/minecraft/world/gen/NoiseColumnSampler;II)V
-
-
Method Details
-
index
private int index(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official a
Lcpf$a;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
Lcpf;a(Lcpg;IIID)Lcks;
intermediary method_33737
Lnet/minecraft/class_6350;method_33737(Lnet/minecraft/class_5840;IIID)Lnet/minecraft/class_2680;
named apply
Lnet/minecraft/world/gen/chunk/AquiferSampler;apply(Lnet/minecraft/world/gen/BlockSource;IIID)Lnet/minecraft/block/BlockState;
-
needsFluidTick
public boolean needsFluidTick()- Specified by:
needsFluidTick
in interfaceAquiferSampler
- Mappings:
Namespace Name Mixin selector official a
Lcpf;a()Z
intermediary method_33742
Lnet/minecraft/class_6350;method_33742()Z
named needsFluidTick
Lnet/minecraft/world/gen/chunk/AquiferSampler;needsFluidTick()Z
-
shouldBeLava
private boolean shouldBeLava(int y) - Mappings:
Namespace Name Mixin selector official a
Lcpf$a;a(I)Z
intermediary method_35324
Lnet/minecraft/class_6350$class_5832;method_35324(I)Z
named shouldBeLava
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;shouldBeLava(I)Z
-
maxDistance
private double maxDistance(int a, int b) - Mappings:
Namespace Name Mixin selector official a
Lcpf$a;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(int y, double noise, AquiferSampler.Impl.FluidLevel first, AquiferSampler.Impl.FluidLevel second) - Mappings:
Namespace Name Mixin selector official a
Lcpf$a;a(IDLcpf$a$a;Lcpf$a$a;)D
intermediary method_33735
Lnet/minecraft/class_6350$class_5832;method_33735(IDLnet/minecraft/class_6350$class_5832$class_6351;Lnet/minecraft/class_6350$class_5832$class_6351;)D
named calculateDensity
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;calculateDensity(IDLnet/minecraft/world/gen/chunk/AquiferSampler$Impl$FluidLevel;Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl$FluidLevel;)D
-
getLocalX
private int getLocalX(int x) - Mappings:
Namespace Name Mixin selector official b
Lcpf$a;b(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 c
Lcpf$a;c(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 d
Lcpf$a;d(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
Lcpf$a;a(J)Lcpf$a$a;
intermediary method_33738
Lnet/minecraft/class_6350$class_5832;method_33738(J)Lnet/minecraft/class_6350$class_5832$class_6351;
named getWaterLevel
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getWaterLevel(J)Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl$FluidLevel;
-
getFluidLevel
- Mappings:
Namespace Name Mixin selector official b
Lcpf$a;b(III)Lcpf$a$a;
intermediary method_33744
Lnet/minecraft/class_6350$class_5832;method_33744(III)Lnet/minecraft/class_6350$class_5832$class_6351;
named getFluidLevel
Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;getFluidLevel(III)Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl$FluidLevel;
-