History - net.minecraft.util.Util

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

<T> List<T> (List<T>, List<T>): join, method_1_4710, join

<T> List<T> (List<T>[]): join, method_1_3882, join

<T> List<T> (Collection<T>, Collection<T>): join, method_1_4710, join

<T> List<T> (Collection<T>[]): join, method_1_3882, join

26.2

Names

Fields

TimeSupplier$Nanoseconds: INDIRECT_TIME_SOURCE, field_1_7099, nanoTimeSupplierMirror

com.google.common.escape.Escaper: CONTROL_CHARACTER_ESCAPER, field_1_5947, ESCAPER

Constructors

Methods

void (String): lambda$static$2, method_38647, method_38647

void (String): lambda$static$4, method_38647, method_38647

IllegalStateException (): lambda$static$1, method_37154, method_37154

IllegalStateException (): lambda$static$2, method_37154, method_37154

boolean (FileSystemProvider): lambda$static$0, method_37153, method_37153

boolean (FileSystemProvider): lambda$static$1, method_37153, method_37153

TimeSupplier$Nanoseconds (): timeSource, method_1_6332, getNanoTimeSupplier

void (TimeSupplier$Nanoseconds): setTimeSource, method_1_6330, setNanoTimeSupplier

void (): shutdownTimeSource, method_1_6331, freezeNanoTimeSupplier

ThreadInfo[] (): dumpThreadInfo, method_1_4709, getThreadInfos

<T> List<T> (List<T>, List<T>): join, method_1_4710, join

<T> List<T> (List<T>[]): join, method_1_3882, join

void (com.google.common.escape.Escapers$Builder): lambda$static$3, method_1_5113, method_1_5113

long (): lambda$static$0, method_1_6329, method_1_6329

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

int: LINEAR_LOOKUP_THRESHOLD, field_46220, field_46220

int: LINEAR_LOOKUP_THRESHOLD, field_46220, INDEXOF_MAP_THRESHOLD

Constructors

Methods

BooleanSupplier (Path, Path): createRenamer, method_30625, renameTask

String (CharPredicate, int): lambda$sanitizeName$28, method_30623, method_30623

String (CharPredicate, int): lambda$sanitizeName$0, method_30623, method_30623

String (int): lambda$fixedSize$27, method_49399, method_49399

String (int): lambda$fixedSize$2, method_49399, method_49399

String (int): lambda$fixedSize$26, method_51823, method_51823

String (int): lambda$fixedSize$1, method_51823, method_51823

String (int): lambda$fixedSize$25, method_49400, method_49400

String (int): lambda$fixedSize$0, method_49400, method_49400

void (Consumer, String, String): lambda$prefix$24, method_29189, method_29189

void (Consumer, String, String): lambda$prefix$0, method_29189, method_29189

List (it.unimi.dsi.fastutil.objects.ObjectArrayList, Void): lambda$fallibleSequence$23, method_76040, method_76040

List (it.unimi.dsi.fastutil.objects.ObjectArrayList, Void): lambda$fallibleSequence$1, method_76040, method_76040

void (Consumer, it.unimi.dsi.fastutil.objects.ObjectArrayList, int, Object, Throwable): lambda$fallibleSequence$22, method_43372, method_43372

void (Consumer, it.unimi.dsi.fastutil.objects.ObjectArrayList, int, Object, Throwable): lambda$fallibleSequence$0, method_43372, method_43372

void (CompletableFuture, List, Throwable): lambda$sequenceFailFastAndCancel$21, method_43369, method_43369

void (CompletableFuture, List, Throwable): lambda$sequenceFailFastAndCancel$0, method_43369, method_43369

List (List, Void): lambda$sequence$20, method_40082, method_40082

List (List, Void): lambda$sequence$0, method_40082, method_40082

Object (Function, Map$Entry): lambda$mapValues$19, method_65969, method_65969

Object (Function, Map$Entry): lambda$mapValues$0, method_65969, method_65969

Predicate[] (int): lambda$anyOf$18, method_61111, method_61111

Predicate[] (int): lambda$anyOf$6, method_61111, method_61111

boolean (Predicate[], Object): lambda$anyOf$17, method_56614, method_56614

boolean (Predicate[], Object): lambda$anyOf$5, method_56614, method_56614

boolean (Predicate, Predicate, Predicate, Predicate, Predicate, Object): lambda$anyOf$16, method_61197, method_61197

