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
named net/minecraft/world/biome/source/util/MultiNoiseUtil$Entries
intermediary net/minecraft/class_6544$class_6547
official dis$c
  • Field Details

    • entries

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

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

    • Entries

      public Entries(List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> entries)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6544$class_6547;<init>(Ljava/util/List;)V
      official <init> Ldis$c;<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
      named createCodec Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;createCodec(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;
      official a Ldis$c;a(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
      named getEntries Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getEntries()Ljava/util/List;
      intermediary method_38128 Lnet/minecraft/class_6544$class_6547;method_38128()Ljava/util/List;
      official a Ldis$c;a()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
      named get Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;get(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
      intermediary method_39529 Lnet/minecraft/class_6544$class_6547;method_39529(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
      official a Ldis$c;a(Ldis$h;)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
      named getValueSimple Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValueSimple(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
      intermediary method_39530 Lnet/minecraft/class_6544$class_6547;method_39530(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
      official b Ldis$c;b(Ldis$h;)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
      named getValue Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValue(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
      intermediary method_39527 Lnet/minecraft/class_6544$class_6547;method_39527(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
      official c Ldis$c;c(Ldis$h;)Ljava/lang/Object;
    • getValue

      protected T getValue(MultiNoiseUtil.NoiseValuePoint point, MultiNoiseUtil.NodeDistanceFunction<T> distanceFunction)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Ldis$c;a(Ldis$h;Ldis$a;)Ljava/lang/Object;