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 dio
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 Ldio;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 org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldio;b:Lorg/slf4j/Logger;
      intermediary field_33523 Lnet/minecraft/class_6342;field_33523:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;LOGGER:Lorg/slf4j/Logger;
    • minOffset

      private final YOffset minOffset
      Mappings:
      Namespace Name Mixin selector
      official d Ldio;d:Ldao;
      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 Ldio;e:Ldao;
      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 Ldio;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> Ldio;<init>(Ldao;Ldao;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 Ldio;a(Ldao;Ldao;I)Ldio;
      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 Ldio;a(Ldao;Ldao;)Ldio;
      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 Ldim;a(Lalu;Ldaq;)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 Ldim;a()Ldin;
      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