Class WeightedListHeightProvider

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

public class WeightedListHeightProvider extends HeightProvider
Mappings:
Namespace Name
named net/minecraft/world/gen/heightprovider/WeightedListHeightProvider
intermediary net/minecraft/class_6791
official egx
  • Field Details

    • WEIGHTED_LIST_CODEC

      public static final com.mojang.serialization.MapCodec<WeightedListHeightProvider> WEIGHTED_LIST_CODEC
      Mappings:
      Namespace Name Mixin selector
      named WEIGHTED_LIST_CODEC Lnet/minecraft/world/gen/heightprovider/WeightedListHeightProvider;WEIGHTED_LIST_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_35712 Lnet/minecraft/class_6791;field_35712:Lcom/mojang/serialization/MapCodec;
      official a Legx;a:Lcom/mojang/serialization/MapCodec;
    • weightedList

      private final DataPool<HeightProvider> weightedList
      Mappings:
      Namespace Name Mixin selector
      named weightedList Lnet/minecraft/world/gen/heightprovider/WeightedListHeightProvider;weightedList:Lnet/minecraft/util/collection/DataPool;
      intermediary field_35713 Lnet/minecraft/class_6791;field_35713:Lnet/minecraft/class_6005;
      official b Legx;b:Lbpf;
  • Constructor Details

    • WeightedListHeightProvider

      public WeightedListHeightProvider(DataPool<HeightProvider> weightedList)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/heightprovider/WeightedListHeightProvider;<init>(Lnet/minecraft/util/collection/DataPool;)V
      intermediary <init> Lnet/minecraft/class_6791;<init>(Lnet/minecraft/class_6005;)V
      official <init> Legx;<init>(Lbpf;)V
  • Method Details

    • 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 Legs;a(Lazh;Ldys;)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 Legs;a()Legt;