Package net.neoforged.neoforge.common.util
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.common.util
-
ClassDescriptionExtendedused when generating attribute tooltips.
invalid reference
TooltipContextExtendedItem.TooltipContextused when generating attribute tooltips.Utility code to supportIAttributeExtension.Stores a single base modifier (determined byIAttributeExtension.getBaseId()) and any other children non-base modifiers for the same attribute.Client bouncer class to avoid class loading issues.State-tracking object used to merge attribute modifier tooltips inAttributeUtil.applyTextFor(net.minecraft.world.item.ItemStack, java.util.function.Consumer<net.minecraft.network.chat.Component>, com.google.common.collect.Multimap<net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute>, net.minecraft.world.entity.ai.attributes.AttributeModifier>, net.neoforged.neoforge.common.util.AttributeTooltipContext).Represents a captured snapshot of a block, including the level, position, state, BE data, and setBlock flags.A list that concatenates multiple other lists for efficient iteration.A subclass ofSoundTypethat usesSupplier<SoundEvent>s.A basic fake server player implementation that can be used to simulate player actions.Utility class for working withFriendlyByteBufs.Utility class for creating a nice human readable dump of binary data.An interface designed to unify various things in the Minecraft code base that can be serialized to and from a NBT tag.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.Special linked hash set that allow changing the order of its entries and is strict to throw if attempting to add an entry that already exists.Lazy<T>Proxy object for a value that is calculated on first access, and can be refreshed as well.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.We use a "self-test" to launch a client and dedicated server from within our CI and exit.An Implementation of Properties that is sorted when iterating.TablePrinter<T>Utility to format data into a textual (markdown-compliant) table.A predicate that takes three arguments and returns a boolean.TriPredicate<T,U, V> A predicate that takes three arguments and returns a boolean.Represents a boolean value that can betrue,falseor refer to a default value.Represents a boolean value that can betrue,falseor refer to a default value.