boolean (Predicate, Predicate, Predicate, Predicate, Predicate, Object): lambda$anyOf$4, method_61197, method_61197

boolean (Predicate, Predicate, Predicate, Predicate, Object): lambda$anyOf$15, method_61195, method_61195

boolean (Predicate, Predicate, Predicate, Predicate, Object): lambda$anyOf$3, method_61195, method_61195

boolean (Predicate, Predicate, Predicate, Object): lambda$anyOf$14, method_61193, method_61193

boolean (Predicate, Predicate, Predicate, Object): lambda$anyOf$2, method_61193, method_61193

boolean (Predicate, Predicate, Object): lambda$anyOf$13, method_61191, method_61191

boolean (Predicate, Predicate, Object): lambda$anyOf$1, method_61191, method_61191

boolean (Object): lambda$anyOf$12, method_56612, method_56612

boolean (Object): lambda$anyOf$0, method_56612, method_56612

Predicate[] (int): lambda$allOf$11, method_61112, method_61112

Predicate[] (int): lambda$allOf$6, method_61112, method_61112

boolean (Predicate[], Object): lambda$allOf$10, method_61209, method_61209

boolean (Predicate[], Object): lambda$allOf$5, method_61209, method_61209

boolean (Predicate, Predicate, Predicate, Predicate, Predicate, Object): lambda$allOf$9, method_61207, method_61207

boolean (Predicate, Predicate, Predicate, Predicate, Predicate, Object): lambda$allOf$4, method_61207, method_61207

boolean (Predicate, Predicate, Predicate, Predicate, Object): lambda$allOf$8, method_61205, method_61205

boolean (Predicate, Predicate, Predicate, Predicate, Object): lambda$allOf$3, method_61205, method_61205

boolean (Predicate, Predicate, Predicate, Object): lambda$allOf$7, method_61203, method_61203

boolean (Predicate, Predicate, Predicate, Object): lambda$allOf$2, method_61203, method_61203

boolean (Predicate, Predicate, Object): lambda$allOf$6, method_61201, method_61201

boolean (Predicate, Predicate, Object): lambda$allOf$1, method_61201, method_61201

boolean (Object): lambda$allOf$5, method_56615, method_56615

boolean (Object): lambda$allOf$0, method_56615, method_56615

Thread (String, AtomicInteger, boolean, Runnable): lambda$makeIoExecutor$4, method_27956, method_27956

Thread (String, AtomicInteger, boolean, Runnable): lambda$makeIoExecutor$0, method_27956, method_27956

ForkJoinWorkerThread (String, AtomicInteger, ForkJoinPool): lambda$makeExecutor$3, method_28123, method_28123

ForkJoinWorkerThread (String, AtomicInteger, ForkJoinPool): lambda$makeExecutor$0, method_28123, method_28123

<T extends Enum<T>> Set<T> (T): allOfEnumExcept, method_1_2910, allExcept

BooleanSupplier (Path, Path, CopyOption...): createRenamer, method_30625, renameTask

boolean (Path, Path, CopyOption...): safeMoveFile, method_1_1640, attemptRename

<T> List<T> (List<T>, T[]): copyAndAdd, method_1_2911, withAppended

1.21.11_unobfuscated

Names

net.minecraft.util.Util

net.minecraft.class_156

net.minecraft.util.Util

Fields

org.slf4j.Logger: LOGGER, field_1129, LOGGER

int: DEFAULT_MAX_THREADS, field_34891, MAX_PARALLELISM

int: DEFAULT_SAFE_FILE_OPERATION_RETRIES, field_46764, BACKUP_ATTEMPTS

String: MAX_THREADS_SYSTEM_PROPERTY, field_34892, MAX_BG_THREADS_PROPERTY

NameableExecutor: BACKGROUND_EXECUTOR, field_18035, MAIN_WORKER_EXECUTOR

NameableExecutor: IO_POOL, field_24477, IO_WORKER_EXECUTOR

NameableExecutor: DOWNLOAD_POOL, field_47571, DOWNLOAD_WORKER_EXECUTOR

DateTimeFormatter: FILENAME_DATE_TIME_FORMATTER, field_39824, DATE_TIME_FORMATTER

int: LINEAR_LOOKUP_THRESHOLD, field_46220, field_46220

Set<String>: ALLOWED_UNTRUSTED_LINK_PROTOCOLS, field_52196, SUPPORTED_URI_PROTOCOLS

