Class MultiNoiseUtil.Entries<T>
java.lang.Object
net.minecraft.world.biome.source.util.MultiNoiseUtil.Entries<T>
- Enclosing class:
MultiNoiseUtil
- Mappings:
Namespace Name official cnt$c
intermediary net/minecraft/class_6544$class_6547
named net/minecraft/world/biome/source/util/MultiNoiseUtil$Entries
-
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 official a
Lcnt$c;a:Ljava/util/List;
intermediary field_34481
Lnet/minecraft/class_6544$class_6547;field_34481:Ljava/util/List;
named entries
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;entries:Ljava/util/List;
-
tree
- Mappings:
Namespace Name Mixin selector official b
Lcnt$c;b:Lcnt$e;
intermediary field_34482
Lnet/minecraft/class_6544$class_6547;field_34482:Lnet/minecraft/class_6544$class_6548;
named tree
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;tree:Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$SearchTree;
-
-
Constructor Details
-
Entries
- Mappings:
Namespace Name Mixin selector official <init>
Lcnt$c;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_6544$class_6547;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;<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 official a
Lcnt$c;a(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;
named createCodec
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;createCodec(Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/Codec;
-
getEntries
- Mappings:
Namespace Name Mixin selector official a
Lcnt$c;a()Ljava/util/List;
intermediary method_38128
Lnet/minecraft/class_6544$class_6547;method_38128()Ljava/util/List;
named getEntries
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getEntries()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 official a
Lcnt$c;a(Lcnt$h;)Ljava/lang/Object;
intermediary method_39529
Lnet/minecraft/class_6544$class_6547;method_39529(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
named get
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;get(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)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 official b
Lcnt$c;b(Lcnt$h;)Ljava/lang/Object;
intermediary method_39530
Lnet/minecraft/class_6544$class_6547;method_39530(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
named getValueSimple
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValueSimple(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)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 official c
Lcnt$c;c(Lcnt$h;)Ljava/lang/Object;
intermediary method_39527
Lnet/minecraft/class_6544$class_6547;method_39527(Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
named getValue
Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;getValue(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Ljava/lang/Object;
-
getValue
protected T getValue(MultiNoiseUtil.NoiseValuePoint point, MultiNoiseUtil.NodeDistanceFunction<T> distanceFunction) - Mappings:
Namespace Name Mixin selector official a
Lcnt$c;a(Lcnt$h;Lcnt$a;)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;
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;
-