net.minecraft.util

public class Util

bhs
net.minecraft.util.Util
net.minecraft.class_156
net.minecraft.util.Util
net.minecraft.unmapped.C_lvarvugc
net.minecraft.util.Util
net.minecraft.src.C_432350_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
g
LOGGER
field_1129
LOGGER
f_faeenrac
LOGGER
f_433275_
private static final int
h
DEFAULT_MAX_THREADS
field_34891
MAX_PARALLELISM
f_taiaktna
DEFAULT_MAX_THREADS
f_435400_
private static final int
i
DEFAULT_SAFE_FILE_OPERATION_RETRIES
field_46764
BACKUP_ATTEMPTS
f_yqlgihwf
BACKUP_AND_REPLACE_RETRIES
f_433095_
private static final String
j
MAX_THREADS_SYSTEM_PROPERTY
field_34892
MAX_BG_THREADS_PROPERTY
f_lamtvexk
MAX_THREADS_SYSTEM_PROPERTY
f_436674_
private static final NameableExecutor
k
BACKGROUND_EXECUTOR
field_18035
MAIN_WORKER_EXECUTOR
f_zimcxepj
MAIN_WORKER_EXECUTOR
f_435791_
private static final NameableExecutor
l
IO_POOL
field_24477
IO_WORKER_EXECUTOR
f_kmtdmvfj
IO_WORKER_EXECUTOR
f_434194_
private static final NameableExecutor
m
DOWNLOAD_POOL
field_47571
DOWNLOAD_WORKER_EXECUTOR
f_ajmhlkot
DOWNLOAD_WORKER_EXECUTOR
f_434578_
private static final DateTimeFormatter
n
FILENAME_DATE_TIME_FORMATTER
field_39824
DATE_TIME_FORMATTER
f_svsutdcg
FILE_NAME_DATE_TIME_FORMATTER
f_433777_
public static final int
a
LINEAR_LOOKUP_THRESHOLD
field_46220
field_46220
f_ivdnjoxr
LINEAR_LOOKUP_THRESHOLD
f_435067_
private static final Set<String>
o
ALLOWED_UNTRUSTED_LINK_PROTOCOLS
field_52196
SUPPORTED_URI_PROTOCOLS
f_psydxlrx
SUPPORTED_PROTOCOLS
f_433633_
public static final long
b
NANOS_PER_MILLI
field_45714
NANOS_PER_MILLI
f_sxxdtide
NANOS_PER_MILLI
f_434817_
public static TimeSupplier$Nanoseconds
c
timeSource
field_1128
nanoTimeSupplier
f_qqybtqnr
nanoTimeSupplier
f_433825_
public static final com.google.common.base.Ticker
d
TICKER
field_37250
TICKER
f_gsxvektl
TICKER
f_434522_
public static final UUID
e
NIL_UUID
field_25140
NIL_UUID
f_ahvemmlp
NIL_UUID
f_433898_
public static final FileSystemProvider
f
ZIP_FILE_SYSTEM_PROVIDER
field_33859
JAR_FILE_SYSTEM_PROVIDER
f_pshbhhha
JAR_FILE_SYSTEM_PROVIDER
f_436569_
private static Consumer<String>
p
thePauser
field_34893
missingBreakpointHandler
f_wikbskzx
breakpointPauser
f_436416_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <K, V> Collector<Map$Entry<? extends K, ? extends V>, ?, Map<K, V>>
a()
toMap()
method_664()
toMap()
m_ftciccth()
toMap()
m_439021_()
public static <T> Collector<T, ?, List<T>>
b()
toMutableList()
method_58579()
toArrayList()
m_ehppsmmu()
toArrayList()
m_439635_()
public static <T extends Comparable<T>> String
a(epk<T> o, Object o)
getPropertyName(Property<T> arg0, Object arg1)
method_650(class_2769<T> arg0, Object arg1)
getValueAsString(Property<T> property, Object value)
m_vgutcxlm(C_vzlztuyw<T> arg0, Object arg1)
getValueAsString(Property<T> property, Object value)
m_442916_(C_2097_<T> p_460833_, Object p_457400_)
public static String
a(String o, amo o)
makeDescriptionId(String arg0, Identifier arg1)
method_646(String arg0, class_2960 arg1)
createTranslationKey(String type, Identifier id)
m_wpeqdapc(String arg0, C_dbqpwypu arg1)
createTranslationKey(String type, Identifier arg1)
m_440480_(String p_455958_, C_432211_ p_457044_)
public static long
c()
getMillis()
method_658()
getMeasuringTimeMs()
m_qjjrrmre()
getMeasuringTimeMs()
m_443818_()
public static long
d()
getNanos()
method_648()
getMeasuringTimeNano()
m_xtrebjef()
getMeasuringTimeNano()
m_444296_()
public static long
e()
getEpochMillis()
method_659()
getEpochTimeMs()
m_elihuwxg()
getEpochTimeMs()
m_446213_()
public static String
f()
getFilenameFormattedDateTime()
method_44893()
getFormattedCurrentTime()
m_kkscytto()
getFileNameFormattedDateTime()
m_443556_()
private static NameableExecutor
c(String o)
makeExecutor(String arg0)
method_28122(String arg0)
createWorker(String name)
m_mytcolvj(String arg0)
createWorker(String name)
m_445054_(String p_453187_)
public static int
g()
maxAllowedExecutorThreads()
method_65951()
getAvailableBackgroundThreads()
m_uakmbgpv()
getAvailableBackgroundThreads()
m_439685_()
private static int
q()
getMaxThreads()
method_38648()
getMaxBackgroundThreads()
m_chvwiayy()
getMaxBackgroundThreads()
m_439445_()
public static NameableExecutor
h()
backgroundExecutor()
method_18349()
getMainWorkerExecutor()
m_hnnezaif()
getMainWorkerExecutor()
m_438745_()
public static NameableExecutor
i()
ioPool()
method_27958()
getIoWorkerExecutor()
m_gatbnpas()
getIoWorkerExecutor()
m_444188_()
public static NameableExecutor
j()
nonCriticalIoPool()
method_55473()
getDownloadWorkerExecutor()
m_jxtdpimf()
getDownloadWorkerExecutor()
m_446461_()
public static void
k()
shutdownExecutors()
method_18350()
shutdownExecutors()
m_kcnenfvs()
shutdownExecutors()
m_442184_()
private static NameableExecutor
a(String o, boolean o)
makeIoExecutor(String arg0, boolean arg1)
method_27959(String arg0, boolean arg1)
createIoWorker(String namePrefix, boolean daemon)
m_wkoofosm(String arg0, boolean arg1)
createIoWorker(String name, boolean daemon)
m_446896_(String p_457359_, boolean p_459469_)
public static void
a(Throwable o)
throwAsRuntime(Throwable arg0)
method_24155(Throwable arg0)
throwUnchecked(Throwable t)
m_vgcxoqmg(Throwable arg0)
throwUnchecked(Throwable t)
m_445209_(Throwable p_460606_)
private static void
a(Thread o, Throwable o)
onThreadException(Thread arg0, Throwable arg1)
method_18347(Thread arg0, Throwable arg1)
uncaughtExceptionHandler(Thread thread, Throwable t)
m_eprinqay(Thread arg0, Throwable arg1)
uncaughtExceptionHandler(Thread thread, Throwable t)
m_444577_(Thread p_456265_, Throwable p_453090_)
public static com.mojang.datafixers.types.Type<?>
a(com.mojang.datafixers.DSL$TypeReference o, String o)
fetchChoiceType(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
method_29187(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
getChoiceType(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
m_yvfdsqix(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
getChoiceType(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
m_442126_(com.mojang.datafixers.DSL$TypeReference p_459367_, String p_459346_)
private static com.mojang.datafixers.types.Type<?>
b(com.mojang.datafixers.DSL$TypeReference o, String o)
doFetchChoiceType(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
method_29191(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
getChoiceTypeInternal(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
m_cclbyaoh(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
getChoiceTypeInternal(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
m_446694_(com.mojang.datafixers.DSL$TypeReference p_457223_, String p_460132_)
public static void
a(Runnable o, String o)
runNamed(Runnable arg0, String arg1)
method_64122(Runnable arg0, String arg1)
runInNamedZone(Runnable runnable, String name)
m_otgatepv(Runnable arg0, String arg1)
runNamed(Runnable runnable, String name)
m_447569_(Runnable p_460297_, String p_459159_)
public static <T> String
a(jq<T> o, T o)
getRegisteredName(Registry<T> arg0, T arg1)
method_57107(class_2378<T> arg0, T arg1)
registryValueToString(Registry<T> registry, T value)
m_vpbpllsg(C_tqxyjqsk<T> arg0, T arg1)
getRegisteredName(Registry<T> registry, T entry)
m_439742_(C_4705_<T> p_460292_, T p_459811_)
public static <T> Predicate<T>
l()
allOf()
method_61210()
and()
m_vcxzzxug()
any()
m_445567_()
public static <T> Predicate<T>
a(Predicate<? super T> o)
allOf(Predicate<? super T> arg0)
method_61189(Predicate<? super T> arg0)
and(Predicate<? super T> a)
m_iqyfvjlg(Predicate<? super T> arg0)
allOf(Predicate<? super T> predicate)
m_438784_(Predicate<? super T> p_456091_)
public static <T> Predicate<T>
a(Predicate<? super T> o, Predicate<? super T> o)
allOf(Predicate<? super T> arg0, Predicate<? super T> arg1)
method_61190(Predicate<? super T> arg0, Predicate<? super T> arg1)
and(Predicate<? super T> a, Predicate<? super T> b)
m_zomipxmt(Predicate<? super T> arg0, Predicate<? super T> arg1)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2)
m_440392_(Predicate<? super T> p_459674_, Predicate<? super T> p_453390_)
public static <T> Predicate<T>
a(Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o)
allOf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
method_61192(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
and(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c)
m_jsawotje(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3)
m_442362_(Predicate<? super T> p_454735_, Predicate<? super T> p_460074_, Predicate<? super T> p_457366_)
public static <T> Predicate<T>
a(Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o)
allOf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
method_61194(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
and(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d)
m_hyouwfxs(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4)
m_442890_(Predicate<? super T> p_456296_, Predicate<? super T> p_458470_, Predicate<? super T> p_458595_, Predicate<? super T> p_455733_)
public static <T> Predicate<T>
a(Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o)
allOf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
method_61196(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
and(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d, Predicate<? super T> e)
m_ltllnhdf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4, Predicate<? super T> predicate5)
m_445429_(Predicate<? super T> p_459141_, Predicate<? super T> p_454958_, Predicate<? super T> p_460515_, Predicate<? super T> p_453827_, Predicate<? super T> p_457799_)
public static <T> Predicate<T>
a(Predicate<? super T>... o)
allOf(Predicate<? super T>... arg0)
method_61198(Predicate<? super T>... arg0)
and(Predicate<? super T>... predicates)
m_bgibgaeu(Predicate<? super T>... arg0)
allOf(Predicate<? super T>... predicates)
m_442632_(Predicate<? super T>... p_451245_)
public static <T> Predicate<T>
a(List<? extends Predicate<? super T>> o)
allOf(List<? extends Predicate<? super T>> arg0)
method_56613(List<? extends Predicate<? super T>> arg0)
allOf(List<? extends Predicate<? super T>> predicates)
m_sebyursz(List<? extends Predicate<? super T>> arg0)
allOf(List<? extends Predicate<? super T>> predicates)
m_444489_(List<? extends Predicate<? super T>> p_453627_)
public static <T> Predicate<T>
m()
anyOf()
method_61211()
or()
m_oxzqbkzs()
none()
m_442383_()
public static <T> Predicate<T>
b(Predicate<? super T> o)
anyOf(Predicate<? super T> arg0)
method_61199(Predicate<? super T> arg0)
or(Predicate<? super T> a)
m_wqqejnnb(Predicate<? super T> arg0)
anyOf(Predicate<? super T> predicate)
m_441111_(Predicate<? super T> p_459967_)
public static <T> Predicate<T>
b(Predicate<? super T> o, Predicate<? super T> o)
anyOf(Predicate<? super T> arg0, Predicate<? super T> arg1)
method_61200(Predicate<? super T> arg0, Predicate<? super T> arg1)
or(Predicate<? super T> a, Predicate<? super T> b)
m_uwfxdzgv(Predicate<? super T> arg0, Predicate<? super T> arg1)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2)
m_447147_(Predicate<? super T> p_454209_, Predicate<? super T> p_454901_)
public static <T> Predicate<T>
b(Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o)
anyOf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
method_61202(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
or(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c)
m_jdyqedzb(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3)
m_445874_(Predicate<? super T> p_453617_, Predicate<? super T> p_459231_, Predicate<? super T> p_452772_)
public static <T> Predicate<T>
b(Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o)
anyOf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
method_61204(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
or(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d)
m_nwpfiebz(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4)
m_442601_(Predicate<? super T> p_458592_, Predicate<? super T> p_454675_, Predicate<? super T> p_451205_, Predicate<? super T> p_456001_)
public static <T> Predicate<T>
b(Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o, Predicate<? super T> o)
anyOf(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
method_61206(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
or(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d, Predicate<? super T> e)
m_xlutpbns(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4, Predicate<? super T> predicate5)
m_445801_(Predicate<? super T> p_458851_, Predicate<? super T> p_458142_, Predicate<? super T> p_456603_, Predicate<? super T> p_456932_, Predicate<? super T> p_453934_)
public static <T> Predicate<T>
b(Predicate<? super T>... o)
anyOf(Predicate<? super T>... arg0)
method_61208(Predicate<? super T>... arg0)
or(Predicate<? super T>... predicates)
m_cshpnelu(Predicate<? super T>... arg0)
anyOf(Predicate<? super T>... predicates)
m_445179_(Predicate<? super T>... p_458772_)
public static <T> Predicate<T>
b(List<? extends Predicate<? super T>> o)
anyOf(List<? extends Predicate<? super T>> arg0)
method_56616(List<? extends Predicate<? super T>> arg0)
anyOf(List<? extends Predicate<? super T>> predicates)
m_vbthhkfm(List<? extends Predicate<? super T>> arg0)
anyOf(List<? extends Predicate<? super T>> predicates)
m_439988_(List<? extends Predicate<? super T>> p_452843_)
public static <T> boolean
a(int o, int o, List<T> o)
isSymmetrical(int arg0, int arg1, List<T> arg2)
method_59901(int arg0, int arg1, List<T> arg2)
isSymmetrical(int width, int height, List<T> list)
m_eyzgphxu(int arg0, int arg1, List<T> arg2)
isHorizontallySymmetric(int width, int height, List<T> list)
m_447193_(int p_451830_, int p_452583_, List<T> p_459170_)
public static int
a(int o, int o)
growByHalf(int arg0, int arg1)
method_68172(int arg0, int arg1)
nextCapacity(int current, int min)
m_ymdeoxnr(int arg0, int arg1)
getIncreasedCapacity(int current, int min)
m_442033_(int p_451690_, int p_454011_)
public static DateTimeFormatter
a(FormatStyle o)
localizedDateFormatter(FormatStyle arg0)
method_75862(FormatStyle arg0)
getDefaultLocaleFormatter(FormatStyle style)
m_grwkrhzu(FormatStyle arg0)
m_grwkrhzu(FormatStyle dateTimeStyle)
m_438930_(FormatStyle p_454931_)
public static Util$OperatingSystem
n()
getPlatform()
method_668()
getOperatingSystem()
m_rmfqlirq()
getOperatingSystem()
m_444848_()
public static boolean
o()
isAarch64()
method_72236()
isOnAarch64()
m_wijhvqnh()
m_443631_()
public static URI
a(String o)
parseAndValidateUntrustedUri(String arg0)
method_60931(String arg0)
validateUri(String uri)
m_ulyzwfto(String arg0)
createUri(String uri)
m_446629_(String p_460748_)
public static <T> T
a(Iterable<T> o, T o)
findNextInIterable(Iterable<T> arg0, T arg1)
method_660(Iterable<T> arg0, T arg1)
next(Iterable<T> iterable, T object)
m_nshqaczo(Iterable<T> arg0, T arg1)
next(Iterable<T> iterable, T object)
m_438786_(Iterable<T> p_453662_, T p_456366_)
public static <T> T
b(Iterable<T> o, T o)
findPreviousInIterable(Iterable<T> arg0, T arg1)
method_645(Iterable<T> arg0, T arg1)
previous(Iterable<T> iterable, T object)
m_vcjnmiex(Iterable<T> arg0, T arg1)
previous(Iterable<T> iterable, T object)
m_444858_(Iterable<T> p_453330_, T p_458682_)
public static <T> T
a(Supplier<T> o)
make(Supplier<T> arg0)
method_656(Supplier<T> arg0)
make(Supplier<T> factory)
m_wwakmmib(Supplier<T> arg0)
make(Supplier<T> factory)
m_440092_(Supplier<T> p_454184_)
public static <T> T
a(T o, Consumer<? super T> o)
make(T arg0, Consumer<? super T> arg1)
method_654(T arg0, Consumer<? super T> arg1)
make(T object, Consumer<? super T> initializer)
m_ewfqjfze(T arg0, Consumer<? super T> arg1)
make(T object, Consumer<? super T> initializer)
m_447692_(T p_453624_, Consumer<? super T> p_460189_)
public static <K extends Enum<K>, V> Map<K, V>
a(Class<K> o, Function<K, V> o)
makeEnumMap(Class<K> arg0, Function<K, V> arg1)
method_63541(Class<K> arg0, Function<K, V> arg1)
mapEnum(Class<K> enumClass, Function<K, V> mapper)
m_rpwoeqxt(Class<K> arg0, Function<K, V> arg1)
mapEnum(Class<K> enumClass, Function<K, V> mapper)
m_443568_(Class<K> p_451083_, Function<K, V> p_450941_)
public static <K, V1, V2> Map<K, V2>
a(Map<K, V1> o, Function<? super V1, V2> o)
mapValues(Map<K, V1> arg0, Function<? super V1, V2> arg1)
method_65968(Map<K, V1> arg0, Function<? super V1, V2> arg1)
transformMapValues(Map<K, V1> map, Function<? super V1, V2> transformer)
m_rsxcooyf(Map<K, V1> arg0, Function<? super V1, V2> arg1)
withTransformedValues(Map<K, V1> map, Function<? super V1, V2> transformer)
m_447201_(Map<K, V1> p_458645_, Function<? super V1, V2> p_457319_)
public static <K, V1, V2> Map<K, V2>
a(Map<K, V1> o, com.google.common.base.Function<V1, V2> o)
mapValuesLazy(Map<K, V1> arg0, com.google.common.base.Function<V1, V2> arg1)
method_65967(Map<K, V1> arg0, com.google.common.base.Function<V1, V2> arg1)
transformMapValuesLazy(Map<K, V1> map, com.google.common.base.Function<V1, V2> transformer)
m_xdtzcgqs(Map<K, V1> arg0, com.google.common.base.Function<V1, V2> arg1)
viewWithTransformedValues(Map<K, V1> map, com.google.common.base.Function<V1, V2> transformer)
m_439403_(Map<K, V1> p_457888_, com.google.common.base.Function<V1, V2> p_450746_)
public static <V> CompletableFuture<List<V>>
c(List<? extends CompletableFuture<V>> o)
sequence(List<? extends CompletableFuture<V>> arg0)
method_33791(List<? extends CompletableFuture<V>> arg0)
combineSafe(List<? extends CompletableFuture<V>> futures)
m_kpixdiyc(List<? extends CompletableFuture<V>> arg0)
combineSafe(List<? extends CompletableFuture<V>> futures)
m_446898_(List<? extends CompletableFuture<V>> p_457744_)
public static <V> CompletableFuture<List<V>>
d(List<? extends CompletableFuture<? extends V>> o)
sequenceFailFast(List<? extends CompletableFuture<? extends V>> arg0)
method_652(List<? extends CompletableFuture<? extends V>> arg0)
combine(List<? extends CompletableFuture<? extends V>> futures)
m_wbwlvhhn(List<? extends CompletableFuture<? extends V>> arg0)
combine(List<? extends CompletableFuture<? extends V>> futures)
m_445403_(List<? extends CompletableFuture<? extends V>> p_457938_)
public static <V> CompletableFuture<List<V>>
e(List<? extends CompletableFuture<? extends V>> o)
sequenceFailFastAndCancel(List<? extends CompletableFuture<? extends V>> arg0)
method_43373(List<? extends CompletableFuture<? extends V>> arg0)
combineCancellable(List<? extends CompletableFuture<? extends V>> futures)
m_odlcpqdv(List<? extends CompletableFuture<? extends V>> arg0)
combineCancelable(List<? extends CompletableFuture<? extends V>> futures)
m_441168_(List<? extends CompletableFuture<? extends V>> p_451859_)
private static <V> CompletableFuture<List<V>>
a(List<? extends CompletableFuture<? extends V>> o, Consumer<Throwable> o)
fallibleSequence(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
method_43370(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
combine(List<? extends CompletableFuture<? extends V>> futures, Consumer<Throwable> exceptionHandler)
m_xjiphzqy(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
combineFailFast(List<? extends CompletableFuture<? extends V>> futures, Consumer<Throwable> onError)
m_441970_(List<? extends CompletableFuture<? extends V>> p_453437_, Consumer<Throwable> p_454507_)
public static <T> Optional<T>
a(Optional<T> o, Consumer<T> o, Runnable o)
ifElse(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
method_17974(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
ifPresentOrElse(Optional<T> optional, Consumer<T> presentAction, Runnable elseAction)
m_qpdauvpg(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
ifPresentOrElse(Optional<T> optional, Consumer<T> presentAction, Runnable elseAction)
m_442642_(Optional<T> p_450337_, Consumer<T> p_456863_, Runnable p_460016_)
public static <T> Supplier<T>
a(Supplier<T> o, Supplier<String> o)
name(Supplier<T> arg0, Supplier<String> arg1)
method_41238(Supplier<T> arg0, Supplier<String> arg1)
debugSupplier(Supplier<T> supplier, Supplier<String> messageSupplier)
m_jrafutuc(Supplier<T> arg0, Supplier<String> arg1)
debugSupplier(Supplier<T> supplier, Supplier<String> messageGetter)
m_446971_(Supplier<T> p_457987_, Supplier<String> p_452190_)
public static Runnable
a(Runnable o, Supplier<String> o)
name(Runnable arg0, Supplier<String> arg1)
method_18839(Runnable arg0, Supplier<String> arg1)
debugRunnable(Runnable runnable, Supplier<String> messageSupplier)
m_jsqsuqek(Runnable arg0, Supplier<String> arg1)
debugRunnable(Runnable runnable, Supplier<String> messageGetter)
m_446173_(Runnable p_455186_, Supplier<String> p_451819_)
public static void
b(String o)
logAndPauseIfInIde(String arg0)
method_33559(String arg0)
logErrorOrPause(String message)
m_uocsgxgb(String arg0)
logAndPause(String message)
m_442560_(String p_450728_)
public static void
a(String o, Throwable o)
logAndPauseIfInIde(String arg0, Throwable arg1)
method_39977(String arg0, Throwable arg1)
logErrorOrPause(String message, Throwable throwable)
m_ngxcbtrh(String arg0, Throwable arg1)
logAndPause(String message, Throwable t)
m_439194_(String p_456282_, Throwable p_453319_)
public static <T extends Throwable> T
b(T o)
pauseInIde(T arg0)
method_22320(T arg0)
getFatalOrPause(T t)
m_eguhqvxr(T arg0)
throwOrPause(T t)
m_446997_(T p_453939_)
public static void
a(Consumer<String> o)
setPause(Consumer<String> arg0)
method_38646(Consumer<String> arg0)
setMissingBreakpointHandler(Consumer<String> missingBreakpointHandler)
m_ffmggoki(Consumer<String> arg0)
setBreakpointPauser(Consumer<String> breakpointPauser)
m_443904_(Consumer<String> p_454914_)
private static void
d(String o)
doPause(String arg0)
method_33560(String arg0)
pause(String message)
m_dxqrqrhx(String arg0)
pause(String message)
m_440619_(String p_455163_)
public static String
c(Throwable o)
describeError(Throwable arg0)
method_22321(Throwable arg0)
getInnermostMessage(Throwable t)
m_gxlhducm(Throwable arg0)
getInnermostMessage(Throwable t)
m_447246_(Throwable p_452068_)
public static <T> T
a(T[] o, bgr o)
getRandom(T[] arg0, RandomSource arg1)
method_27173(T[] arg0, class_5819 arg1)
getRandom(T[] array, Random random)
m_zxlwmobp(T[] arg0, C_rlomrsco arg1)
getRandom(T[] array, RandomGenerator random)
m_443832_(T[] p_456745_, C_212974_ p_460847_)
public static int
a(int[] o, bgr o)
getRandom(int[] arg0, RandomSource arg1)
method_27172(int[] arg0, class_5819 arg1)
getRandom(int[] array, Random random)
m_ucywpxge(int[] arg0, C_rlomrsco arg1)
getRandom(int[] array, RandomGenerator random)
m_440065_(int[] p_457211_, C_212974_ p_451763_)
public static <T> T
a(List<T> o, bgr o)
getRandom(List<T> arg0, RandomSource arg1)
method_32309(List<T> arg0, class_5819 arg1)
getRandom(List<T> list, Random random)
m_saniutqg(List<T> arg0, C_rlomrsco arg1)
getRandom(List<T> list, RandomGenerator random)
m_446591_(List<T> p_459817_, C_212974_ p_451874_)
public static <T> Optional<T>
b(List<T> o, bgr o)
getRandomSafe(List<T> arg0, RandomSource arg1)
method_40083(List<T> arg0, class_5819 arg1)
getRandomOrEmpty(List<T> list, Random random)
m_liaesfeu(List<T> arg0, C_rlomrsco arg1)
getRandomOrEmpty(List<T> list, RandomGenerator random)
m_444306_(List<T> p_457599_, C_212974_ p_456380_)
private static BooleanSupplier
a(Path o, Path o)
createRenamer(Path arg0, Path arg1)
method_30625(Path arg0, Path arg1)
renameTask(Path src, Path dest)
m_lyrrqjlr(Path arg0, Path arg1)
renameTask(Path src, Path dest)
m_445859_(Path p_458038_, Path p_450200_)
private static BooleanSupplier
a(Path o)
createDeleter(Path arg0)
method_30624(Path arg0)
deleteTask(Path path)
m_kbwjpgkm(Path arg0)
deleteTask(Path path)
m_439105_(Path p_452747_)
private static BooleanSupplier
b(Path o)
createFileDeletedCheck(Path arg0)
method_30628(Path arg0)
deletionVerifyTask(Path path)
m_teucbfzd(Path arg0)
deletionVerifyTask(Path path)
m_442519_(Path p_450326_)
private static BooleanSupplier
c(Path o)
createFileCreatedCheck(Path arg0)
method_30629(Path arg0)
existenceCheckTask(Path path)
m_aidzvymm(Path arg0)
existenceCheckTask(Path path)
m_443430_(Path p_452555_)
private static boolean
a(BooleanSupplier... o)
executeInSequence(BooleanSupplier... arg0)
method_30627(BooleanSupplier... arg0)
attemptTasks(BooleanSupplier... tasks)
m_uduxgasu(BooleanSupplier... arg0)
attemptTasks(BooleanSupplier... tasks)
m_445152_(BooleanSupplier... p_452780_)
private static boolean
a(int o, String o, BooleanSupplier... o)
runWithRetries(int arg0, String arg1, BooleanSupplier... arg2)
method_30622(int arg0, String arg1, BooleanSupplier... arg2)
attemptTasks(int retries, String taskName, BooleanSupplier... tasks)
m_yrtzlgsc(int arg0, String arg1, BooleanSupplier... arg2)
attemptTasks(int retries, String taskName, BooleanSupplier... tasks)
m_447404_(int p_460382_, String p_457314_, BooleanSupplier... p_450183_)
public static void
a(Path o, Path o, Path o)
safeReplaceFile(Path arg0, Path arg1, Path arg2)
method_30626(Path arg0, Path arg1, Path arg2)
backupAndReplace(Path current, Path newPath, Path backup)
m_iphxtmra(Path arg0, Path arg1, Path arg2)
backupAndReplace(Path current, Path newPath, Path backup)
m_444003_(Path p_460239_, Path p_457728_, Path p_453877_)
public static boolean
a(Path o, Path o, Path o, boolean o)
safeReplaceOrMoveFile(Path arg0, Path arg1, Path arg2, boolean arg3)
method_41204(Path arg0, Path arg1, Path arg2, boolean arg3)
backupAndReplace(Path current, Path newPath, Path backup, boolean noRestoreOnFail)
m_buzzcnhj(Path arg0, Path arg1, Path arg2, boolean arg3)
backupAndReplace(Path current, Path newPath, Path backup, boolean noRestoreOnFail)
m_444680_(Path p_457996_, Path p_458052_, Path p_456075_, boolean p_454950_)
public static int
a(String o, int o, int o)
offsetByCodepoints(String arg0, int arg1, int arg2)
method_27761(String arg0, int arg1, int arg2)
moveCursor(String string, int cursor, int delta)
m_vwigcqkp(String arg0, int arg1, int arg2)
moveCursor(String string, int cursor, int delta)
m_439385_(String p_461058_, int p_457317_, int p_451873_)
public static Consumer<String>
a(String o, Consumer<String> o)
prefix(String arg0, Consumer<String> arg1)
method_29188(String arg0, Consumer<String> arg1)
addPrefix(String prefix, Consumer<String> consumer)
m_wpgsfqzf(String arg0, Consumer<String> arg1)
withPrefix(String prefix, Consumer<String> consumer)
m_439801_(String p_451533_, Consumer<String> p_458100_)
public static com.mojang.serialization.DataResult<int[]>
a(IntStream o, int o)
fixedSize(IntStream arg0, int arg1)
method_29190(IntStream arg0, int arg1)
decodeFixedLengthArray(IntStream stream, int length)
m_drhjlchv(IntStream arg0, int arg1)
createFixedSizeArray(IntStream stream, int length)
m_445066_(IntStream p_453929_, int p_457720_)
public static com.mojang.serialization.DataResult<long[]>
a(LongStream o, int o)
fixedSize(LongStream arg0, int arg1)
method_51822(LongStream arg0, int arg1)
decodeFixedLengthArray(LongStream stream, int length)
m_kszryhbt(LongStream arg0, int arg1)
decodeFixedLengthArray(LongStream longStream, int length)
m_441073_(LongStream p_451891_, int p_450260_)
public static <T> com.mojang.serialization.DataResult<List<T>>
a(List<T> o, int o)
fixedSize(List<T> arg0, int arg1)
method_33141(List<T> arg0, int arg1)
decodeFixedLengthList(List<T> list, int length)
m_awkdanrv(List<T> arg0, int arg1)
verifyListSize(List<T> list, int length)
m_447683_(List<T> p_453371_, int p_451062_)
public static void
p()
startTimerHackThread()
method_29476()
startTimerHack()
m_oigccakw()
startTimerHack()
m_440587_()
public static void
b(Path o, Path o, Path o)
copyBetweenDirs(Path arg0, Path arg1, Path arg2)
method_29775(Path arg0, Path arg1, Path arg2)
relativeCopy(Path src, Path dest, Path toCopy)
m_ydhyxwlc(Path arg0, Path arg1, Path arg2)
relativeCopy(Path src, Path dest, Path toCopy)
m_443984_(Path p_458211_, Path p_452717_, Path p_455751_)
public static String
a(String o, k o)
sanitizeName(String arg0, CharPredicate arg1)
method_30309(String arg0, class_5462 arg1)
replaceInvalidChars(String string, CharPredicate predicate)
m_lgfbfuzz(String arg0, C_zpuwkbhr arg1)
replaceInvalidChars(String string, CharPredicate predicate)
m_443482_(String p_453785_, C_4824_ p_454706_)
public static <K, V> CachedMapper<K, V>
a(Function<K, V> o)
singleKeyCache(Function<K, V> arg0)
method_48746(Function<K, V> arg0)
cachedMapper(Function<K, V> mapper)
m_tpboltql(Function<K, V> arg0)
cachedMapper(Function<K, V> mapper)
m_446816_(Function<K, V> p_453833_)
public static <T, R> Function<T, R>
b(Function<T, R> o)
memoize(Function<T, R> arg0)
method_34866(Function<T, R> arg0)
memoize(Function<T, R> function)
m_gdspwjqr(Function<T, R> arg0)
memoize(Function<T, R> function)
m_446489_(Function<T, R> p_453423_)
public static <T, U, R> BiFunction<T, U, R>
a(BiFunction<T, U, R> o)
memoize(BiFunction<T, U, R> arg0)
method_34865(BiFunction<T, U, R> arg0)
memoize(BiFunction<T, U, R> biFunction)
m_ecvsiggs(BiFunction<T, U, R> arg0)
memoize(BiFunction<T, U, R> biFunction)
m_445371_(BiFunction<T, U, R> p_458223_)
public static <T> List<T>
a(Stream<T> o, bgr o)
toShuffledList(Stream<T> arg0, RandomSource arg1)
method_43252(Stream<T> arg0, class_5819 arg1)
copyShuffled(Stream<T> stream, Random random)
m_wciquilx(Stream<T> arg0, C_rlomrsco arg1)
toShuffledList(Stream<T> values, RandomGenerator random)
m_446360_(Stream<T> p_458187_, C_212974_ p_460883_)
public static it.unimi.dsi.fastutil.ints.IntArrayList
a(IntStream o, bgr o)
toShuffledList(IntStream arg0, RandomSource arg1)
method_43251(IntStream arg0, class_5819 arg1)
shuffle(IntStream stream, Random random)
m_swonhjpb(IntStream arg0, C_rlomrsco arg1)
toShuffledList(IntStream values, RandomGenerator random)
m_439513_(IntStream p_452049_, C_212974_ p_453443_)
public static <T> List<T>
b(T[] o, bgr o)
shuffledCopy(T[] arg0, RandomSource arg1)
method_43253(T[] arg0, class_5819 arg1)
copyShuffled(T[] array, Random random)
m_muatoqew(T[] arg0, C_rlomrsco arg1)
copyShuffled(T[] values, RandomGenerator random)
m_439994_(T[] p_457399_, C_212974_ p_456239_)
public static <T> List<T>
a(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> o, bgr o)
shuffledCopy(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, RandomSource arg1)
method_43027(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, class_5819 arg1)
copyShuffled(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> list, Random random)
m_wznbpzed(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, C_rlomrsco arg1)
copyShuffled(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> values, RandomGenerator random)
m_440027_(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> p_450699_, C_212974_ p_457748_)
public static <T> void
c(List<T> o, bgr o)
shuffle(List<T> arg0, RandomSource arg1)
method_43028(List<T> arg0, class_5819 arg1)
shuffle(List<T> list, Random random)
m_akgydyyc(List<T> arg0, C_rlomrsco arg1)
shuffle(List<T> items, RandomGenerator random)
m_445462_(List<T> p_453692_, C_212974_ p_451596_)
public static <T> CompletableFuture<T>
c(Function<Executor, CompletableFuture<T>> o)
blockUntilDone(Function<Executor, CompletableFuture<T>> arg0)
method_43499(Function<Executor, CompletableFuture<T>> arg0)
waitAndApply(Function<Executor, CompletableFuture<T>> resultFactory)
m_ccqxalmw(Function<Executor, CompletableFuture<T>> arg0)
awaitFuture(Function<Executor, CompletableFuture<T>> factory)
m_443236_(Function<Executor, CompletableFuture<T>> p_456655_)
public static <T> T
a(Function<Executor, T> o, Predicate<T> o)
blockUntilDone(Function<Executor, T> arg0, Predicate<T> arg1)
method_43498(Function<Executor, T> arg0, Predicate<T> arg1)
waitAndApply(Function<Executor, T> resultFactory, Predicate<T> donePredicate)
m_onipypca(Function<Executor, T> arg0, Predicate<T> arg1)
awaitInitialization(Function<Executor, T> factory, Predicate<T> checkComplete)
m_447098_(Function<Executor, T> p_459519_, Predicate<T> p_451994_)
public static <T> ToIntFunction<T>
f(List<T> o)
createIndexLookup(List<T> arg0)
method_43658(List<T> arg0)
lastIndexGetter(List<T> values)
m_bzkcqiwy(List<T> arg0)
createIndexLookup(List<T> elements)
m_443032_(List<T> p_456122_)
public static <T> ToIntFunction<T>
g(List<T> o)
createIndexIdentityLookup(List<T> arg0)
method_53909(List<T> arg0)
lastIdentityIndexGetter(List<T> values)
m_nccitswt(List<T> arg0)
createDefaultedIndexLookup(List<T> items)
m_447620_(List<T> p_451785_)
public static <A, B> com.mojang.datafixers.Typed<B>
a(com.mojang.datafixers.Typed<A> o, com.mojang.datafixers.types.Type<B> o, UnaryOperator<com.mojang.serialization.Dynamic<?>> o)
writeAndReadTypedOrThrow(com.mojang.datafixers.Typed<A> arg0, com.mojang.datafixers.types.Type<B> arg1, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
method_54907(com.mojang.datafixers.Typed<A> arg0, com.mojang.datafixers.types.Type<B> arg1, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
apply(com.mojang.datafixers.Typed<A> typed, com.mojang.datafixers.types.Type<B> type, UnaryOperator<com.mojang.serialization.Dynamic<?>> modifier)
m_ppnslico(com.mojang.datafixers.Typed<A> arg0, com.mojang.datafixers.types.Type<B> arg1, UnaryOperator<com.mojang.serialization.Dynamic<?>> arg2)
writeAndReadTypedOrThrow(com.mojang.datafixers.Typed<A> typed, com.mojang.datafixers.types.Type<B> type, UnaryOperator<com.mojang.serialization.Dynamic<?>> modifier)
m_446482_(com.mojang.datafixers.Typed<A> p_459616_, com.mojang.datafixers.types.Type<B> p_460842_, UnaryOperator<com.mojang.serialization.Dynamic<?>> p_450843_)
public static <T> com.mojang.datafixers.Typed<T>
a(com.mojang.datafixers.types.Type<T> o, com.mojang.serialization.Dynamic<?> o)
readTypedOrThrow(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_54908(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
readTyped(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> value)
m_cqdmdvek(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
readTypedOrThrow(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> dynamic)
m_443573_(com.mojang.datafixers.types.Type<T> p_454183_, com.mojang.serialization.Dynamic<?> p_451467_)
public static <T> com.mojang.datafixers.Typed<T>
a(com.mojang.datafixers.types.Type<T> o, com.mojang.serialization.Dynamic<?> o, boolean o)
readTypedOrThrow(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1, boolean arg2)
method_55333(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1, boolean arg2)
readTyped(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> value, boolean allowPartial)
m_thwrzial(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1, boolean arg2)
readTypedOrThrow(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> dynamic, boolean allowPartial)
m_438672_(com.mojang.datafixers.types.Type<T> p_460265_, com.mojang.serialization.Dynamic<?> p_459602_, boolean p_451868_)
public static <T> List<T>
a(List<T> o, T o)
copyAndAdd(List<T> arg0, T arg1)
method_57108(List<T> arg0, T arg1)
withAppended(List<T> list, T valueToAppend)
m_jpnvbfqy(List<T> arg0, T arg1)
appendAndCopyImmutable(List<T> elements, T element)
m_439451_(List<T> p_457738_, T p_455569_)
public static <T> List<T>
a(T o, List<T> o)
copyAndAdd(T arg0, List<T> arg1)
method_58272(T arg0, List<T> arg1)
withPrepended(T valueToPrepend, List<T> list)
m_xkundsnc(T arg0, List<T> arg1)
prependAndCopyImmutable(T element, List<T> elements)
m_439925_(T p_452732_, List<T> p_450851_)
public static <K, V> Map<K, V>
a(Map<K, V> o, K o, V o)
copyAndPut(Map<K, V> arg0, K arg1, V arg2)
method_57109(Map<K, V> arg0, K arg1, V arg2)
mapWith(Map<K, V> map, K keyToAppend, V valueToAppend)
m_fwdpfvho(Map<K, V> arg0, K arg1, V arg2)
mapWith(Map<K, V> map, K key, V value)
m_440669_(Map<K, V> p_455692_, K p_458646_, V p_457520_)