Package net.neoforged.neoforge.common.util
package net.neoforged.neoforge.common.util
-
ClassDescriptionRepresents a captured snapshot of a block which will not change automatically.A list that concatenates multiple other lists for efficient iteration.A subclass of
SoundType
that usesSupplier<SoundEvent>
s.A basic fake server player implementation that can be used to simulate player actions.Utility class for creating a nice human readable dump of binary data.INBTSerializable<T extends Tag>An interface designed to unify various things in the Minecraft code base that can be serialized to and from a NBT tag.Interface for handling the placement of entities during dimension change.Lazy<T>Proxy object for a value that is calculated on first accessThread-safe implementation.Lazy.Fast<T>Non-thread-safe implementation.LazyOptional<T>This object encapsulates a lazy value, with typical transformation operations (map/ifPresent) available, much likeOptional
.A mutable linked map with a hashing strategy and a merge function.MutableHashedLinkedMap.MergeFunction<Key,Value> Codec
-related helper functions that are not inExtraCodecs
, but useful to NeoForge and other mods.Equivalent toConsumer
, except with nonnull contract.NonNullFunction<T,R> Equivalent toFunction
, except with nonnull contract.NonNullLazy<T>Proxy object for a value that is calculated on first access.Equivalent toPredicate
, except with nonnull contract.Equivalent toSupplier
, except with nonnull contract.An Implementation of Properties that is sorted when iterating.TablePrinter<T>Utility to format data into a textual (markdown-compliant) table.TriPredicate<T,U, V> A predicate that takes three arguments and returns a boolean.