Interface DensityFunction

All Known Subinterfaces:
ChunkNoiseSampler.ParentedNoiseType, DensityFunction.class_6913, DensityFunctionTypes.class_6932, DensityFunctionTypes.class_6939, DensityFunctionTypes.class_6943, DensityFunctionTypes.class_7050, DensityFunctionTypes.Operation, DensityFunctionTypes.Wrapper
All Known Implementing Classes:
ChunkNoiseSampler.class_6946, ChunkNoiseSampler.class_6947, ChunkNoiseSampler.class_6948, ChunkNoiseSampler.class_6949, ChunkNoiseSampler.class_6950, ChunkNoiseSampler.class_6951, ChunkNoiseSampler.NoiseInterpolator, DensityFunctionTypes.Beardifier, DensityFunctionTypes.BlendAlpha, DensityFunctionTypes.BlendDensity, DensityFunctionTypes.BlendOffset, DensityFunctionTypes.Clamp, DensityFunctionTypes.class_6917, DensityFunctionTypes.class_6925, DensityFunctionTypes.class_6927, DensityFunctionTypes.class_6929, DensityFunctionTypes.class_7051, DensityFunctionTypes.Constant, DensityFunctionTypes.EndIslands, DensityFunctionTypes.Noise, DensityFunctionTypes.RangeChoice, DensityFunctionTypes.Shift, DensityFunctionTypes.ShiftA, DensityFunctionTypes.ShiftB, DensityFunctionTypes.ShiftedNoise, DensityFunctionTypes.Slide, DensityFunctionTypes.Spline, DensityFunctionTypes.TerrainShaperSpline, DensityFunctionTypes.WeirdScaledSampler, DensityFunctionTypes.YClampedGradient, InterpolatedNoiseSampler, StructureWeightSampler

public interface DensityFunction
Mappings:
Namespace Name
official ctp
intermediary net/minecraft/class_6910
named net/minecraft/world/gen/densityfunction/DensityFunction
  • Field Details

    • field_37057

      static final com.mojang.serialization.Codec<DensityFunction> field_37057
      Mappings:
      Namespace Name Mixin selector
      official b Lctp;b:Lcom/mojang/serialization/Codec;
      intermediary field_37057 Lnet/minecraft/class_6910;field_37057:Lcom/mojang/serialization/Codec;
      named field_37057 Lnet/minecraft/world/gen/densityfunction/DensityFunction;field_37057:Lcom/mojang/serialization/Codec;
    • REGISTRY_ENTRY_CODEC

      static final com.mojang.serialization.Codec<RegistryEntry<DensityFunction>> REGISTRY_ENTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lctp;c:Lcom/mojang/serialization/Codec;
      intermediary field_37058 Lnet/minecraft/class_6910;field_37058:Lcom/mojang/serialization/Codec;
      named REGISTRY_ENTRY_CODEC Lnet/minecraft/world/gen/densityfunction/DensityFunction;REGISTRY_ENTRY_CODEC:Lcom/mojang/serialization/Codec;
    • field_37059

      static final com.mojang.serialization.Codec<DensityFunction> field_37059
      Mappings:
      Namespace Name Mixin selector
      official d Lctp;d:Lcom/mojang/serialization/Codec;
      intermediary field_37059 Lnet/minecraft/class_6910;field_37059:Lcom/mojang/serialization/Codec;
      named field_37059 Lnet/minecraft/world/gen/densityfunction/DensityFunction;field_37059:Lcom/mojang/serialization/Codec;
  • Method Details

    • sample

      double sample(DensityFunction.NoisePos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lctp$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
    • method_40470

      void method_40470(double[] double2, DensityFunction.class_6911 class_6911)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a([DLctp$a;)V
      intermediary method_40470 Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)V
      named method_40470 Lnet/minecraft/world/gen/densityfunction/DensityFunction;method_40470([DLnet/minecraft/world/gen/densityfunction/DensityFunction$class_6911;)V
    • apply

      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lctp$e;)Lctp;
      intermediary method_40469 Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;
      named apply Lnet/minecraft/world/gen/densityfunction/DensityFunction;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • minValue

      double minValue()
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a()D
      intermediary comp_377 Lnet/minecraft/class_6910;comp_377()D
      named minValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
    • maxValue

      double maxValue()
      Mappings:
      Namespace Name Mixin selector
      official b Lctp;b()D
      intermediary comp_378 Lnet/minecraft/class_6910;comp_378()D
      named maxValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
    • getCodec

      com.mojang.serialization.Codec<? extends DensityFunction> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official c Lctp;c()Lcom/mojang/serialization/Codec;
      intermediary method_41062 Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodec()Lcom/mojang/serialization/Codec;
    • clamp

      default DensityFunction clamp(double min, double max)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(DD)Lctp;
      intermediary method_40468 Lnet/minecraft/class_6910;method_40468(DD)Lnet/minecraft/class_6910;
      named clamp Lnet/minecraft/world/gen/densityfunction/DensityFunction;clamp(DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • abs

      default DensityFunction abs()
      Mappings:
      Namespace Name Mixin selector
      official d Lctp;d()Lctp;
      intermediary method_40471 Lnet/minecraft/class_6910;method_40471()Lnet/minecraft/class_6910;
      named abs Lnet/minecraft/world/gen/densityfunction/DensityFunction;abs()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • square

      default DensityFunction square()
      Mappings:
      Namespace Name Mixin selector
      official e Lctp;e()Lctp;
      intermediary method_40472 Lnet/minecraft/class_6910;method_40472()Lnet/minecraft/class_6910;
      named square Lnet/minecraft/world/gen/densityfunction/DensityFunction;square()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • cube

      default DensityFunction cube()
      Mappings:
      Namespace Name Mixin selector
      official f Lctp;f()Lctp;
      intermediary method_40473 Lnet/minecraft/class_6910;method_40473()Lnet/minecraft/class_6910;
      named cube Lnet/minecraft/world/gen/densityfunction/DensityFunction;cube()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • halfNegative

      default DensityFunction halfNegative()
      Mappings:
      Namespace Name Mixin selector
      official g Lctp;g()Lctp;
      intermediary method_40474 Lnet/minecraft/class_6910;method_40474()Lnet/minecraft/class_6910;
      named halfNegative Lnet/minecraft/world/gen/densityfunction/DensityFunction;halfNegative()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • quarterNegative

      default DensityFunction quarterNegative()
      Mappings:
      Namespace Name Mixin selector
      official h Lctp;h()Lctp;
      intermediary method_40475 Lnet/minecraft/class_6910;method_40475()Lnet/minecraft/class_6910;
      named quarterNegative Lnet/minecraft/world/gen/densityfunction/DensityFunction;quarterNegative()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • squeeze

      default DensityFunction squeeze()
      Mappings:
      Namespace Name Mixin selector
      official i Lctp;i()Lctp;
      intermediary method_40476 Lnet/minecraft/class_6910;method_40476()Lnet/minecraft/class_6910;
      named squeeze Lnet/minecraft/world/gen/densityfunction/DensityFunction;squeeze()Lnet/minecraft/world/gen/densityfunction/DensityFunction;