net.minecraft

public class Util

p
net.minecraft.Util
net.minecraft.class_156
net.minecraft.util.Util
net.minecraft.util.Util
net.minecraft.server.v1_14_R1.SystemUtils

Field summary

Modifier and TypeField
private static final AtomicInteger
b
WORKER_COUNT
field_18034
field_215090_b
private static final ExecutorService
c
BACKGROUND_EXECUTOR
field_18035
SERVER_WORKER_EXECUTOR
field_215091_c
public static LongSupplier
a
timeSource
field_1128
nanoTimeSupplier
field_211180_a
private static final org.apache.logging.log4j.Logger
d
LOGGER
field_1129
LOGGER
field_195650_a

Method summary

Modifier and TypeMethod
public static <K, V> Collector<Map$Entry<? extends K, ? extends V>, ?, Map<K, V>>
a()
toMap()
method_664()
toMap()
func_199749_a()
public static <T extends Comparable<T>> String
a(bww<T> arg0, Object arg1)
getPropertyName(Property<T> arg0, Object arg1)
method_650(class_2769<T> arg0, Object arg1)
getValueAsString(Property<T> arg0, Object arg1)
func_200269_a(IProperty<T> arg0, Object arg1)
public static String
a(String arg0, qv arg1)
makeDescriptionId(String arg0, ResourceLocation arg1)
method_646(String arg0, class_2960 arg1)
createTranslationKey(String type, Identifier id)
func_200697_a(String arg0, ResourceLocation arg1)
public static long
b()
getMillis()
method_658()
getMeasuringTimeMs()
func_211177_b()
getMonotonicMillis()
public static long
c()
getNanos()
method_648()
getMeasuringTimeNano()
func_211178_c()
getMonotonicNanos()
public static long
d()
getEpochMillis()
method_659()
getEpochTimeMs()
func_211179_d()
getTimeMillis()
private static ExecutorService
k()
makeBackgroundExecutor()
method_18351()
createServerWorkerExecutor()
func_215078_k()
public static Executor
e()
backgroundExecutor()
method_18349()
getServerWorkerExecutor()
func_215072_e()
public static void
f()
shutdownBackgroundExecutor()
method_18350()
shutdownServerWorkerExecutor()
func_215082_f()
public static Util$OS
g()
getPlatform()
method_668()
getOperatingSystem()
func_110647_a()
public static Stream<String>
h()
getVmArguments()
method_651()
getJVMFlags()
func_211565_f()
public static <T> T
a(List<T> arg0)
lastOf(List<T> arg0)
method_20793(List<T> arg0)
func_223378_a(List<T> arg0)
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> arg0, T arg1)
func_195647_a(Iterable<T> arg0, T arg1)
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> arg0, T arg1)
func_195648_b(Iterable<T> arg0, T arg1)
public static <T> T
a(Supplier<T> arg0)
make(Supplier<T> arg0)
method_656(Supplier<T> arg0)
make(Supplier<T> factory)
func_199748_a(Supplier<T> arg0)
public static <T> T
a(T arg0, Consumer<T> arg1)
make(T arg0, Consumer<T> arg1)
method_654(T arg0, Consumer<T> arg1)
make(T object, Consumer<T> initializer)
func_200696_a(T arg0, Consumer<T> arg1)
public static <K> it.unimi.dsi.fastutil.Hash$Strategy<K>
i()
identityStrategy()
method_655()
identityHashStrategy()
func_212443_g()
public static <V> CompletableFuture<List<V>>
b(List<? extends CompletableFuture<? extends V>> arg0)
sequence(List<? extends CompletableFuture<? extends V>> arg0)
method_652(List<? extends CompletableFuture<? extends V>> arg0)
combine(List<? extends CompletableFuture<? extends V>> futures)
func_215079_b(List<? extends CompletableFuture<? extends V>> arg0)
public static <T> Stream<T>
a(Optional<? extends T> arg0)
toStream(Optional<? extends T> arg0)
method_17815(Optional<? extends T> arg0)
stream(Optional<? extends T> arg0)
func_215081_a(Optional<? extends T> arg0)
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> arg0, Consumer<T> arg1, Runnable arg2)
func_215077_a(Optional<T> arg0, Consumer<T> arg1, Runnable arg2)
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)
func_215075_a(Runnable arg0, Supplier<String> arg1)
public static Optional<UUID>
a(String arg0, com.mojang.datafixers.Dynamic<?> arg1)
readUUID(String arg0, com.mojang.datafixers.Dynamic<?> arg1)
method_19481(String arg0, com.mojang.datafixers.Dynamic<?> arg1)
readUuid(String name, com.mojang.datafixers.Dynamic<?> dynamic)
func_215074_a(String arg0, com.mojang.datafixers.Dynamic<?> arg1)
public static <T> com.mojang.datafixers.Dynamic<T>
a(String arg0, UUID arg1, com.mojang.datafixers.Dynamic<T> arg2)
writeUUID(String arg0, UUID arg1, com.mojang.datafixers.Dynamic<T> arg2)
method_19482(String arg0, UUID arg1, com.mojang.datafixers.Dynamic<T> arg2)
writeUuid(String name, UUID uuid, com.mojang.datafixers.Dynamic<T> dynamic)
func_215084_a(String arg0, UUID arg1, com.mojang.datafixers.Dynamic<T> arg2)
public static <T> CompletableFuture<T>
a(Throwable arg0)
failedFuture(Throwable arg0)
method_19483(Throwable arg0)
completeExceptionally(Throwable arg0)
func_215087_a(Throwable arg0)