net.minecraft

public class Util

ae
net.minecraft.Util
net.minecraft.class_156
net.minecraft.unmapped.C_lvarvugc
net.minecraft.util.Util
net.minecraft.util.Util
net.minecraft.src.C_5322_
net.minecraft.SystemUtils

Field summary

Modifier and TypeField
static final org.slf4j.Logger
g
LOGGER
field_1129
f_faeenrac
LOGGER
LOGGER
f_137446_
private static final int
h
DEFAULT_MAX_THREADS
field_34891
f_taiaktna
MAX_PARALLELISM
DEFAULT_MAX_THREADS
f_183935_
private static final int
i
DEFAULT_SAFE_FILE_OPERATION_RETRIES
field_46764
f_yqlgihwf
BACKUP_ATTEMPTS
f_303362_
private static final String
j
MAX_THREADS_SYSTEM_PROPERTY
field_34892
f_lamtvexk
MAX_BG_THREADS_PROPERTY
MAX_THREADS_SYSTEM_PROPERTY
f_183936_
private static final TracingExecutor
k
BACKGROUND_EXECUTOR
field_18035
f_zimcxepj
MAIN_WORKER_EXECUTOR
MAIN_WORKER_EXECUTOR
f_137444_
private static final TracingExecutor
l
IO_POOL
field_24477
f_kmtdmvfj
IO_WORKER_EXECUTOR
IO_WORKER_EXECUTOR
f_137445_
private static final TracingExecutor
m
DOWNLOAD_POOL
field_47571
f_ajmhlkot
DOWNLOAD_WORKER_EXECUTOR
DOWNLOAD_WORKER_EXECUTOR
f_302521_
private static final DateTimeFormatter
n
FILENAME_DATE_TIME_FORMATTER
field_39824
f_svsutdcg
DATE_TIME_FORMATTER
FILE_NAME_DATE_TIME_FORMATTER
f_241646_
public static final int
a
LINEAR_LOOKUP_THRESHOLD
field_46220
f_ivdnjoxr
field_46220
LINEAR_LOOKUP_THRESHOLD
f_303450_
private static final Set<String>
o
ALLOWED_UNTRUSTED_LINK_PROTOCOLS
field_52196
f_psydxlrx
SUPPORTED_URI_PROTOCOLS
f_337259_
public static final long
b
NANOS_PER_MILLI
field_45714
f_sxxdtide
field_45714
NANOS_PER_MILLI
f_291561_
public static TimeSource$NanoTimeSource
c
timeSource
field_1128
f_qqybtqnr
nanoTimeSupplier
nanoTimeSupplier
f_137440_
public static final com.google.common.base.Ticker
d
TICKER
field_37250
f_gsxvektl
TICKER
TICKER
f_211544_
public static final UUID
e
NIL_UUID
field_25140
f_ahvemmlp
NIL_UUID
NIL_UUID
f_137441_
public static final FileSystemProvider
f
ZIP_FILE_SYSTEM_PROVIDER
field_33859
f_pshbhhha
JAR_FILE_SYSTEM_PROVIDER
JAR_FILE_SYSTEM_PROVIDER
f_143778_
private static Consumer<String>
p
thePauser
field_34893
f_wikbskzx
missingBreakpointHandler
breakpointPauser
f_183937_

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()
m_ftciccth()
toMap()
toMap()
m_137448_()
public static <T> Collector<T, ?, List<T>>
b()
toMutableList()
method_58579()
m_ehppsmmu()
toArrayList()
toArrayList()
m_323807_()
public static <T extends Comparable<T>> String
a(dyx<T> arg0, Object arg1)
getPropertyName(Property<T> arg0, Object arg1)
method_650(class_2769<T> arg0, Object arg1)
m_vgutcxlm(C_vzlztuyw<T> arg0, Object arg1)
getValueAsString(Property<T> property, Object value)
getValueAsString(Property<T> property, Object value)
m_137453_(C_2097_<T> p_137454_, Object p_137455_)
public static String
a(String arg0, alz arg1)
makeDescriptionId(String arg0, ResourceLocation arg1)
method_646(String arg0, class_2960 arg1)
m_wpeqdapc(String arg0, C_ncpywfca arg1)
createTranslationKey(String type, Identifier id)
createTranslationKey(String type, Identifier id)
m_137492_(String p_137493_, C_5265_ p_137494_)
public static long
c()
getMillis()
method_658()
m_qjjrrmre()
getMeasuringTimeMs()
getMeasuringTimeMs()
m_137550_()
public static long
d()
getNanos()
method_648()
m_xtrebjef()
getMeasuringTimeNano()
getMeasuringTimeNano()
m_137569_()
public static long
e()
getEpochMillis()
method_659()
m_elihuwxg()
getEpochTimeMs()
getEpochTimeMs()
m_137574_()
public static String
f()
getFilenameFormattedDateTime()
method_44893()
m_kkscytto()
getFormattedCurrentTime()
getFileNameFormattedDateTime()
m_241986_()
private static TracingExecutor
c(String arg0)
makeExecutor(String arg0)
method_28122(String arg0)
m_mytcolvj(String arg0)
createWorker(String name)
createWorker(String name)
m_137477_(String p_137478_)
private static int
p()
getMaxThreads()
method_38648()
m_chvwiayy()
getMaxBackgroundThreads()
getMaxBackgroundThreads()
m_183993_()
public static TracingExecutor
g()
backgroundExecutor()
method_18349()
m_hnnezaif()
getMainWorkerExecutor()
getMainWorkerExecutor()
m_183991_()
public static TracingExecutor
h()
ioPool()
method_27958()
m_gatbnpas()
getIoWorkerExecutor()
getIoWorkerExecutor()
m_183992_()
public static TracingExecutor
i()
nonCriticalIoPool()
method_55473()
m_jxtdpimf()
getDownloadWorkerExecutor()
getDownloadWorkerExecutor()
m_306705_()
public static void
j()
shutdownExecutors()
method_18350()
m_kcnenfvs()
shutdownExecutors()
shutdownExecutors()
m_137580_()
private static TracingExecutor
a(String arg0, boolean arg1)
makeIoExecutor(String arg0, boolean arg1)
method_27959(String arg0, boolean arg1)
m_wkoofosm(String arg0, boolean arg1)
createIoWorker(String namePrefix, boolean daemon)
createIoWorker(String name, boolean daemon)
m_137586_(String p_309722_, boolean p_310621_)
public static void
a(Throwable arg0)
throwAsRuntime(Throwable arg0)
method_24155(Throwable arg0)
m_vgcxoqmg(Throwable arg0)
throwUnchecked(Throwable t)
throwUnchecked(Throwable t)
m_137559_(Throwable p_137560_)
private static void
a(Thread arg0, Throwable arg1)
onThreadException(Thread arg0, Throwable arg1)
method_18347(Thread arg0, Throwable arg1)
m_eprinqay(Thread arg0, Throwable arg1)
uncaughtExceptionHandler(Thread thread, Throwable t)
uncaughtExceptionHandler(Thread thread, Throwable t)
m_137495_(Thread p_137496_, Throwable p_137497_)
public static com.mojang.datafixers.types.Type<?>
a(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
fetchChoiceType(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
method_29187(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
m_yvfdsqix(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
getChoiceType(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
getChoiceType(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
m_137456_(com.mojang.datafixers.DSL$TypeReference p_137457_, String p_137458_)
private static com.mojang.datafixers.types.Type<?>
b(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
doFetchChoiceType(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
method_29191(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
m_cclbyaoh(com.mojang.datafixers.DSL$TypeReference arg0, String arg1)
getChoiceTypeInternal(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
getChoiceTypeInternal(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
m_137551_(com.mojang.datafixers.DSL$TypeReference p_137552_, String p_137553_)
public static void
a(Runnable arg0, String arg1)
runNamed(Runnable arg0, String arg1)
method_64122(Runnable arg0, String arg1)
m_otgatepv(Runnable arg0, String arg1)
runInNamedZone(Runnable runnable, String name)
m_356614_(Runnable p_369252_, String p_367193_)
public static <T> String
a(kd<T> arg0, T arg1)
getRegisteredName(Registry<T> arg0, T arg1)
method_57107(class_2378<T> arg0, T arg1)
m_vpbpllsg(C_tqxyjqsk<T> arg0, T arg1)
registryValueToString(Registry<T> registry, T value)
getRegisteredName(Registry<T> registry, T entry)
m_322642_(C_4705_<T> p_336230_, T p_335370_)
public static <T> Predicate<T>
k()
allOf()
method_61210()
m_vcxzzxug()
and()
any()
m_352362_()
public static <T> Predicate<T>
a(Predicate<? super T> arg0)
allOf(Predicate<? super T> arg0)
method_61189(Predicate<? super T> arg0)
m_iqyfvjlg(Predicate<? super T> arg0)
and(Predicate<? super T> a)
allOf(Predicate<? super T> predicate)
m_354389_(Predicate<? super T> p_370105_)
public static <T> Predicate<T>
a(Predicate<? super T> arg0, Predicate<? super T> arg1)
allOf(Predicate<? super T> arg0, Predicate<? super T> arg1)
method_61190(Predicate<? super T> arg0, Predicate<? super T> arg1)
m_zomipxmt(Predicate<? super T> arg0, Predicate<? super T> arg1)
and(Predicate<? super T> a, Predicate<? super T> b)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2)
m_353397_(Predicate<? super T> p_363065_, Predicate<? super T> p_369468_)
public static <T> Predicate<T>
a(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
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)
m_jsawotje(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)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3)
m_356056_(Predicate<? super T> p_367355_, Predicate<? super T> p_368540_, Predicate<? super T> p_368292_)
public static <T> Predicate<T>
a(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
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)
m_hyouwfxs(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)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4)
m_353915_(Predicate<? super T> p_366665_, Predicate<? super T> p_362170_, Predicate<? super T> p_368098_, Predicate<? super T> p_368091_)
public static <T> Predicate<T>
a(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
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)
m_ltllnhdf(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)
allOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4, Predicate<? super T> predicate5)
m_356443_(Predicate<? super T> p_364729_, Predicate<? super T> p_370126_, Predicate<? super T> p_365718_, Predicate<? super T> p_361334_, Predicate<? super T> p_364329_)
public static <T> Predicate<T>
a(Predicate<? super T>... arg0)
allOf(Predicate<? super T>... arg0)
method_61198(Predicate<? super T>... arg0)
m_bgibgaeu(Predicate<? super T>... arg0)
and(Predicate<? super T>... predicates)
allOf(Predicate<? super T>... predicates)
m_353667_(Predicate<? super T>... p_362015_)
public static <T> Predicate<T>
a(List<? extends Predicate<? super T>> arg0)
allOf(List<? extends Predicate<? super T>> arg0)
method_56613(List<? extends Predicate<? super T>> arg0)
m_sebyursz(List<? extends Predicate<? super T>> arg0)
allOf(List<? extends Predicate<? super T>> predicates)
allOf(List<? extends Predicate<? super T>> predicates)
m_322468_(List<? extends Predicate<? super T>> p_333513_)
public static <T> Predicate<T>
l()
anyOf()
method_61211()
m_oxzqbkzs()
or()
none()
m_352610_()
public static <T> Predicate<T>
b(Predicate<? super T> arg0)
anyOf(Predicate<? super T> arg0)
method_61199(Predicate<? super T> arg0)
m_wqqejnnb(Predicate<? super T> arg0)
or(Predicate<? super T> a)
anyOf(Predicate<? super T> predicate)
m_354587_(Predicate<? super T> p_369369_)
public static <T> Predicate<T>
b(Predicate<? super T> arg0, Predicate<? super T> arg1)
anyOf(Predicate<? super T> arg0, Predicate<? super T> arg1)
method_61200(Predicate<? super T> arg0, Predicate<? super T> arg1)
m_uwfxdzgv(Predicate<? super T> arg0, Predicate<? super T> arg1)
or(Predicate<? super T> a, Predicate<? super T> b)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2)
m_351596_(Predicate<? super T> p_361301_, Predicate<? super T> p_361372_)
public static <T> Predicate<T>
b(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2)
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)
m_jdyqedzb(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)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3)
m_356569_(Predicate<? super T> p_368986_, Predicate<? super T> p_367469_, Predicate<? super T> p_363214_)
public static <T> Predicate<T>
b(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3)
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)
m_nwpfiebz(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)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4)
m_352405_(Predicate<? super T> p_366428_, Predicate<? super T> p_363267_, Predicate<? super T> p_367688_, Predicate<? super T> p_364700_)
public static <T> Predicate<T>
b(Predicate<? super T> arg0, Predicate<? super T> arg1, Predicate<? super T> arg2, Predicate<? super T> arg3, Predicate<? super T> arg4)
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)
m_xlutpbns(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)
anyOf(Predicate<? super T> predicate1, Predicate<? super T> predicate2, Predicate<? super T> predicate3, Predicate<? super T> predicate4, Predicate<? super T> predicate5)
m_352690_(Predicate<? super T> p_364065_, Predicate<? super T> p_361450_, Predicate<? super T> p_368832_, Predicate<? super T> p_367216_, Predicate<? super T> p_367149_)
public static <T> Predicate<T>
b(Predicate<? super T>... arg0)
anyOf(Predicate<? super T>... arg0)
method_61208(Predicate<? super T>... arg0)
m_cshpnelu(Predicate<? super T>... arg0)
or(Predicate<? super T>... predicates)
anyOf(Predicate<? super T>... predicates)
m_355947_(Predicate<? super T>... p_362161_)
public static <T> Predicate<T>
b(List<? extends Predicate<? super T>> arg0)
anyOf(List<? extends Predicate<? super T>> arg0)
method_56616(List<? extends Predicate<? super T>> arg0)
m_vbthhkfm(List<? extends Predicate<? super T>> arg0)
anyOf(List<? extends Predicate<? super T>> predicates)
anyOf(List<? extends Predicate<? super T>> predicates)
m_321702_(List<? extends Predicate<? super T>> p_328136_)
public static <T> boolean
a(int arg0, int arg1, List<T> arg2)
isSymmetrical(int arg0, int arg1, List<T> arg2)
method_59901(int arg0, int arg1, List<T> arg2)
m_eyzgphxu(int arg0, int arg1, List<T> arg2)
isSymmetrical(int width, int height, List<T> list)
isHorizontallySymmetric(int width, int height, List<T> arg2)
m_340468_(int p_342989_, int p_344905_, List<T> p_342186_)
public static Util$OS
m()
getPlatform()
method_668()
m_rmfqlirq()
getOperatingSystem()
getOperatingSystem()
m_137581_()
public static URI
a(String arg0)
parseAndValidateUntrustedUri(String arg0)
method_60931(String arg0)
m_ulyzwfto(String arg0)
validateUri(String uri)
m_340630_(String p_343758_)
public static Stream<String>
n()
getVmArguments()
method_651()
m_fppetslt()
getJVMFlags()
getJVMFlags()
m_137582_()
public static <T> T
c(List<T> arg0)
lastOf(List<T> arg0)
method_20793(List<T> arg0)
m_jzncpgce(List<T> arg0)
getLast(List<T> list)
getLast(List<T> list)
m_137509_(List<T> p_137510_)
public static <T> T
a(Iterable<T> arg0, T arg1)
findNextInIterable(Iterable<T> arg0, T arg1)
method_660(Iterable<T> arg0, T arg1)
m_nshqaczo(Iterable<T> arg0, T arg1)
next(Iterable<T> iterable, T object)
next(Iterable<T> iterable, T object)
m_137466_(Iterable<T> p_137467_, T p_137468_)
public static <T> T
b(Iterable<T> arg0, T arg1)
findPreviousInIterable(Iterable<T> arg0, T arg1)
method_645(Iterable<T> arg0, T arg1)
m_vcjnmiex(Iterable<T> arg0, T arg1)
previous(Iterable<T> iterable, T object)
previous(Iterable<T> iterable, T object)
m_137554_(Iterable<T> p_137555_, T p_137556_)
public static <T> T
a(Supplier<T> arg0)
make(Supplier<T> arg0)
method_656(Supplier<T> arg0)
m_wwakmmib(Supplier<T> arg0)
make(Supplier<T> factory)
make(Supplier<T> factory)
m_137537_(Supplier<T> p_137538_)
public static <T> T
a(T arg0, Consumer<? super T> arg1)
make(T arg0, Consumer<? super T> arg1)
method_654(T arg0, Consumer<? super T> arg1)
m_ewfqjfze(T arg0, Consumer<? super T> arg1)
make(T object, Consumer<? super T> initializer)
make(T object, Consumer<? super T> initializer)
m_137469_(T p_137470_, Consumer<? super T> p_137471_)
public static <K extends Enum<K>, V> EnumMap<K, V>
a(Class<K> arg0, Function<K, V> arg1)
makeEnumMap(Class<K> arg0, Function<K, V> arg1)
method_63541(Class<K> arg0, Function<K, V> arg1)
m_rpwoeqxt(Class<K> arg0, Function<K, V> arg1)
mapEnum(Class<K> enumClass, Function<K, V> mapper)
mapEnum(Class<K> enumClass, Function<K, V> mapper)
m_356390_(Class<K> p_361919_, Function<K, V> p_363082_)
public static <V> CompletableFuture<List<V>>
d(List<? extends CompletableFuture<V>> arg0)
sequence(List<? extends CompletableFuture<V>> arg0)
method_33791(List<? extends CompletableFuture<V>> arg0)
m_kpixdiyc(List<? extends CompletableFuture<V>> arg0)
combineSafe(List<? extends CompletableFuture<V>> futures)
combineSafe(List<? extends CompletableFuture<V>> futures)
m_137567_(List<? extends CompletableFuture<V>> p_137568_)
public static <V> CompletableFuture<List<V>>
e(List<? extends CompletableFuture<? extends V>> arg0)
sequenceFailFast(List<? extends CompletableFuture<? extends V>> arg0)
method_652(List<? extends CompletableFuture<? extends V>> arg0)
m_wbwlvhhn(List<? extends CompletableFuture<? extends V>> arg0)
combine(List<? extends CompletableFuture<? extends V>> futures)
combine(List<? extends CompletableFuture<? extends V>> futures)
m_143840_(List<? extends CompletableFuture<? extends V>> p_143841_)
public static <V> CompletableFuture<List<V>>
f(List<? extends CompletableFuture<? extends V>> arg0)
sequenceFailFastAndCancel(List<? extends CompletableFuture<? extends V>> arg0)
method_43373(List<? extends CompletableFuture<? extends V>> arg0)
m_odlcpqdv(List<? extends CompletableFuture<? extends V>> arg0)
combineCancellable(List<? extends CompletableFuture<? extends V>> futures)
m_214684_(List<? extends CompletableFuture<? extends V>> p_214685_)
private static <V> CompletableFuture<List<V>>
a(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
fallibleSequence(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
method_43370(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
m_xjiphzqy(List<? extends CompletableFuture<? extends V>> arg0, Consumer<Throwable> arg1)
combine(List<? extends CompletableFuture<? extends V>> futures, Consumer<Throwable> exceptionHandler)
m_214631_(List<? extends CompletableFuture<? extends V>> p_214632_, Consumer<Throwable> p_214633_)
public static <T> Optional<T>
a(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
ifElse(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
method_17974(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
m_qpdauvpg(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
ifPresentOrElse(Optional<T> optional, Consumer<T> presentAction, Runnable elseAction)
ifPresentOrElse(Optional<T> optional, Consumer<T> presentAction, Runnable elseAction)
m_137521_(Optional<T> p_137522_, Consumer<T> p_137523_, Runnable p_137524_)
public static <T> Supplier<T>
a(Supplier<T> arg0, Supplier<String> arg1)
name(Supplier<T> arg0, Supplier<String> arg1)
method_41238(Supplier<T> arg0, Supplier<String> arg1)
m_jrafutuc(Supplier<T> arg0, Supplier<String> arg1)
debugSupplier(Supplier<T> supplier, Supplier<String> messageSupplier)
m_214655_(Supplier<T> p_214656_, Supplier<String> p_214657_)
public static Runnable
a(Runnable arg0, Supplier<String> arg1)
name(Runnable arg0, Supplier<String> arg1)
method_18839(Runnable arg0, Supplier<String> arg1)
m_jsqsuqek(Runnable arg0, Supplier<String> arg1)
debugRunnable(Runnable runnable, Supplier<String> messageSupplier)
m_jsqsuqek(Runnable runnable, Supplier<String> supplier)
m_137474_(Runnable p_137475_, Supplier<String> p_137476_)
public static void
b(String arg0)
logAndPauseIfInIde(String arg0)
method_33559(String arg0)
m_uocsgxgb(String arg0)
logErrorOrPause(String message)
logAndPause(String message)
m_143785_(String p_143786_)
public static void
a(String arg0, Throwable arg1)
logAndPauseIfInIde(String arg0, Throwable arg1)
method_39977(String arg0, Throwable arg1)
m_ngxcbtrh(String arg0, Throwable arg1)
logErrorOrPause(String message, Throwable throwable)
logAndPause(String message, Throwable t)
m_200890_(String p_200891_, Throwable p_200892_)
public static <T extends Throwable> T
b(T arg0)
pauseInIde(T arg0)
method_22320(T arg0)
m_eguhqvxr(T arg0)
getFatalOrPause(T t)
throwOrPause(T t)
m_137570_(T p_137571_)
public static void
a(Consumer<String> arg0)
setPause(Consumer<String> arg0)
method_38646(Consumer<String> arg0)
m_ffmggoki(Consumer<String> arg0)
setMissingBreakpointHandler(Consumer<String> missingBreakpointHandler)
setBreakpointPauser(Consumer<String> breakpointPauser)
m_183969_(Consumer<String> p_183970_)
private static void
d(String arg0)
doPause(String arg0)
method_33560(String arg0)
m_dxqrqrhx(String arg0)
pause(String message)
pause(String message)
m_183984_(String p_183985_)
public static String
c(Throwable arg0)
describeError(Throwable arg0)
method_22321(Throwable arg0)
m_gxlhducm(Throwable arg0)
getInnermostMessage(Throwable t)
getInnermostMessage(Throwable t)
m_137575_(Throwable p_137576_)
public static <T> T
a(T[] arg0, bam arg1)
getRandom(T[] arg0, RandomSource arg1)
method_27173(T[] arg0, class_5819 arg1)
m_zxlwmobp(T[] arg0, C_rlomrsco arg1)
getRandom(T[] array, Random random)
getRandom(T[] array, RandomGenerator random)
m_214670_(T[] p_214671_, C_212974_ p_214672_)
public static int
a(int[] arg0, bam arg1)
getRandom(int[] arg0, RandomSource arg1)
method_27172(int[] arg0, class_5819 arg1)
m_ucywpxge(int[] arg0, C_rlomrsco arg1)
getRandom(int[] array, Random random)
getRandom(int[] array, RandomGenerator random)
m_214667_(int[] p_214668_, C_212974_ p_214669_)
public static <T> T
a(List<T> arg0, bam arg1)
getRandom(List<T> arg0, RandomSource arg1)
method_32309(List<T> arg0, class_5819 arg1)
m_saniutqg(List<T> arg0, C_rlomrsco arg1)
getRandom(List<T> list, Random random)
getRandom(List<T> list, RandomGenerator random)
m_214621_(List<T> p_214622_, C_212974_ p_214623_)
public static <T> Optional<T>
b(List<T> arg0, bam arg1)
getRandomSafe(List<T> arg0, RandomSource arg1)
method_40083(List<T> arg0, class_5819 arg1)
m_liaesfeu(List<T> arg0, C_rlomrsco arg1)
getRandomOrEmpty(List<T> list, Random random)
getRandomOrEmpty(List<T> list, RandomGenerator random)
m_214676_(List<T> p_214677_, C_212974_ p_214678_)
private static BooleanSupplier
a(Path arg0, Path arg1)
createRenamer(Path arg0, Path arg1)
method_30625(Path arg0, Path arg1)
m_lyrrqjlr(Path arg0, Path arg1)
renameTask(Path src, Path dest)
renameTask(Path src, Path dest)
m_137502_(Path p_137503_, Path p_137504_)
private static BooleanSupplier
a(Path arg0)
createDeleter(Path arg0)
method_30624(Path arg0)
m_kbwjpgkm(Path arg0)
deleteTask(Path path)
deleteTask(Path path)
m_137500_(Path p_137501_)
private static BooleanSupplier
b(Path arg0)
createFileDeletedCheck(Path arg0)
method_30628(Path arg0)
m_teucbfzd(Path arg0)
deletionVerifyTask(Path path)
deletionVerifyTask(Path path)
m_137561_(Path p_137562_)
private static BooleanSupplier
c(Path arg0)
createFileCreatedCheck(Path arg0)
method_30629(Path arg0)
m_aidzvymm(Path arg0)
existenceCheckTask(Path path)
existenceCheckTask(Path path)
m_137572_(Path p_137573_)
private static boolean
a(BooleanSupplier... arg0)
executeInSequence(BooleanSupplier... arg0)
method_30627(BooleanSupplier... arg0)
m_uduxgasu(BooleanSupplier... arg0)
attemptTasks(BooleanSupplier... tasks)
attemptTasks(BooleanSupplier... tasks)
m_137548_(BooleanSupplier... p_137549_)
private static boolean
a(int arg0, String arg1, BooleanSupplier... arg2)
runWithRetries(int arg0, String arg1, BooleanSupplier... arg2)
method_30622(int arg0, String arg1, BooleanSupplier... arg2)
m_yrtzlgsc(int arg0, String arg1, BooleanSupplier... arg2)
attemptTasks(int retries, String taskName, BooleanSupplier... tasks)
attemptTasks(int retries, String taskName, BooleanSupplier... tasks)
m_137449_(int p_137450_, String p_137451_, BooleanSupplier... p_137452_)
public static void
a(Path arg0, Path arg1, Path arg2)
safeReplaceFile(Path arg0, Path arg1, Path arg2)
method_30626(Path arg0, Path arg1, Path arg2)
m_iphxtmra(Path arg0, Path arg1, Path arg2)
backupAndReplace(Path current, Path newPath, Path backup)
backupAndReplace(Path current, Path newPath, Path backup)
m_137505_(Path p_137506_, Path p_137507_, Path p_137508_)
public static boolean
a(Path arg0, Path arg1, Path arg2, boolean arg3)
safeReplaceOrMoveFile(Path arg0, Path arg1, Path arg2, boolean arg3)
method_41204(Path arg0, Path arg1, Path arg2, boolean arg3)
m_buzzcnhj(Path arg0, Path arg1, Path arg2, boolean arg3)
backupAndReplace(Path current, Path newPath, Path backup, boolean noRestoreOnFail)
backupAndReplace(Path current, Path newPath, Path backup, boolean noRestoreOnFail)
m_212224_(Path p_311739_, Path p_310810_, Path p_310842_, boolean p_212228_)
public static int
a(String arg0, int arg1, int arg2)
offsetByCodepoints(String arg0, int arg1, int arg2)
method_27761(String arg0, int arg1, int arg2)
m_vwigcqkp(String arg0, int arg1, int arg2)
moveCursor(String string, int cursor, int delta)
moveCursor(String string, int cursor, int delta)
m_137479_(String p_137480_, int p_137481_, int p_137482_)
public static Consumer<String>
a(String arg0, Consumer<String> arg1)
prefix(String arg0, Consumer<String> arg1)
method_29188(String arg0, Consumer<String> arg1)
m_wpgsfqzf(String arg0, Consumer<String> arg1)
addPrefix(String prefix, Consumer<String> consumer)
addPrefix(String prefix, Consumer<String> consumer)
m_137489_(String p_137490_, Consumer<String> p_137491_)
public static com.mojang.serialization.DataResult<int[]>
a(IntStream arg0, int arg1)
fixedSize(IntStream arg0, int arg1)
method_29190(IntStream arg0, int arg1)
m_drhjlchv(IntStream arg0, int arg1)
decodeFixedLengthArray(IntStream stream, int length)
fixedSizeList(IntStream stream, int length)
m_137539_(IntStream p_137540_, int p_137541_)
public static com.mojang.serialization.DataResult<long[]>
a(LongStream arg0, int arg1)
fixedSize(LongStream arg0, int arg1)
method_51822(LongStream arg0, int arg1)
m_kszryhbt(LongStream arg0, int arg1)
decodeFixedLengthArray(LongStream stream, int length)
decodeFixedLengthArray(LongStream longStream, int length)
m_287262_(LongStream p_287579_, int p_287631_)
public static <T> com.mojang.serialization.DataResult<List<T>>
a(List<T> arg0, int arg1)
fixedSize(List<T> arg0, int arg1)
method_33141(List<T> arg0, int arg1)
m_awkdanrv(List<T> arg0, int arg1)
decodeFixedLengthList(List<T> list, int length)
fixedSizeList(List<T> list, int length)
m_143795_(List<T> p_143796_, int p_143797_)
public static void
o()
startTimerHackThread()
method_29476()
m_oigccakw()
startTimerHack()
startTimerHack()
m_137584_()
public static void
b(Path arg0, Path arg1, Path arg2)
copyBetweenDirs(Path arg0, Path arg1, Path arg2)
method_29775(Path arg0, Path arg1, Path arg2)
m_ydhyxwlc(Path arg0, Path arg1, Path arg2)
relativeCopy(Path src, Path dest, Path toCopy)
relativeCopy(Path src, Path dest, Path toCopy)
m_137563_(Path p_137564_, Path p_137565_, Path p_137566_)
public static String
a(String arg0, m arg1)
sanitizeName(String arg0, CharPredicate arg1)
method_30309(String arg0, class_5462 arg1)
m_lgfbfuzz(String arg0, C_zpuwkbhr arg1)
replaceInvalidChars(String string, CharPredicate predicate)
replaceInvalidChars(String string, CharPredicate predicate)
m_137483_(String p_137484_, C_4824_ p_137485_)
public static <K, V> SingleKeyCache<K, V>
a(Function<K, V> arg0)
singleKeyCache(Function<K, V> arg0)
method_48746(Function<K, V> arg0)
m_tpboltql(Function<K, V> arg0)
cachedMapper(Function<K, V> mapper)
cachedMapper(Function<K, V> mapper)
m_269175_(Function<K, V> p_270326_)
public static <T, R> Function<T, R>
b(Function<T, R> arg0)
memoize(Function<T, R> arg0)
method_34866(Function<T, R> arg0)
m_gdspwjqr(Function<T, R> arg0)
memoize(Function<T, R> function)
memoize(Function<T, R> function)
m_143827_(Function<T, R> p_143828_)
public static <T, U, R> BiFunction<T, U, R>
a(BiFunction<T, U, R> arg0)
memoize(BiFunction<T, U, R> arg0)
method_34865(BiFunction<T, U, R> arg0)
m_ecvsiggs(BiFunction<T, U, R> arg0)
memoize(BiFunction<T, U, R> biFunction)
memoize(BiFunction<T, U, R> biFunction)
m_143821_(BiFunction<T, U, R> p_143822_)
public static <T> List<T>
a(Stream<T> arg0, bam arg1)
toShuffledList(Stream<T> arg0, RandomSource arg1)
method_43252(Stream<T> arg0, class_5819 arg1)
m_wciquilx(Stream<T> arg0, C_rlomrsco arg1)
copyShuffled(Stream<T> stream, Random random)
toShuffledList(Stream<T> values, RandomGenerator random)
m_214661_(Stream<T> p_214662_, C_212974_ p_214663_)
public static it.unimi.dsi.fastutil.ints.IntArrayList
a(IntStream arg0, bam arg1)
toShuffledList(IntStream arg0, RandomSource arg1)
method_43251(IntStream arg0, class_5819 arg1)
m_swonhjpb(IntStream arg0, C_rlomrsco arg1)
shuffle(IntStream stream, Random random)
toShuffledList(IntStream values, RandomGenerator random)
m_214658_(IntStream p_214659_, C_212974_ p_214660_)
public static <T> List<T>
b(T[] arg0, bam arg1)
shuffledCopy(T[] arg0, RandomSource arg1)
method_43253(T[] arg0, class_5819 arg1)
m_muatoqew(T[] arg0, C_rlomrsco arg1)
copyShuffled(T[] array, Random random)
copyShuffled(T[] values, RandomGenerator random)
m_214681_(T[] p_214682_, C_212974_ p_214683_)
public static <T> List<T>
a(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, bam arg1)
shuffledCopy(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, RandomSource arg1)
method_43027(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, class_5819 arg1)
m_wznbpzed(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> arg0, C_rlomrsco arg1)
copyShuffled(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> list, Random random)
copyShuffled(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> values, RandomGenerator random)
m_214611_(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> p_214612_, C_212974_ p_214613_)
public static <T> void
c(List<T> arg0, bam arg1)
shuffle(List<T> arg0, RandomSource arg1)
method_43028(List<T> arg0, class_5819 arg1)
m_akgydyyc(List<T> arg0, C_rlomrsco arg1)
shuffle(List<T> list, Random random)
shuffle(List<T> items, RandomGenerator random)
m_214673_(List<T> p_309952_, C_212974_ p_214675_)
public static <T> CompletableFuture<T>
c(Function<Executor, CompletableFuture<T>> arg0)
blockUntilDone(Function<Executor, CompletableFuture<T>> arg0)
method_43499(Function<Executor, CompletableFuture<T>> arg0)
m_ccqxalmw(Function<Executor, CompletableFuture<T>> arg0)
waitAndApply(Function<Executor, CompletableFuture<T>> resultFactory)
m_ccqxalmw(Function<Executor, CompletableFuture<T>> function)
m_214679_(Function<Executor, CompletableFuture<T>> p_214680_)
public static <T> T
a(Function<Executor, T> arg0, Predicate<T> arg1)
blockUntilDone(Function<Executor, T> arg0, Predicate<T> arg1)
method_43498(Function<Executor, T> arg0, Predicate<T> arg1)
m_onipypca(Function<Executor, T> arg0, Predicate<T> arg1)
waitAndApply(Function<Executor, T> resultFactory, Predicate<T> donePredicate)
m_onipypca(Function<Executor, T> function, Predicate<T> predicate)
m_214652_(Function<Executor, T> p_214653_, Predicate<T> p_214654_)
public static <T> ToIntFunction<T>
g(List<T> arg0)
createIndexLookup(List<T> arg0)
method_43658(List<T> arg0)
m_bzkcqiwy(List<T> arg0)
lastIndexGetter(List<T> values)
createIndexLookup(List<T> elements)
m_214686_(List<T> p_214687_)
public static <T> ToIntFunction<T>
h(List<T> arg0)
createIndexIdentityLookup(List<T> arg0)
method_53909(List<T> arg0)
m_nccitswt(List<T> arg0)
lastIdentityIndexGetter(List<T> values)
createDefaultedIndexLookup(List<T> items)
m_307438_(List<T> p_310693_)
public static <A, B> com.mojang.datafixers.Typed<B>
a(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> 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)
m_ppnslico(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)
writeAndReadTypedOrThrow(com.mojang.datafixers.Typed<A> typed, com.mojang.datafixers.types.Type<B> type, UnaryOperator<com.mojang.serialization.Dynamic<?>> modifier)
m_306942_(com.mojang.datafixers.Typed<A> p_309938_, com.mojang.datafixers.types.Type<B> p_312439_, UnaryOperator<com.mojang.serialization.Dynamic<?>> p_312172_)
public static <T> com.mojang.datafixers.Typed<T>
a(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1)
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)
m_cqdmdvek(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)
readTypedOrThrow(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> dynamic)
m_305473_(com.mojang.datafixers.types.Type<T> p_309502_, com.mojang.serialization.Dynamic<?> p_310749_)
public static <T> com.mojang.datafixers.Typed<T>
a(com.mojang.datafixers.types.Type<T> arg0, com.mojang.serialization.Dynamic<?> arg1, boolean arg2)
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)
m_thwrzial(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)
readTypedOrThrow(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> dynamic, boolean allowPartial)
m_306397_(com.mojang.datafixers.types.Type<T> p_309451_, com.mojang.serialization.Dynamic<?> p_312737_, boolean p_310890_)
public static <T> List<T>
a(List<T> arg0, T arg1)
copyAndAdd(List<T> arg0, T arg1)
method_57108(List<T> arg0, T arg1)
m_jpnvbfqy(List<T> arg0, T arg1)
withAppended(List<T> list, T valueToAppend)
m_jpnvbfqy(List<T> elements, T element)
m_324319_(List<T> p_329243_, T p_329663_)
public static <T> List<T>
a(T arg0, List<T> arg1)
copyAndAdd(T arg0, List<T> arg1)
method_58272(T arg0, List<T> arg1)
m_xkundsnc(T arg0, List<T> arg1)
withPrepended(T valueToPrepend, List<T> list)
m_xkundsnc(T element, List<T> elements)
m_321242_(T p_330591_, List<T> p_336069_)
public static <K, V> Map<K, V>
a(Map<K, V> arg0, K arg1, V arg2)
copyAndPut(Map<K, V> arg0, K arg1, V arg2)
method_57109(Map<K, V> arg0, K arg1, V arg2)
m_fwdpfvho(Map<K, V> arg0, K arg1, V arg2)
mapWith(Map<K, V> map, K keyToAppend, V valueToAppend)
mapWith(Map<K, V> map, K key, V value)
m_321632_(Map<K, V> p_334319_, K p_335336_, V p_331863_)