Class AquiferSampler.Impl

java.lang.Object
net.minecraft.world.gen.chunk.AquiferSampler.Impl
All Implemented Interfaces:
AquiferSampler, AquiferSampler.FluidLevelSampler
Enclosing interface:
AquiferSampler

public static class AquiferSampler.Impl extends Object implements AquiferSampler, AquiferSampler.FluidLevelSampler
Mappings:
Namespace Name
official csq$c
intermediary net/minecraft/class_6350$class_5832
named net/minecraft/world/gen/chunk/AquiferSampler$Impl
  • Field Details

    • field_31451

      private static final int field_31451
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 Lcsq$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 A Lcsq$c;A:[[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

      private final ChunkNoiseSampler chunkNoiseSampler
      Mappings:
      Namespace Name Mixin selector
      official l Lcsq$c;l:Lctg;
      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

      private final DoublePerlinNoiseSampler barrierNoise
      Mappings:
      Namespace Name Mixin selector
      official m Lcsq$c;m:Ldha;
      intermediary field_28813 Lnet/minecraft/class_6350$class_5832;field_28813:Lnet/minecraft/class_5216;
      named barrierNoise Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;barrierNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • fluidLevelFloodednessNoise

      private final DoublePerlinNoiseSampler fluidLevelFloodednessNoise
      Mappings:
      Namespace Name Mixin selector
      official n Lcsq$c;n:Ldha;
      intermediary field_35122 Lnet/minecraft/class_6350$class_5832;field_35122:Lnet/minecraft/class_5216;
      named fluidLevelFloodednessNoise Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelFloodednessNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • fluidLevelSpreadNoise

      private final DoublePerlinNoiseSampler fluidLevelSpreadNoise
      Mappings:
      Namespace Name Mixin selector
      official o Lcsq$c;o:Ldha;
      intermediary field_35123 Lnet/minecraft/class_6350$class_5832;field_35123:Lnet/minecraft/class_5216;
      named fluidLevelSpreadNoise Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;fluidLevelSpreadNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • fluidTypeNoise

      private final DoublePerlinNoiseSampler fluidTypeNoise
      Mappings:
      Namespace Name Mixin selector
      official p Lcsq$c;p:Ldha;
      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;
    • randomDeriver

      private final RandomDeriver randomDeriver
      Mappings:
      Namespace Name Mixin selector
      official q Lcsq$c;q:Lctp;
      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/world/gen/random/RandomDeriver;
    • waterLevels

      private final AquiferSampler.FluidLevel[] waterLevels
      Mappings:
      Namespace Name Mixin selector
      official r Lcsq$c;r:[Lcsq$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 Lcsq$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

      private final AquiferSampler.FluidLevelSampler fluidLevelSampler
      Mappings:
      Namespace Name Mixin selector
      official t Lcsq$c;t:Lcsq$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;
    • needsFluidTick

      private boolean needsFluidTick
      Mappings:
      Namespace Name Mixin selector
      official u Lcsq$c;u: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 v Lcsq$c;v: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 w Lcsq$c;w: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 x Lcsq$c;x: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 y Lcsq$c;y: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 z Lcsq$c;z: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, DoublePerlinNoiseSampler barrierNoise, DoublePerlinNoiseSampler fluidLevelFloodednessNoise, DoublePerlinNoiseSampler fluidLevelSpreadNoise, DoublePerlinNoiseSampler fluidTypeNoise, RandomDeriver randomDeriver, int minY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsq$c;<init>(Lctg;Lbzk;Ldha;Ldha;Ldha;Ldha;Lctp;IILcsq$a;)V
      intermediary <init> Lnet/minecraft/class_6350$class_5832;<init>(Lnet/minecraft/class_6568;Lnet/minecraft/class_1923;Lnet/minecraft/class_5216;Lnet/minecraft/class_5216;Lnet/minecraft/class_5216;Lnet/minecraft/class_5216;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/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;Lnet/minecraft/world/gen/random/RandomDeriver;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 Lcsq$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

      @Nullable public @Nullable BlockState apply(int x, int y, int z, double double2, double double3)
      Specified by:
      apply in interface AquiferSampler
      Mappings:
      Namespace Name Mixin selector
      official a Lcsq;a(IIIDD)Lcoc;
      intermediary method_38317 Lnet/minecraft/class_6350;method_38317(IIIDD)Lnet/minecraft/class_2680;
      named apply Lnet/minecraft/world/gen/chunk/AquiferSampler;apply(IIIDD)Lnet/minecraft/block/BlockState;
    • needsFluidTick

      public boolean needsFluidTick()
      Specified by:
      needsFluidTick in interface AquiferSampler
      Mappings:
      Namespace Name Mixin selector
      official a Lcsq;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 Lcsq$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(int int2, int int3, int int4, MutableDouble mutableDouble, AquiferSampler.FluidLevel fluidLevel, AquiferSampler.FluidLevel fluidLevel2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsq$c;a(IIILorg/apache/commons/lang3/mutable/MutableDouble;Lcsq$b;Lcsq$b;)D
      intermediary method_33735 Lnet/minecraft/class_6350$class_5832;method_33735(IIILorg/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(IIILorg/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 Lcsq$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 Lcsq$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 Lcsq$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

      private AquiferSampler.FluidLevel getWaterLevel(long pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsq$c;a(J)Lcsq$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;
    • getFluidLevel

      public AquiferSampler.FluidLevel getFluidLevel(int x, int y, int z)
      Specified by:
      getFluidLevel in interface AquiferSampler.FluidLevelSampler
      Mappings:
      Namespace Name Mixin selector
      official computeFluid Lcsq$a;computeFluid(III)Lcsq$b;
      intermediary computeFluid Lnet/minecraft/class_6350$class_6565;computeFluid(III)Lnet/minecraft/class_6350$class_6351;
      named getFluidLevel Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevelSampler;getFluidLevel(III)Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;
    • method_38993

      private BlockState method_38993(int int2, int int3, int int4, AquiferSampler.FluidLevel fluidLevel, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsq$c;a(IIILcsq$b;I)Lcoc;
      intermediary method_38993 Lnet/minecraft/class_6350$class_5832;method_38993(IIILnet/minecraft/class_6350$class_6351;I)Lnet/minecraft/class_2680;
      named method_38993 Lnet/minecraft/world/gen/chunk/AquiferSampler$Impl;method_38993(IIILnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevel;I)Lnet/minecraft/block/BlockState;