Package net.minecraft.world.level.biome
Class Climate.ParameterList<T>
java.lang.Object
net.minecraft.world.level.biome.Climate.ParameterList<T>
- Enclosing class:
Climate
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Climate.RTree<T>
private final List<com.mojang.datafixers.util.Pair<Climate.ParameterPoint,
T>> -
Constructor Summary
ConstructorDescriptionParameterList
(List<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, T>> p_186849_) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<Climate.ParameterList<T>>
codec
(com.mojang.serialization.MapCodec<T> p_275523_) findValue
(Climate.TargetPoint p_204253_) findValueBruteForce
(Climate.TargetPoint p_204255_) findValueIndex
(Climate.TargetPoint p_186852_) protected T
findValueIndex
(Climate.TargetPoint p_186854_, Climate.DistanceMetric<T> p_186855_) List<com.mojang.datafixers.util.Pair<Climate.ParameterPoint,
T>> values()
-
Field Details
-
values
-
index
-
-
Constructor Details
-
ParameterList
-
-
Method Details
-
codec
public static <T> com.mojang.serialization.Codec<Climate.ParameterList<T>> codec(com.mojang.serialization.MapCodec<T> p_275523_) -
values
-
findValue
-
findValueBruteForce
-
findValueIndex
-
findValueIndex
-