Class MultiNoiseUtil.SearchTree<T>

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

protected static final class MultiNoiseUtil.SearchTree<T> extends Object
Mappings:
Namespace Name
named net/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree
intermediary net/minecraft/class_6544$class_6548
official dis$e
  • Field Details

    • MAX_NODES_FOR_SIMPLE_TREE

      private static final int MAX_NODES_FOR_SIMPLE_TREE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_NODES_FOR_SIMPLE_TREE Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;MAX_NODES_FOR_SIMPLE_TREE:I
      intermediary field_34486 Lnet/minecraft/class_6544$class_6548;field_34486:I
      official a Ldis$e;a:I
    • firstNode

      private final MultiNoiseUtil.SearchTree.TreeNode<T> firstNode
      Mappings:
      Namespace Name Mixin selector
      named firstNode Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;firstNode:Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree$TreeNode;
      intermediary field_34487 Lnet/minecraft/class_6544$class_6548;field_34487:Lnet/minecraft/class_6544$class_6548$class_6550;
      official b Ldis$e;b:Ldis$e$b;
    • previousResultNode

      private final ThreadLocal<MultiNoiseUtil.SearchTree.TreeLeafNode<T>> previousResultNode
      Mappings:
      Namespace Name Mixin selector
      named previousResultNode Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;previousResultNode:Ljava/lang/ThreadLocal;
      intermediary field_34488 Lnet/minecraft/class_6544$class_6548;field_34488:Ljava/lang/ThreadLocal;
      official c Ldis$e;c:Ljava/lang/ThreadLocal;
  • Constructor Details

    • SearchTree

      private SearchTree(MultiNoiseUtil.SearchTree.TreeNode<T> firstNode)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;<init>(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree$TreeNode;)V
      intermediary <init> Lnet/minecraft/class_6544$class_6548;<init>(Lnet/minecraft/class_6544$class_6548$class_6550;)V
      official <init> Ldis$e;<init>(Ldis$e$b;)V
  • Method Details

    • create

      public static <T> MultiNoiseUtil.SearchTree<T> create(List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> entries)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;create(Ljava/util/List;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;
      intermediary method_38153 Lnet/minecraft/class_6544$class_6548;method_38153(Ljava/util/List;)Lnet/minecraft/class_6544$class_6548;
      official a Ldis$e;a(Ljava/util/List;)Ldis$e;
    • createNode

      private static <T> MultiNoiseUtil.SearchTree.TreeNode<T> createNode(int parameterNumber, List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> subTree)
      Mappings:
      Namespace Name Mixin selector
      named createNode Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;createNode(ILjava/util/List;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree$TreeNode;
      intermediary method_38148 Lnet/minecraft/class_6544$class_6548;method_38148(ILjava/util/List;)Lnet/minecraft/class_6544$class_6548$class_6550;
      official a Ldis$e;a(ILjava/util/List;)Ldis$e$b;
    • sortTree

      private static <T> void sortTree(List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> subTree, int parameterNumber, int currentParameter, boolean abs)
      Mappings:
      Namespace Name Mixin selector
      named sortTree Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;sortTree(Ljava/util/List;IIZ)V
      intermediary method_38154 Lnet/minecraft/class_6544$class_6548;method_38154(Ljava/util/List;IIZ)V
      official a Ldis$e;a(Ljava/util/List;IIZ)V
    • createNodeComparator

      private static <T> Comparator<MultiNoiseUtil.SearchTree.TreeNode<T>> createNodeComparator(int currentParameter, boolean abs)
      Mappings:
      Namespace Name Mixin selector
      named createNodeComparator Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;createNodeComparator(IZ)Ljava/util/Comparator;
      intermediary method_38149 Lnet/minecraft/class_6544$class_6548;method_38149(IZ)Ljava/util/Comparator;
      official a Ldis$e;a(IZ)Ljava/util/Comparator;
    • getBatchedTree

      private static <T> List<MultiNoiseUtil.SearchTree.TreeBranchNode<T>> getBatchedTree(List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> nodes)
      Mappings:
      Namespace Name Mixin selector
      named getBatchedTree Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;getBatchedTree(Ljava/util/List;)Ljava/util/List;
      intermediary method_38156 Lnet/minecraft/class_6544$class_6548;method_38156(Ljava/util/List;)Ljava/util/List;
      official b Ldis$e;b(Ljava/util/List;)Ljava/util/List;
    • getRangeLengthSum

      private static long getRangeLengthSum(MultiNoiseUtil.ParameterRange[] parameters)
      Mappings:
      Namespace Name Mixin selector
      named getRangeLengthSum Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;getRangeLengthSum([Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)J
      intermediary method_38155 Lnet/minecraft/class_6544$class_6548;method_38155([Lnet/minecraft/class_6544$class_6546;)J
      official a Ldis$e;a([Ldis$b;)J
    • getEnclosingParameters

      static <T> List<MultiNoiseUtil.ParameterRange> getEnclosingParameters(List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> subTree)
      Mappings:
      Namespace Name Mixin selector
      named getEnclosingParameters Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;getEnclosingParameters(Ljava/util/List;)Ljava/util/List;
      intermediary method_38157 Lnet/minecraft/class_6544$class_6548;method_38157(Ljava/util/List;)Ljava/util/List;
      official c Ldis$e;c(Ljava/util/List;)Ljava/util/List;
    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;get(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NodeDistanceFunction;)Ljava/lang/Object;
      intermediary method_38151 Lnet/minecraft/class_6544$class_6548;method_38151(Lnet/minecraft/class_6544$class_6553;Lnet/minecraft/class_6544$class_6545;)Ljava/lang/Object;
      official a Ldis$e;a(Ldis$h;Ldis$a;)Ljava/lang/Object;