Class UniformHeightProvider

java.lang.Object
net.minecraft.world.gen.heightprovider.HeightProvider
net.minecraft.world.gen.heightprovider.UniformHeightProvider

public class UniformHeightProvider extends HeightProvider
Mappings:
Namespace Name
named net/minecraft/world/gen/heightprovider/UniformHeightProvider
intermediary net/minecraft/class_6124
official ehw
  • Field Details

    • UNIFORM_CODEC

      public static final com.mojang.serialization.MapCodec<UniformHeightProvider> UNIFORM_CODEC
      Mappings:
      Namespace Name Mixin selector
      named UNIFORM_CODEC Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;UNIFORM_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_31544 Lnet/minecraft/class_6124;field_31544:Lcom/mojang/serialization/MapCodec;
      official a Lehw;a:Lcom/mojang/serialization/MapCodec;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;LOGGER:Lorg/slf4j/Logger;
      intermediary field_31545 Lnet/minecraft/class_6124;field_31545:Lorg/slf4j/Logger;
      official b Lehw;b:Lorg/slf4j/Logger;
    • minOffset

      private final YOffset minOffset
      Mappings:
      Namespace Name Mixin selector
      named minOffset Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;minOffset:Lnet/minecraft/world/gen/YOffset;
      intermediary field_31546 Lnet/minecraft/class_6124;field_31546:Lnet/minecraft/class_5843;
      official d Lehw;d:Ldzp;
    • maxOffset

      private final YOffset maxOffset
      Mappings:
      Namespace Name Mixin selector
      named maxOffset Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;maxOffset:Lnet/minecraft/world/gen/YOffset;
      intermediary field_31547 Lnet/minecraft/class_6124;field_31547:Lnet/minecraft/class_5843;
      official e Lehw;e:Ldzp;
    • warnedEmptyHeightRanges

      private final LongSet warnedEmptyHeightRanges
      Mappings:
      Namespace Name Mixin selector
      named warnedEmptyHeightRanges Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;warnedEmptyHeightRanges:Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary field_36290 Lnet/minecraft/class_6124;field_36290:Lit/unimi/dsi/fastutil/longs/LongSet;
      official f Lehw;f:Lit/unimi/dsi/fastutil/longs/LongSet;
  • Constructor Details

    • UniformHeightProvider

      private UniformHeightProvider(YOffset minOffset, YOffset maxOffset)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;<init>(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)V
      intermediary <init> Lnet/minecraft/class_6124;<init>(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)V
      official <init> Lehw;<init>(Ldzp;Ldzp;)V
  • Method Details

    • create

      public static UniformHeightProvider create(YOffset minOffset, YOffset maxOffset)
      Parameters:
      minOffset - the minimum offset, inclusive
      maxOffset - the maximum offset, inclusive
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;create(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;
      intermediary method_35396 Lnet/minecraft/class_6124;method_35396(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Lnet/minecraft/class_6124;
      official a Lehw;a(Ldzp;Ldzp;)Lehw;
    • get

      public int get(Random random, HeightContext context)
      Specified by:
      get in class HeightProvider
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/gen/heightprovider/HeightProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/HeightContext;)I
      intermediary method_35391 Lnet/minecraft/class_6122;method_35391(Lnet/minecraft/class_5819;Lnet/minecraft/class_5868;)I
      official a Leht;a(Layv;Ldzs;)I
    • getType

      public HeightProviderType<?> getType()
      Specified by:
      getType in class HeightProvider
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/world/gen/heightprovider/HeightProvider;getType()Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
      intermediary method_35388 Lnet/minecraft/class_6122;method_35388()Lnet/minecraft/class_6123;
      official a Leht;a()Lehu;
    • toString

      public String toString()
      Overrides:
      toString in class Object