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 czd
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 Lczd;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 Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lczd;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_31545 Lnet/minecraft/class_6124;field_31545:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/gen/heightprovider/UniformHeightProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • minOffset

      private final YOffset minOffset
      Mappings:
      Namespace Name Mixin selector
      official d Lczd;d:Lcqj;
      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 Lczd;e:Lcqj;
      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;
  • Constructor Details

    • UniformHeightProvider

      private UniformHeightProvider(YOffset minOffset, YOffset maxOffset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lczd;<init>(Lcqj;Lcqj;)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)
      Mappings:
      Namespace Name Mixin selector
      official a Lczd;a(Lcqj;Lcqj;)Lczd;
      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 Lcza;a(Ljava/util/Random;Lcql;)I
      intermediary method_35391 Lnet/minecraft/class_6122;method_35391(Ljava/util/Random;Lnet/minecraft/class_5868;)I
      named get Lnet/minecraft/world/gen/heightprovider/HeightProvider;get(Ljava/util/Random;Lnet/minecraft/world/gen/HeightContext;)I
    • getType

      public HeightProviderType<?> getType()
      Specified by:
      getType in class HeightProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lcza;a()Lczb;
      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