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
official cic$e
intermediary net/minecraft/class_6544$class_6548
named net/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree
  • Field Details

    • MAX_NODES_FOR_SIMPLE_TREE

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

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

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

    • SearchTree

      private SearchTree(MultiNoiseUtil.SearchTree.TreeNode<T> firstNode)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcic$e;<init>(Lcic$e$b;)V
      intermediary <init> Lnet/minecraft/class_6544$class_6548;<init>(Lnet/minecraft/class_6544$class_6548$class_6550;)V
      named <init> Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;<init>(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree$TreeNode;)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
      official a Lcic$e;a(Ljava/util/List;)Lcic$e;
      intermediary method_38153 Lnet/minecraft/class_6544$class_6548;method_38153(Ljava/util/List;)Lnet/minecraft/class_6544$class_6548;
      named create Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;create(Ljava/util/List;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;
    • createNode

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

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

      private static <T> Comparator<MultiNoiseUtil.SearchTree.TreeNode<T>> createNodeComparator(int currentParameter, boolean abs)
      Mappings:
      Namespace Name Mixin selector
      official a Lcic$e;a(IZ)Ljava/util/Comparator;
      intermediary method_38149 Lnet/minecraft/class_6544$class_6548;method_38149(IZ)Ljava/util/Comparator;
      named createNodeComparator Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;createNodeComparator(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
      official b Lcic$e;b(Ljava/util/List;)Ljava/util/List;
      intermediary method_38156 Lnet/minecraft/class_6544$class_6548;method_38156(Ljava/util/List;)Ljava/util/List;
      named getBatchedTree Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;getBatchedTree(Ljava/util/List;)Ljava/util/List;
    • getRangeLengthSum

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

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

      Mappings:
      Namespace Name Mixin selector
      official a Lcic$e;a(Lcic$h;Lcic$a;)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;
      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;