long: NANOS_PER_MILLI, field_45714, NANOS_PER_MILLI

TimeSupplier$Nanoseconds: timeSource, field_1128, nanoTimeSupplier

com.google.common.base.Ticker: TICKER, field_37250, TICKER

UUID: NIL_UUID, field_25140, NIL_UUID

FileSystemProvider: ZIP_FILE_SYSTEM_PROVIDER, field_33859, JAR_FILE_SYSTEM_PROVIDER

Consumer<String>: thePauser, field_34893, missingBreakpointHandler

Constructors

()

Methods

<K, V> Collector<Map$Entry<? extends K, ? extends V>, ?, Map<K, V>> (): toMap, method_664, toMap

<T> Collector<T, ?, List<T>> (): toMutableList, method_58579, toArrayList

<T extends Comparable<T>> String (Property<T>, Object): getPropertyName, method_650, getValueAsString

String (String, Identifier): makeDescriptionId, method_646, createTranslationKey

long (): getMillis, method_658, getMeasuringTimeMs

long (): getNanos, method_648, getMeasuringTimeNano

long (): getEpochMillis, method_659, getEpochTimeMs

String (): getFilenameFormattedDateTime, method_44893, getFormattedCurrentTime

NameableExecutor (String): makeExecutor, method_28122, createWorker

int (): maxAllowedExecutorThreads, method_65951, getAvailableBackgroundThreads

int (): getMaxThreads, method_38648, getMaxBackgroundThreads

NameableExecutor (): backgroundExecutor, method_18349, getMainWorkerExecutor

NameableExecutor (): ioPool, method_27958, getIoWorkerExecutor

NameableExecutor (): nonCriticalIoPool, method_55473, getDownloadWorkerExecutor

void (): shutdownExecutors, method_18350, shutdownExecutors

NameableExecutor (String, boolean): makeIoExecutor, method_27959, createIoWorker

void (Throwable): throwAsRuntime, method_24155, throwUnchecked

void (Thread, Throwable): onThreadException, method_18347, uncaughtExceptionHandler

com.mojang.datafixers.types.Type<?> (com.mojang.datafixers.DSL$TypeReference, String): fetchChoiceType, method_29187, getChoiceType

com.mojang.datafixers.types.Type<?> (com.mojang.datafixers.DSL$TypeReference, String): doFetchChoiceType, method_29191, getChoiceTypeInternal

void (Runnable, String): runNamed, method_64122, runInNamedZone

<T> String (Registry<T>, T): getRegisteredName, method_57107, registryValueToString

<T> Predicate<T> (): allOf, method_61210, and

<T> Predicate<T> (Predicate<? super T>): allOf, method_61189, and

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>): allOf, method_61190, and

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>, Predicate<? super T>): allOf, method_61192, and

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>, Predicate<? super T>, Predicate<? super T>): allOf, method_61194, and

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>, Predicate<? super T>, Predicate<? super T>, Predicate<? super T>): allOf, method_61196, and

<T> Predicate<T> (Predicate<? super T>[]): allOf, method_61198, and

<T> Predicate<T> (List<? extends Predicate<? super T>>): allOf, method_56613, allOf

<T> Predicate<T> (): anyOf, method_61211, or

<T> Predicate<T> (Predicate<? super T>): anyOf, method_61199, or

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>): anyOf, method_61200, or

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>, Predicate<? super T>): anyOf, method_61202, or

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>, Predicate<? super T>, Predicate<? super T>): anyOf, method_61204, or

<T> Predicate<T> (Predicate<? super T>, Predicate<? super T>, Predicate<? super T>, Predicate<? super T>, Predicate<? super T>): anyOf, method_61206, or

<T> Predicate<T> (Predicate<? super T>[]): anyOf, method_61208, or

<T> Predicate<T> (List<? extends Predicate<? super T>>): anyOf, method_56616, anyOf

<T> boolean (int, int, List<T>): isSymmetrical, method_59901, isSymmetrical

int (int, int): growByHalf, method_68172, nextCapacity

DateTimeFormatter (FormatStyle): localizedDateFormatter, method_75862, getDefaultLocaleFormatter

Util$OperatingSystem (): getPlatform, method_668, getOperatingSystem

boolean (): isAarch64, method_72236, isOnAarch64

URI (String): parseAndValidateUntrustedUri, method_60931, validateUri

<T> T (Iterable<T>, T): findNextInIterable, method_660, next

