Class TrapezoidHeightProvider

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

public class TrapezoidHeightProvider extends HeightProvider
Mappings:
Namespace Name
official dcr
intermediary net/minecraft/class_6342
named net/minecraft/world/gen/heightprovider/TrapezoidHeightProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TrapezoidHeightProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a:Lcom/mojang/serialization/Codec;
      intermediary field_33522 Lnet/minecraft/class_6342;field_33522:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;CODEC:Lcom/mojang/serialization/Codec;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldcr;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_33523 Lnet/minecraft/class_6342;field_33523:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • minOffset

      private final YOffset minOffset
      Mappings:
      Namespace Name Mixin selector
      official d Ldcr;d:Lctp;
      intermediary field_33524 Lnet/minecraft/class_6342;field_33524:Lnet/minecraft/class_5843;
      named minOffset Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;minOffset:Lnet/minecraft/world/gen/YOffset;
    • maxOffset

      private final YOffset maxOffset
      Mappings:
      Namespace Name Mixin selector
      official e Ldcr;e:Lctp;
      intermediary field_33525 Lnet/minecraft/class_6342;field_33525:Lnet/minecraft/class_5843;
      named maxOffset Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;maxOffset:Lnet/minecraft/world/gen/YOffset;
    • plateau

      private final int plateau
      Mappings:
      Namespace Name Mixin selector
      official f Ldcr;f:I
      intermediary field_33526 Lnet/minecraft/class_6342;field_33526:I
      named plateau Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;plateau:I
  • Constructor Details

    • TrapezoidHeightProvider

      private TrapezoidHeightProvider(YOffset minOffset, YOffset maxOffset, int plateau)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldcr;<init>(Lctp;Lctp;I)V
      intermediary <init> Lnet/minecraft/class_6342;<init>(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;I)V
      named <init> Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;<init>(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;I)V
  • Method Details

    • create

      public static TrapezoidHeightProvider create(YOffset minOffset, YOffset maxOffset, int plateau)
      Parameters:
      minOffset - the minimum offset, inclusive
      maxOffset - the maximum offset, inclusive
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lctp;Lctp;I)Ldcr;
      intermediary method_36308 Lnet/minecraft/class_6342;method_36308(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;I)Lnet/minecraft/class_6342;
      named create Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;create(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;I)Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;
    • create

      public static TrapezoidHeightProvider create(YOffset minOffset, YOffset maxOffset)
      Parameters:
      minOffset - the minimum offset, inclusive
      maxOffset - the maximum offset, inclusive
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lctp;Lctp;)Ldcr;
      intermediary method_36307 Lnet/minecraft/class_6342;method_36307(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Lnet/minecraft/class_6342;
      named create Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;create(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;
    • get

      public int get(Random random, HeightContext context)
      Specified by:
      get in class HeightProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ldcp;a(Ljava/util/Random;Lctr;)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 Ldcp;a()Ldcq;
      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