Class ChunkNoiseSampler.Cache2D

java.lang.Object
net.minecraft.world.gen.chunk.ChunkNoiseSampler.Cache2D
All Implemented Interfaces:
ChunkNoiseSampler.ParentedNoiseType, DensityFunction, DensityFunctionTypes.Wrapper
Enclosing class:
ChunkNoiseSampler

private static class ChunkNoiseSampler.Cache2D extends Object implements DensityFunctionTypes.Wrapper, ChunkNoiseSampler.ParentedNoiseType
Mappings:
Namespace Name
official dav$d
intermediary net/minecraft/class_6568$class_6948
named net/minecraft/world/gen/chunk/ChunkNoiseSampler$Cache2D
  • Field Details

    • delegate

      private final DensityFunction delegate
      Mappings:
      Namespace Name Mixin selector
      official a Ldav$d;a:Ldak;
      intermediary field_36599 Lnet/minecraft/class_6568$class_6948;field_36599:Lnet/minecraft/class_6910;
      named delegate Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$Cache2D;delegate:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • lastSamplingColumnPos

      private long lastSamplingColumnPos
      Mappings:
      Namespace Name Mixin selector
      official e Ldav$d;e:J
      intermediary field_36600 Lnet/minecraft/class_6568$class_6948;field_36600:J
      named lastSamplingColumnPos Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$Cache2D;lastSamplingColumnPos:J
    • lastSamplingResult

      private double lastSamplingResult
      Mappings:
      Namespace Name Mixin selector
      official f Ldav$d;f:D
      intermediary field_36601 Lnet/minecraft/class_6568$class_6948;field_36601:D
      named lastSamplingResult Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$Cache2D;lastSamplingResult:D
  • Constructor Details

    • Cache2D

      Cache2D(DensityFunction delegate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldav$d;<init>(Ldak;)V
      intermediary <init> Lnet/minecraft/class_6568$class_6948;<init>(Lnet/minecraft/class_6910;)V
      named <init> Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$Cache2D;<init>(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)V
  • Method Details

    • sample

      public double sample(DensityFunction.NoisePos pos)
      Specified by:
      sample in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Ldak$b;)D
      intermediary method_40464 Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)D
      named sample Lnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
    • applyEach

      public void applyEach(double[] densities, DensityFunction.EachApplier applier)
      Specified by:
      applyEach in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a([DLdak$a;)V
      intermediary method_40470 Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)V
      named applyEach Lnet/minecraft/world/gen/densityfunction/DensityFunction;applyEach([DLnet/minecraft/world/gen/densityfunction/DensityFunction$EachApplier;)V
    • wrapped

      public DensityFunction wrapped()
      Specified by:
      wrapped in interface ChunkNoiseSampler.ParentedNoiseType
      Specified by:
      wrapped in interface DensityFunctionTypes.Wrapper
      Mappings:
      Namespace Name Mixin selector
      official k Ldal$m;k()Ldak;
      intermediary comp_469 Lnet/minecraft/class_6916$class_7052;comp_469()Lnet/minecraft/class_6910;
      named wrapped Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapper;wrapped()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • type

      public net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Wrapping.Type type()
      Specified by:
      type in interface DensityFunctionTypes.Wrapper
      Mappings:
      Namespace Name Mixin selector
      official j Ldal$m;j()Ldal$l$a;
      intermediary comp_383 Lnet/minecraft/class_6916$class_7052;comp_383()Lnet/minecraft/class_6916$class_6927$class_6928;
      named type Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapper;type()Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;