<T> T (Iterable<T>, T): findPreviousInIterable, method_645, previous

<T> T (Supplier<T>): make, method_656, make

<T> T (T, Consumer<? super T>): make, method_654, make

<K extends Enum<K>, V> Map<K, V> (Class<K>, Function<K, V>): makeEnumMap, method_63541, mapEnum

<K, V1, V2> Map<K, V2> (Map<K, V1>, Function<? super V1, V2>): mapValues, method_65968, transformMapValues

<K, V1, V2> Map<K, V2> (Map<K, V1>, com.google.common.base.Function<V1, V2>): mapValuesLazy, method_65967, transformMapValuesLazy

<V> CompletableFuture<List<V>> (List<? extends CompletableFuture<V>>): sequence, method_33791, combineSafe

<V> CompletableFuture<List<V>> (List<? extends CompletableFuture<? extends V>>): sequenceFailFast, method_652, combine

<V> CompletableFuture<List<V>> (List<? extends CompletableFuture<? extends V>>): sequenceFailFastAndCancel, method_43373, combineCancellable

<V> CompletableFuture<List<V>> (List<? extends CompletableFuture<? extends V>>, Consumer<Throwable>): fallibleSequence, method_43370, combine

<T> Optional<T> (Optional<T>, Consumer<T>, Runnable): ifElse, method_17974, ifPresentOrElse

<T> Supplier<T> (Supplier<T>, Supplier<String>): name, method_41238, debugSupplier

Runnable (Runnable, Supplier<String>): name, method_18839, debugRunnable

void (String): logAndPauseIfInIde, method_33559, logErrorOrPause

void (String, Throwable): logAndPauseIfInIde, method_39977, logErrorOrPause

<T extends Throwable> T (T): pauseInIde, method_22320, getFatalOrPause

void (Consumer<String>): setPause, method_38646, setMissingBreakpointHandler

void (String): doPause, method_33560, pause

String (Throwable): describeError, method_22321, getInnermostMessage

<T> T (T[], Random): getRandom, method_27173, getRandom

int (int[], Random): getRandom, method_27172, getRandom

<T> T (List<T>, Random): getRandom, method_32309, getRandom

<T> Optional<T> (List<T>, Random): getRandomSafe, method_40083, getRandomOrEmpty

BooleanSupplier (Path, Path): createRenamer, method_30625, renameTask

BooleanSupplier (Path): createDeleter, method_30624, deleteTask

BooleanSupplier (Path): createFileDeletedCheck, method_30628, deletionVerifyTask

BooleanSupplier (Path): createFileCreatedCheck, method_30629, existenceCheckTask

boolean (BooleanSupplier...): executeInSequence, method_30627, attemptTasks

boolean (int, String, BooleanSupplier...): runWithRetries, method_30622, attemptTasks

void (Path, Path, Path): safeReplaceFile, method_30626, backupAndReplace

boolean (Path, Path, Path, boolean): safeReplaceOrMoveFile, method_41204, backupAndReplace

int (String, int, int): offsetByCodepoints, method_27761, moveCursor

Consumer<String> (String, Consumer<String>): prefix, method_29188, addPrefix

com.mojang.serialization.DataResult<int[]> (IntStream, int): fixedSize, method_29190, decodeFixedLengthArray

com.mojang.serialization.DataResult<long[]> (LongStream, int): fixedSize, method_51822, decodeFixedLengthArray

<T> com.mojang.serialization.DataResult<List<T>> (List<T>, int): fixedSize, method_33141, decodeFixedLengthList

void (): startTimerHackThread, method_29476, startTimerHack

void (Path, Path, Path): copyBetweenDirs, method_29775, relativeCopy

String (String, CharPredicate): sanitizeName, method_30309, replaceInvalidChars

<K, V> CachedMapper<K, V> (Function<K, V>): singleKeyCache, method_48746, cachedMapper

<T, R> Function<T, R> (Function<T, R>): memoize, method_34866, memoize

<T, U, R> BiFunction<T, U, R> (BiFunction<T, U, R>): memoize, method_34865, memoize

<T> List<T> (Stream<T>, Random): toShuffledList, method_43252, copyShuffled

it.unimi.dsi.fastutil.ints.IntArrayList (IntStream, Random): toShuffledList, method_43251, shuffle

<T> List<T> (T[], Random): shuffledCopy, method_43253, copyShuffled

