Package net.minecraft.util
package net.minecraft.util
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
Util
contains most of
the utility methods.-
ClassDescriptionAn enum indicating the hand interaction's result.A record holding session services used by the server.An enum representing an entity's arm.CachedMapper<K,
V> A mapper that caches the latest input-output pair, so that repeated calls with the same argument do not call the expensive mapper function.Represents an object which can be cleared.Contains constants for commonly used colors in0xAARRGGBB
format.An enum representing 16 dye colors.A buffered input stream that uses a fixed-size buffer array.An enum holding formattings.An enum representing an entity's hand.An identifier used to identify things.An exception that tracks the names of the invalid files and the path to the invalid element in a hierarchical tree structure (such as JSON).An exception thrown when parsing or constructing anIdentifier
that contains an invalid character.Contains utility methods for spawning item entities scattered around a certain position.Provides methods for validating and deserializing JSON elements.Lazy<T>Deprecated.Represents something that can be named, such as block entities or entities.A few networking utilities.Contains utility methods that accept or return nullable values.Pair<A,B> A class holding path-related utility methods.Contains string-related helper methods.An interface, usually implemented by enums, that allows the object to be serialized by codecs.StringIdentifiable.BasicCodec<S extends StringIdentifiable>Deprecated.Fetches the hardware and software information to populate crash reports and debug profiles.An exception that has a user-friendlyText
attached.ThrowableDeliverer<T extends Throwable>A class holding utility methods related to time and durations.Utilities to perform a topological sort.An option whose text can be translated.TypeFilter<B,T extends B> A filter that determines if an object of some supertypeB
can be treated as an object of some subtypeT
.A class holding various utility methods.An enum representing the operating system of the current platform.A ZIP compressor builds up a ZIP file.
Suppliers.memoize(com.google.common.base.Supplier<T>)
instead.