Package net.minecraft.util.function
Class ValueLists
java.lang.Object
net.minecraft.util.function.ValueLists
- Mappings:
Namespace Name named net/minecraft/util/function/ValueLists
intermediary net/minecraft/class_7995
official axe
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> IntFunction
<T> createIdToValueFunction
(ToIntFunction<T> valueToIdFunction, T[] values) static <T> IntFunction
<T> createIdToValueFunction
(ToIntFunction<T> valueToIdFunction, T[] values, ValueLists.OutOfBoundsHandling outOfBoundsHandling) static <T> IntFunction
<T> createIdToValueFunction
(ToIntFunction<T> valueToIdFunction, T[] values, T fallback) private static <T> T[]
validate
(ToIntFunction<T> valueToIndexFunction, T[] values)
-
Constructor Details
-
ValueLists
public ValueLists()
-
-
Method Details
-
createIdToValueFunction
private static <T> IntFunction<T> createIdToValueFunction(ToIntFunction<T> valueToIdFunction, T[] values) - Mappings:
Namespace Name Mixin selector named createIdToValueFunction
Lnet/minecraft/util/function/ValueLists;createIdToValueFunction(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;)Ljava/util/function/IntFunction;
intermediary method_47913
Lnet/minecraft/class_7995;method_47913(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;)Ljava/util/function/IntFunction;
official a
Laxe;a(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;)Ljava/util/function/IntFunction;
-
createIdToValueFunction
public static <T> IntFunction<T> createIdToValueFunction(ToIntFunction<T> valueToIdFunction, T[] values, T fallback) - Mappings:
Namespace Name Mixin selector named createIdToValueFunction
Lnet/minecraft/util/function/ValueLists;createIdToValueFunction(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/function/IntFunction;
intermediary method_47915
Lnet/minecraft/class_7995;method_47915(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/function/IntFunction;
official a
Laxe;a(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/function/IntFunction;
-
validate
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/util/function/ValueLists;validate(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;)[Ljava/lang/Object;
intermediary method_47917
Lnet/minecraft/class_7995;method_47917(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;)[Ljava/lang/Object;
official b
Laxe;b(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;)[Ljava/lang/Object;
-
createIdToValueFunction
public static <T> IntFunction<T> createIdToValueFunction(ToIntFunction<T> valueToIdFunction, T[] values, ValueLists.OutOfBoundsHandling outOfBoundsHandling) - Mappings:
Namespace Name Mixin selector named createIdToValueFunction
Lnet/minecraft/util/function/ValueLists;createIdToValueFunction(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;Lnet/minecraft/util/function/ValueLists$OutOfBoundsHandling;)Ljava/util/function/IntFunction;
intermediary method_47914
Lnet/minecraft/class_7995;method_47914(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;Lnet/minecraft/class_7995$class_7996;)Ljava/util/function/IntFunction;
official a
Laxe;a(Ljava/util/function/ToIntFunction;[Ljava/lang/Object;Laxe$a;)Ljava/util/function/IntFunction;
-