<T> List<T> (it.unimi.dsi.fastutil.objects.ObjectArrayList<T>, Random): shuffledCopy, method_43027, copyShuffled

<T> void (List<T>, Random): shuffle, method_43028, shuffle

<T> CompletableFuture<T> (Function<Executor, CompletableFuture<T>>): blockUntilDone, method_43499, waitAndApply

<T> T (Function<Executor, T>, Predicate<T>): blockUntilDone, method_43498, waitAndApply

<T> ToIntFunction<T> (List<T>): createIndexLookup, method_43658, lastIndexGetter

<T> ToIntFunction<T> (List<T>): createIndexIdentityLookup, method_53909, lastIdentityIndexGetter

<A, B> com.mojang.datafixers.Typed<B> (com.mojang.datafixers.Typed<A>, com.mojang.datafixers.types.Type<B>, UnaryOperator<com.mojang.serialization.Dynamic<?>>): writeAndReadTypedOrThrow, method_54907, apply

<T> com.mojang.datafixers.Typed<T> (com.mojang.datafixers.types.Type<T>, com.mojang.serialization.Dynamic<?>): readTypedOrThrow, method_54908, readTyped

<T> com.mojang.datafixers.Typed<T> (com.mojang.datafixers.types.Type<T>, com.mojang.serialization.Dynamic<?>, boolean): readTypedOrThrow, method_55333, readTyped

<T> List<T> (List<T>, T): copyAndAdd, method_57108, withAppended

<T> List<T> (T, List<T>): copyAndAdd, method_58272, withPrepended

<K, V> Map<K, V> (Map<K, V>, K, V): copyAndPut, method_57109, mapWith

String (CharPredicate, int): lambda$sanitizeName$28, method_30623, method_30623

String (int): lambda$fixedSize$27, method_49399, method_49399

String (int): lambda$fixedSize$26, method_51823, method_51823

String (int): lambda$fixedSize$25, method_49400, method_49400

void (Consumer, String, String): lambda$prefix$24, method_29189, method_29189

List (it.unimi.dsi.fastutil.objects.ObjectArrayList, Void): lambda$fallibleSequence$23, method_76040, method_76040

void (Consumer, it.unimi.dsi.fastutil.objects.ObjectArrayList, int, Object, Throwable): lambda$fallibleSequence$22, method_43372, method_43372

void (CompletableFuture, List, Throwable): lambda$sequenceFailFastAndCancel$21, method_43369, method_43369

List (List, Void): lambda$sequence$20, method_40082, method_40082

Object (Function, Map$Entry): lambda$mapValues$19, method_65969, method_65969

Predicate[] (int): lambda$anyOf$18, method_61111, method_61111

boolean (Predicate[], Object): lambda$anyOf$17, method_56614, method_56614

boolean (Predicate, Predicate, Predicate, Predicate, Predicate, Object): lambda$anyOf$16, method_61197, method_61197

boolean (Predicate, Predicate, Predicate, Predicate, Object): lambda$anyOf$15, method_61195, method_61195

boolean (Predicate, Predicate, Predicate, Object): lambda$anyOf$14, method_61193, method_61193

boolean (Predicate, Predicate, Object): lambda$anyOf$13, method_61191, method_61191

boolean (Object): lambda$anyOf$12, method_56612, method_56612

Predicate[] (int): lambda$allOf$11, method_61112, method_61112

boolean (Predicate[], Object): lambda$allOf$10, method_61209, method_61209

boolean (Predicate, Predicate, Predicate, Predicate, Predicate, Object): lambda$allOf$9, method_61207, method_61207

boolean (Predicate, Predicate, Predicate, Predicate, Object): lambda$allOf$8, method_61205, method_61205

boolean (Predicate, Predicate, Predicate, Object): lambda$allOf$7, method_61203, method_61203

boolean (Predicate, Predicate, Object): lambda$allOf$6, method_61201, method_61201

boolean (Object): lambda$allOf$5, method_56615, method_56615

Thread (String, AtomicInteger, boolean, Runnable): lambda$makeIoExecutor$4, method_27956, method_27956

ForkJoinWorkerThread (String, AtomicInteger, ForkJoinPool): lambda$makeExecutor$3, method_28123, method_28123

void (String): lambda$static$2, method_38647, method_38647

IllegalStateException (): lambda$static$1, method_37154, method_37154

boolean (FileSystemProvider): lambda$static$0, method_37153, method_37153