Class MultiNoiseUtil.Entries<T>
java.lang.Object
net.minecraft.world.biome.source.util.MultiNoiseUtil.Entries<T>
- Enclosing class:
MultiNoiseUtil
- Mappings:
Namespace Name named net/minecraft/world/biome/source/util/MultiNoiseUtil$Entries
intermediary net/minecraft/class_6544$class_6547
official ddi$c
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, T>> private final MultiNoiseUtil.SearchTree
<T> -
Constructor Summary
ConstructorDescriptionEntries
(List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, T>> entries) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<MultiNoiseUtil.Entries<T>> createCodec
(com.mojang.serialization.MapCodec<T> entryCodec) Returns the closest entry at the given point.List
<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, T>> Returns the closest entry at the given point.protected T
getValue
(MultiNoiseUtil.NoiseValuePoint point, MultiNoiseUtil.NodeDistanceFunction<T> distanceFunction) Returns the closest entry at the given point.
-
Field Details
-
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
Lddi$c;a:Ljava/util/List;
-
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
Lddi$c;b:Lddi$e;
-
-
Constructor Details
-
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>
Lddi$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
Lddi$c;a(Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/Codec;
-
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
Lddi$c;a()Ljava/util/List;
-
get
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
Lddi$c;a(Lddi$h;)Ljava/lang/Object;
-
getValueSimple
Returns the closest entry at the given point.. Note that this method only exists for testing, and is usually a lot slower thangetValue(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
Lddi$c;b(Lddi$h;)Ljava/lang/Object;
-
getValue
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
Lddi$c;c(Lddi$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
Lddi$c;a(Lddi$h;Lddi$a;)Ljava/lang/Object;
-