Class DensityFunctionTypes.EndIslands

java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.EndIslands
All Implemented Interfaces:
DensityFunction, DensityFunction.Base
Enclosing class:
DensityFunctionTypes

protected static final class DensityFunctionTypes.EndIslands extends Object implements DensityFunction.Base
Mappings:
Namespace Name
official dhe$i
intermediary net/minecraft/class_6916$class_6924
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands
  • Field Details

    • CODEC_HOLDER

      public static final CodecHolder<DensityFunctionTypes.EndIslands> CODEC_HOLDER
      Mappings:
      Namespace Name Mixin selector
      official a Ldhe$i;a:Laou;
      intermediary field_37085 Lnet/minecraft/class_6916$class_6924;field_37085:Lnet/minecraft/class_7243;
      named CODEC_HOLDER Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;CODEC_HOLDER:Lnet/minecraft/util/dynamic/CodecHolder;
    • field_37677

      private static final float field_37677
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ldhe$i;e:F
      intermediary field_37677 Lnet/minecraft/class_6916$class_6924;field_37677:F
      named field_37677 Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;field_37677:F
    • sampler

      private final SimplexNoiseSampler sampler
      Mappings:
      Namespace Name Mixin selector
      official f Ldhe$i;f:Ldwk;
      intermediary field_36554 Lnet/minecraft/class_6916$class_6924;field_36554:Lnet/minecraft/class_3541;
      named sampler Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;sampler:Lnet/minecraft/util/math/noise/SimplexNoiseSampler;
  • Constructor Details

    • EndIslands

      public EndIslands(long seed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhe$i;<init>(J)V
      intermediary <init> Lnet/minecraft/class_6916$class_6924;<init>(J)V
      named <init> Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;<init>(J)V
  • Method Details

    • sample

      private static float sample(SimplexNoiseSampler sampler, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhe$i;a(Ldwk;II)F
      intermediary method_41529 Lnet/minecraft/class_6916$class_6924;method_41529(Lnet/minecraft/class_3541;II)F
      named sample Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;sample(Lnet/minecraft/util/math/noise/SimplexNoiseSampler;II)F
    • sample

      public double sample(DensityFunction.NoisePos pos)
      Returns the density value for the given block position.
      Specified by:
      sample in interface DensityFunction
      Parameters:
      pos - the block position
      Returns:
      the density value for the given block position
      Mappings:
      Namespace Name Mixin selector
      official a Ldhd;a(Ldhd$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
    • minValue

      public double minValue()
      Specified by:
      minValue in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldhd;a()D
      intermediary comp_377 Lnet/minecraft/class_6910;comp_377()D
      named minValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
    • maxValue

      public double maxValue()
      Specified by:
      maxValue in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official b Ldhd;b()D
      intermediary comp_378 Lnet/minecraft/class_6910;comp_378()D
      named maxValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
    • getCodecHolder

      public CodecHolder<? extends DensityFunction> getCodecHolder()
      Specified by:
      getCodecHolder in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official c Ldhd;c()Laou;
      intermediary method_41062 Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;
      named getCodecHolder Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;