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
official djm
intermediary net/minecraft/class_6124
named net/minecraft/world/gen/heightprovider/UniformHeightProvider
  • Field Details

    • UNIFORM_CODEC

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

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

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

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

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

    • UniformHeightProvider

      private UniformHeightProvider(YOffset minOffset, YOffset maxOffset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjm;<init>(Ldbl;Ldbl;)V
      intermediary <init> Lnet/minecraft/class_6124;<init>(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)V
      named <init> Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;<init>(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)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
      official a Ldjm;a(Ldbl;Ldbl;)Ldjm;
      intermediary method_35396 Lnet/minecraft/class_6124;method_35396(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Lnet/minecraft/class_6124;
      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;
    • get

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

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

      public String toString()
      Overrides:
      toString in class Object