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
named net/minecraft/world/gen/heightprovider/TrapezoidHeightProvider
intermediary net/minecraft/class_6342
official ems
  • Field Details

    • CODEC

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

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

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

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

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

    • TrapezoidHeightProvider

      private TrapezoidHeightProvider(YOffset minOffset, YOffset maxOffset, int plateau)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/heightprovider/TrapezoidHeightProvider;<init>(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;I)V
      intermediary <init> Lnet/minecraft/class_6342;<init>(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;I)V
      official <init> Lems;<init>(Leej;Leej;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
      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;
      intermediary method_36308 Lnet/minecraft/class_6342;method_36308(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;I)Lnet/minecraft/class_6342;
      official a Lems;a(Leej;Leej;I)Lems;
    • 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
      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;
      intermediary method_36307 Lnet/minecraft/class_6342;method_36307(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Lnet/minecraft/class_6342;
      official a Lems;a(Leej;Leej;)Lems;
    • 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 Lemq;a(Lbam;Leem;)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 Lemq;a()Lemr;
    • toString

      public String toString()
      Overrides:
      toString in class Object