Class MultiNoiseUtil.Entries<T>

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

public static class MultiNoiseUtil.Entries<T> extends Object
Mappings:
Namespace Name
named net/minecraft/world/biome/source/util/MultiNoiseUtil$Entries
intermediary net/minecraft/class_6544$class_6547
official ddp$c
  • Field Details

    • entries

      private final List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> 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 Lddp$c;a:Ljava/util/List;
    • tree

      private final MultiNoiseUtil.SearchTree<T> 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 Lddp$c;b:Lddp$e;
  • Constructor Details

    • Entries

      public Entries(List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> 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> Lddp$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 Lddp$c;a(Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/Codec;
    • getEntries

      public List<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube,T>> 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 Lddp$c;a()Ljava/util/List;
    • get

      public T get(MultiNoiseUtil.NoiseValuePoint point)
      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 Lddp$c;a(Lddp$h;)Ljava/lang/Object;
    • getValueSimple

      public T getValueSimple(MultiNoiseUtil.NoiseValuePoint point)
      Returns the closest entry at the given point.. Note that this method only exists for testing, and is usually a lot slower than getValue(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 Lddp$c;b(Lddp$h;)Ljava/lang/Object;
    • getValue

      public T getValue(MultiNoiseUtil.NoiseValuePoint point)
      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 Lddp$c;c(Lddp$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 Lddp$c;a(Lddp$h;Lddp$a;)Ljava/lang/Object;