Package net.minecraft.util
Class ByIdMap
java.lang.Object
net.minecraft.util.ByIdMap
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IntFunction
<T> continuous
(ToIntFunction<T> p_263112_, T[] p_262975_, ByIdMap.OutOfBoundsStrategy p_263075_) private static <T> IntFunction
<T> createMap
(ToIntFunction<T> p_263047_, T[] p_263043_) private static <T> T[]
createSortedArray
(ToIntFunction<T> p_262976_, T[] p_263053_) static <T> IntFunction
<T> sparse
(ToIntFunction<T> p_262952_, T[] p_263085_, T p_262981_)
-
Constructor Details
-
ByIdMap
public ByIdMap()
-
-
Method Details
-
createMap
-
sparse
-
createSortedArray
-
continuous
public static <T> IntFunction<T> continuous(ToIntFunction<T> p_263112_, T[] p_262975_, ByIdMap.OutOfBoundsStrategy p_263075_)
-