net.minecraft

public class Util

t
net.minecraft.Util
net.minecraft.class_156
net.minecraft.unmapped.C_lvarvugc
net.minecraft.util.Util
net.minecraft.util.Util
net.minecraft.server.v1_15_R1.SystemUtils

Field summary

Modifier and TypeField
private static final AtomicInteger
b
WORKER_COUNT
field_18034
f_gshsyyvs
NEXT_SERVER_WORKER_ID
field_215090_b
private static final ExecutorService
c
BACKGROUND_EXECUTOR
field_18035
f_zimcxepj
SERVER_WORKER_EXECUTOR
field_215091_c
public static LongSupplier
a
timeSource
field_1128
f_qqybtqnr
nanoTimeSupplier
field_211180_a
private static final org.apache.logging.log4j.Logger
d
LOGGER
field_1129
f_faeenrac
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()
m_ftciccth()
toMap()
func_199749_a()
public static <T extends Comparable<T>> String
a(bzm<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> arg0, Object arg1)
func_200269_a(IProperty<T> arg0, Object arg1)
public static String
a(String arg0, sm 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)
func_200697_a(String arg0, ResourceLocation arg1)
public static long
b()
getMillis()
method_658()
m_qjjrrmre()
getMeasuringTimeMs()
func_211177_b()
getMonotonicMillis()
public static long
c()
getNanos()
method_648()
m_xtrebjef()
getMeasuringTimeNano()
func_211178_c()
getMonotonicNanos()
public static long
d()
getEpochMillis()
method_659()
m_elihuwxg()
getEpochTimeMs()
func_211179_d()
getTimeMillis()
private static ExecutorService
k()
makeBackgroundExecutor()
method_18351()
m_zhetggxi()
createServerWorkerExecutor()
func_215078_k()
public static Executor
e()
backgroundExecutor()
method_18349()
m_hnnezaif()
getServerWorkerExecutor()
func_215072_e()
public static void
f()
shutdownBackgroundExecutor()
method_18350()
m_iwcufyrp()
shutdownServerWorkerExecutor()
func_215082_f()
public static Util$OS
g()
getPlatform()
method_668()
m_rmfqlirq()
getOperatingSystem()
func_110647_a()
public static Stream<String>
h()
getVmArguments()
method_651()
m_fppetslt()
getJVMFlags()
func_211565_f()
public static <T> T
a(List<T> arg0)
lastOf(List<T> arg0)
method_20793(List<T> arg0)
m_jzncpgce(List<T> arg0)
getLast(List<T> list)
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)
m_nshqaczo(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)
m_vcjnmiex(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)
m_wwakmmib(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)
m_ewfqjfze(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()
m_lbsfwkrf()
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)
m_kpixdiyc(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)
m_hlfyewqw(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)
m_qpdauvpg(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)
m_skylxoye(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)
m_edjngehl(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)
m_kboicrcc(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 extends Throwable> T
c(T arg0)
pauseInIde(T arg0)
method_22320(T arg0)
m_eguhqvxr(T arg0)
throwOrPause(T t)
func_229757_c_(T arg0)
public static String
d(Throwable arg0)
describeError(Throwable arg0)
method_22321(Throwable arg0)
m_gxlhducm(Throwable arg0)
getInnermostMessage(Throwable t)
func_229758_d_(Throwable arg0)
public static <T> CompletableFuture<T>
a(Throwable arg0)
failedFuture(Throwable arg0)
method_19483(Throwable arg0)
m_wgykosui(Throwable arg0)
completeExceptionally(Throwable arg0)
func_215087_a(Throwable arg0)
public static void
b(Throwable arg0)
throwAsRuntime(Throwable arg0)
method_24155(Throwable arg0)
m_vgcxoqmg(Throwable arg0)
throwUnchecked(Throwable arg0)
func_229756_b_(Throwable arg0)