Class MultiNoiseUtil.Entries<T>

java.lang.Object
net.minecraft.world.biome.source.util.MultiNoiseUtil.Entries<T>
Enclosing class:
MultiNoiseUtil

public static class MultiNoiseUtil.Entries<T> extends Object
Mappings:
Namespace Name
official cnt$c
intermediary net/minecraft/class_6544$class_6547
named net/minecraft/world/biome/source/util/MultiNoiseUtil$Entries
  • Field Details

    • entries

      private final List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> entries
      Mappings:
      Namespace Name Mixin selector
      official a Lcnt$c;a:Ljava/util/List;
      intermediary field_34481 Lnet/minecraft/class_6544$class_6547;field_34481:Ljava/util/List;
      named entries Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;entries:Ljava/util/List;
    • tree

      private final MultiNoiseUtil.SearchTree<T> tree
      Mappings:
      Namespace Name Mixin selector
      official b Lcnt$c;b:Lcnt$e;
      intermediary field_34482 Lnet/minecraft/class_6544$class_6547;field_34482:Lnet/minecraft/class_6544$class_6548;
      named tree Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;tree:Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;
  • Constructor Details

    • Entries

      public Entries(List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> entries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnt$c;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6544$class_6547;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;<init>(Ljava/util/List;)V
  • Method Details

    • createCodec

      public static <T> com.mojang.serialization.Codec<MultiNoiseUtil.Entries<T>> createCodec(com.mojang.serialization.MapCodec<T> entryCodec)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnt$c;a(Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/Codec;
      intermediary method_49497 Lnet/minecraft/class_6544$class_6547;method_49497(Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/Codec;
      named createCodec Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;createCodec(Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/Codec;
    • getEntries

      public List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> getEntries()
      Mappings:
      Namespace Name Mixin selector
      official a Lcnt$c;a()Ljava/util/List;
      intermediary method_38128 Lnet/minecraft/class_6544$class_6547;method_38128()Ljava/util/List;
      named getEntries Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getEntries()Ljava/util/List;
    • get

      public T get(MultiNoiseUtil.NoiseValuePoint point)
      Returns the closest entry at the given point..
      Parameters:
      point - the point of all relevant noises
      Returns:
      the closest entry at the given point
      Mappings:
      Namespace Name Mixin selector
      official a Lcnt$c;a(Lcnt$h;)Ljava/lang/Object;
      intermediary method_39529 Lnet/minecraft/class_6544$class_6547;method_39529(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
      named get Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;get(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
    • getValueSimple

      public T getValueSimple(MultiNoiseUtil.NoiseValuePoint point)
      Returns the closest entry at the given point.. Note that this method only exists for testing, and is usually a lot slower than getValue(net.minecraft.world.biome.source.util.MultiNoiseUtil.NoiseValuePoint).
      Returns:
      the closest entry at the given point
      Mappings:
      Namespace Name Mixin selector
      official b Lcnt$c;b(Lcnt$h;)Ljava/lang/Object;
      intermediary method_39530 Lnet/minecraft/class_6544$class_6547;method_39530(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
      named getValueSimple Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValueSimple(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
    • getValue

      public T getValue(MultiNoiseUtil.NoiseValuePoint point)
      Returns the closest entry at the given point..
      Parameters:
      point - the point of all relevant noises
      Returns:
      the closest entry at the given point
      Mappings:
      Namespace Name Mixin selector
      official c Lcnt$c;c(Lcnt$h;)Ljava/lang/Object;
      intermediary method_39527 Lnet/minecraft/class_6544$class_6547;method_39527(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
      named getValue Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValue(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
    • getValue

      protected T getValue(MultiNoiseUtil.NoiseValuePoint point, MultiNoiseUtil.NodeDistanceFunction<T> distanceFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnt$c;a(Lcnt$h;Lcnt$a;)Ljava/lang/Object;
      intermediary method_39528 Lnet/minecraft/class_6544$class_6547;method_39528(Lnet/minecraft/class_6544$class_6553;Lnet/minecraft/class_6544$class_6545;)Ljava/lang/Object;
      named getValue Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValue(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NodeDistanceFunction;)Ljava/lang/Object;