net.minecraft

public class Util

ae
net.minecraft.Util
net.minecraft.class_156
net.minecraft.util.Util
net.minecraft.SystemUtils

Field summary

Modifier and TypeField
static final org.slf4j.Logger
g
LOGGER
field_1129
LOGGER
private static final int
h
DEFAULT_MAX_THREADS
field_34891
MAX_PARALLELISM
private static final int
i
DEFAULT_SAFE_FILE_OPERATION_RETRIES
field_46764
BACKUP_ATTEMPTS
private static final String
j
MAX_THREADS_SYSTEM_PROPERTY
field_34892
MAX_BG_THREADS_PROPERTY
private static final TracingExecutor
k
BACKGROUND_EXECUTOR
field_18035
MAIN_WORKER_EXECUTOR
private static final TracingExecutor
l
IO_POOL
field_24477
IO_WORKER_EXECUTOR
private static final TracingExecutor
m
DOWNLOAD_POOL
field_47571
DOWNLOAD_WORKER_EXECUTOR
private static final DateTimeFormatter
n
FILENAME_DATE_TIME_FORMATTER
field_39824
DATE_TIME_FORMATTER
public static final int
a
LINEAR_LOOKUP_THRESHOLD
field_46220
field_46220
private static final Set<String>
o
ALLOWED_UNTRUSTED_LINK_PROTOCOLS
field_52196
SUPPORTED_URI_PROTOCOLS
public static final long
b
NANOS_PER_MILLI
field_45714
field_45714
public static TimeSource$NanoTimeSource
c
timeSource
field_1128
nanoTimeSupplier
public static final com.google.common.base.Ticker
d
TICKER
field_37250
TICKER
public static final UUID
e
NIL_UUID
field_25140
NIL_UUID
public static final FileSystemProvider
f
ZIP_FILE_SYSTEM_PROVIDER
field_33859
JAR_FILE_SYSTEM_PROVIDER
private static Consumer<String>
p
thePauser
field_34893
missingBreakpointHandler

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()
public static <T> Collector<T, ?, List<T>>
b()
toMutableList()
method_58579()
toArrayList()
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)
getValueAsString(Property<T> property, Object value)
public static String
a(String arg0, alz arg1)
makeDescriptionId(String arg0, ResourceLocation arg1)
method_646(String arg0, class_2960 arg1)
createTranslationKey(String type, Identifier id)
public static long
c()
getMillis()
method_658()
getMeasuringTimeMs()
public static long
d()
getNanos()
method_648()
getMeasuringTimeNano()
public static long
e()
getEpochMillis()
method_659()
getEpochTimeMs()
public static String
f()
getFilenameFormattedDateTime()
method_44893()
getFormattedCurrentTime()
private static TracingExecutor
c(String arg0)
makeExecutor(String arg0)
method_28122(String arg0)
createWorker(String name)
private static int
p()
getMaxThreads()
method_38648()
getMaxBackgroundThreads()
public static TracingExecutor
g()
backgroundExecutor()
method_18349()
getMainWorkerExecutor()
public static TracingExecutor
h()
ioPool()
method_27958()
getIoWorkerExecutor()
public static TracingExecutor
i()
nonCriticalIoPool()
method_55473()
getDownloadWorkerExecutor()
public static void
j()
shutdownExecutors()
method_18350()
shutdownExecutors()
private static TracingExecutor
a(String arg0, boolean arg1)
makeIoExecutor(String arg0, boolean arg1)
method_27959(String arg0, boolean arg1)
createIoWorker(String namePrefix, boolean daemon)
public static void
a(Throwable arg0)
throwAsRuntime(Throwable arg0)
method_24155(Throwable arg0)
throwUnchecked(Throwable t)
private static void
a(Thread arg0, Throwable arg1)
onThreadException(Thread arg0, Throwable arg1)
method_18347(Thread arg0, Throwable arg1)
uncaughtExceptionHandler(Thread thread, Throwable t)
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)
getChoiceType(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
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)
getChoiceTypeInternal(com.mojang.datafixers.DSL$TypeReference typeReference, String id)
public static void
a(Runnable arg0, String arg1)
runNamed(Runnable arg0, String arg1)
method_64122(Runnable arg0, String arg1)
runInNamedZone(Runnable runnable, String name)
public static <T> String
a(kd<T> arg0, T arg1)
getRegisteredName(Registry<T> arg0, T arg1)
method_57107(class_2378<T> arg0, T arg1)
registryValueToString(Registry<T> registry, T value)
public static <T> Predicate<T>
k()
allOf()
method_61210()
and()
public static <T> Predicate<T>
a(Predicate<? super T> arg0)
allOf(Predicate<? super T> arg0)
method_61189(Predicate<? super T> arg0)
and(Predicate<? super T> a)
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)
and(Predicate<? super T> a, Predicate<? super T> b)
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)
and(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c)
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)
and(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d)
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)
and(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d, Predicate<? super T> e)
public static <T> Predicate<T>
a(Predicate<? super T>... arg0)
allOf(Predicate<? super T>... arg0)
method_61198(Predicate<? super T>... arg0)
and(Predicate<? super T>... predicates)
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)
allOf(List<? extends Predicate<? super T>> predicates)
public static <T> Predicate<T>
l()
anyOf()
method_61211()
or()
public static <T> Predicate<T>
b(Predicate<? super T> arg0)
anyOf(Predicate<? super T> arg0)
method_61199(Predicate<? super T> arg0)
or(Predicate<? super T> a)
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)
or(Predicate<? super T> a, Predicate<? super T> b)
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)
or(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c)
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)
or(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d)
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)
or(Predicate<? super T> a, Predicate<? super T> b, Predicate<? super T> c, Predicate<? super T> d, Predicate<? super T> e)
public static <T> Predicate<T>
b(Predicate<? super T>... arg0)
anyOf(Predicate<? super T>... arg0)
method_61208(Predicate<? super T>... arg0)
or(Predicate<? super T>... predicates)
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)
anyOf(List<? extends Predicate<? super T>> predicates)
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)
isSymmetrical(int width, int height, List<T> list)
public static Util$OS
m()
getPlatform()
method_668()
getOperatingSystem()
public static URI
a(String arg0)
parseAndValidateUntrustedUri(String arg0)
method_60931(String arg0)
validateUri(String uri)
public static Stream<String>
n()
getVmArguments()
method_651()
getJVMFlags()
public static <T> T
c(List<T> arg0)
lastOf(List<T> arg0)
method_20793(List<T> arg0)
getLast(List<T> list)
public static <T> T
a(Iterable<T> arg0, T arg1)
findNextInIterable(Iterable<T> arg0, T arg1)
method_660(Iterable<T> arg0, T arg1)
next(Iterable<T> iterable, T object)
public static <T> T
b(Iterable<T> arg0, T arg1)
findPreviousInIterable(Iterable<T> arg0, T arg1)
method_645(Iterable<T> arg0, T arg1)
previous(Iterable<T> iterable, T object)
public static <T> T
a(Supplier<T> arg0)
make(Supplier<T> arg0)
method_656(Supplier<T> arg0)
make(Supplier<T> factory)
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)
make(T object, Consumer<? super T> initializer)
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)
mapEnum(Class<K> enumClass, Function<K, V> mapper)
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)
combineSafe(List<? extends CompletableFuture<V>> futures)
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)
combine(List<? extends CompletableFuture<? extends V>> futures)
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)
combineCancellable(List<? extends CompletableFuture<? extends V>> futures)
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)
combine(List<? extends CompletableFuture<? extends V>> futures, Consumer<Throwable> exceptionHandler)
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)
ifPresentOrElse(Optional<T> optional, Consumer<T> presentAction, Runnable elseAction)
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)
debugSupplier(Supplier<T> supplier, Supplier<String> messageSupplier)
public static Runnable
a(Runnable arg0, Supplier<String> arg1)
name(Runnable arg0, Supplier<String> arg1)
method_18839(Runnable arg0, Supplier<String> arg1)
debugRunnable(Runnable runnable, Supplier<String> messageSupplier)
public static void
b(String arg0)
logAndPauseIfInIde(String arg0)
method_33559(String arg0)
logErrorOrPause(String message)
public static void
a(String arg0, Throwable arg1)
logAndPauseIfInIde(String arg0, Throwable arg1)
method_39977(String arg0, Throwable arg1)
logErrorOrPause(String message, Throwable throwable)
public static <T extends Throwable> T
b(T arg0)
pauseInIde(T arg0)
method_22320(T arg0)
getFatalOrPause(T t)
public static void
a(Consumer<String> arg0)
setPause(Consumer<String> arg0)
method_38646(Consumer<String> arg0)
setMissingBreakpointHandler(Consumer<String> missingBreakpointHandler)
private static void
d(String arg0)
doPause(String arg0)
method_33560(String arg0)
pause(String message)
public static String
c(Throwable arg0)
describeError(Throwable arg0)
method_22321(Throwable arg0)
getInnermostMessage(Throwable t)
public static <T> T
a(T[] arg0, bam arg1)
getRandom(T[] arg0, RandomSource arg1)
method_27173(T[] arg0, class_5819 arg1)
getRandom(T[] array, Random random)
public static int
a(int[] arg0, bam arg1)
getRandom(int[] arg0, RandomSource arg1)
method_27172(int[] arg0, class_5819 arg1)
getRandom(int[] array, Random random)
public static <T> T
a(List<T> arg0, bam arg1)
getRandom(List<T> arg0, RandomSource arg1)
method_32309(List<T> arg0, class_5819 arg1)
getRandom(List<T> list, Random random)
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)
getRandomOrEmpty(List<T> list, Random random)
private static BooleanSupplier
a(Path arg0, Path arg1)
createRenamer(Path arg0, Path arg1)
method_30625(Path arg0, Path arg1)
renameTask(Path src, Path dest)
private static BooleanSupplier
a(Path arg0)
createDeleter(Path arg0)
method_30624(Path arg0)
deleteTask(Path path)
private static BooleanSupplier
b(Path arg0)
createFileDeletedCheck(Path arg0)
method_30628(Path arg0)
deletionVerifyTask(Path path)
private static BooleanSupplier
c(Path arg0)
createFileCreatedCheck(Path arg0)
method_30629(Path arg0)
existenceCheckTask(Path path)
private static boolean
a(BooleanSupplier... arg0)
executeInSequence(BooleanSupplier... arg0)
method_30627(BooleanSupplier... arg0)
attemptTasks(BooleanSupplier... tasks)
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)
attemptTasks(int retries, String taskName, BooleanSupplier... tasks)
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)
backupAndReplace(Path current, Path newPath, Path backup)
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)
backupAndReplace(Path current, Path newPath, Path backup, boolean noRestoreOnFail)
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)
moveCursor(String string, int cursor, int delta)
public static Consumer<String>
a(String arg0, Consumer<String> arg1)
prefix(String arg0, Consumer<String> arg1)
method_29188(String arg0, Consumer<String> arg1)
addPrefix(String prefix, Consumer<String> consumer)
public static com.mojang.serialization.DataResult<int[]>
a(IntStream arg0, int arg1)
fixedSize(IntStream arg0, int arg1)
method_29190(IntStream arg0, int arg1)
decodeFixedLengthArray(IntStream stream, int length)
public static com.mojang.serialization.DataResult<long[]>
a(LongStream arg0, int arg1)
fixedSize(LongStream arg0, int arg1)
method_51822(LongStream arg0, int arg1)
decodeFixedLengthArray(LongStream stream, int length)
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)
decodeFixedLengthList(List<T> list, int length)
public static void
o()
startTimerHackThread()
method_29476()
startTimerHack()
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)
relativeCopy(Path src, Path dest, Path toCopy)
public static String
a(String arg0, m arg1)
sanitizeName(String arg0, CharPredicate arg1)
method_30309(String arg0, class_5462 arg1)
replaceInvalidChars(String string, CharPredicate predicate)
public static <K, V> SingleKeyCache<K, V>
a(Function<K, V> arg0)
singleKeyCache(Function<K, V> arg0)
method_48746(Function<K, V> arg0)
cachedMapper(Function<K, V> mapper)
public static <T, R> Function<T, R>
b(Function<T, R> arg0)
memoize(Function<T, R> arg0)
method_34866(Function<T, R> arg0)
memoize(Function<T, R> function)
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)
memoize(BiFunction<T, U, R> biFunction)
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)
copyShuffled(Stream<T> stream, Random random)
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)
shuffle(IntStream stream, Random random)
public static <T> List<T>
b(T[] arg0, bam arg1)
shuffledCopy(T[] arg0, RandomSource arg1)
method_43253(T[] arg0, class_5819 arg1)
copyShuffled(T[] array, Random random)
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)
copyShuffled(it.unimi.dsi.fastutil.objects.ObjectArrayList<T> list, Random random)
public static <T> void
c(List<T> arg0, bam arg1)
shuffle(List<T> arg0, RandomSource arg1)
method_43028(List<T> arg0, class_5819 arg1)
shuffle(List<T> list, Random random)
public static <T> CompletableFuture<T>
c(Function<Executor, CompletableFuture<T>> arg0)
blockUntilDone(Function<Executor, CompletableFuture<T>> arg0)
method_43499(Function<Executor, CompletableFuture<T>> arg0)
waitAndApply(Function<Executor, CompletableFuture<T>> resultFactory)
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)
waitAndApply(Function<Executor, T> resultFactory, Predicate<T> donePredicate)
public static <T> ToIntFunction<T>
g(List<T> arg0)
createIndexLookup(List<T> arg0)
method_43658(List<T> arg0)
lastIndexGetter(List<T> values)
public static <T> ToIntFunction<T>
h(List<T> arg0)
createIndexIdentityLookup(List<T> arg0)
method_53909(List<T> arg0)
lastIdentityIndexGetter(List<T> values)
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)
apply(com.mojang.datafixers.Typed<A> typed, com.mojang.datafixers.types.Type<B> type, UnaryOperator<com.mojang.serialization.Dynamic<?>> modifier)
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)
readTyped(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> value)
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)
readTyped(com.mojang.datafixers.types.Type<T> type, com.mojang.serialization.Dynamic<?> value, boolean allowPartial)
public static <T> List<T>
a(List<T> arg0, T arg1)
copyAndAdd(List<T> arg0, T arg1)
method_57108(List<T> arg0, T arg1)
withAppended(List<T> list, T valueToAppend)
public static <T> List<T>
a(T arg0, List<T> arg1)
copyAndAdd(T arg0, List<T> arg1)
method_58272(T arg0, List<T> arg1)
withPrepended(T valueToPrepend, List<T> list)
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)
mapWith(Map<K, V> map, K keyToAppend, V valueToAppend)