Class MultiNoiseUtil.SearchTree<T>
java.lang.Object
net.minecraft.world.biome.source.util.MultiNoiseUtil.SearchTree<T>
- Enclosing class:
MultiNoiseUtil
- Mappings:
Namespace Name official cbz$e
intermediary net/minecraft/class_6544$class_6548
named net/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
private static final class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MultiNoiseUtil.SearchTree.TreeNode<T>
private static final int
private final ThreadLocal<MultiNoiseUtil.SearchTree.TreeLeafNode<T>>
-
Constructor Summary
ModifierConstructorDescriptionprivate
SearchTree
(MultiNoiseUtil.SearchTree.TreeNode<T> firstNode) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> MultiNoiseUtil.SearchTree<T>
create
(List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, T>> entries) private static <T> MultiNoiseUtil.SearchTree.TreeNode<T>
createNode
(int parameterNumber, List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> subTree) private static <T> Comparator<MultiNoiseUtil.SearchTree.TreeNode<T>>
createNodeComparator
(int currentParameter, boolean abs) get
(MultiNoiseUtil.NoiseValuePoint point, MultiNoiseUtil.NodeDistanceFunction<T> distanceFunction) private static <T> List<MultiNoiseUtil.SearchTree.TreeBranchNode<T>>
getBatchedTree
(List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> nodes) (package private) static <T> List<MultiNoiseUtil.ParameterRange>
getEnclosingParameters
(List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> subTree) private static long
getRangeLengthSum
(MultiNoiseUtil.ParameterRange[] parameters) private static <T> void
sortTree
(List<? extends MultiNoiseUtil.SearchTree.TreeNode<T>> subTree, int parameterNumber, int currentParameter, boolean abs)
-
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
Lcbz$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
- Mappings:
Namespace Name Mixin selector official b
Lcbz$e;b:Lcbz$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
- Mappings:
Namespace Name Mixin selector official c
Lcbz$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
- Mappings:
Namespace Name Mixin selector official <init>
Lcbz$e;<init>(Lcbz$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
Lcbz$e;a(Ljava/util/List;)Lcbz$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
Lcbz$e;a(ILjava/util/List;)Lcbz$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
Lcbz$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
Lcbz$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
Lcbz$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
- Mappings:
Namespace Name Mixin selector official a
Lcbz$e;a([Lcbz$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
Lcbz$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
public T get(MultiNoiseUtil.NoiseValuePoint point, MultiNoiseUtil.NodeDistanceFunction<T> distanceFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbz$e;a(Lcbz$h;Lcbz$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;
-