Package net.neoforged.neoforge.common
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.common
-
ClassDescriptionA default, exposed implementation of ITrade.A boolean attribute only has two states, on or off, represented by a value of 0 (false) or 1 (true).Class for various common (i.e. client and server-side) hooks.This class defines a replacement for the default minecart collision code.Contains helpers for performing file I/O in a resilient manner.Declares an interface which is functionally equivalent to
Consumer
, except supports the ability to throw IOExceptions that may occur.This interfaces allows shears (modded invalid input: '&' vanilla) and entities (modded invalid input: '&' vanilla) to cooperate without needing advance knowledge of each other.Key and value decoded independently, unknown set of keysModConfigSpec.EnumValue<T extends Enum<T>>ModConfigSpec.Range<V extends Comparable<? super V>>Used to prevent cached config values from being updated unless the game or the world is restarted.A Percentage Attribute is one which always displays modifiers as percentages, including forAttributeModifier.Operation.ADD_VALUE
.Helper class to define a custom tier FIXME: is this still needed?Defines an action which produces a sound.A utility holding common sound actions.Intended for mods to help mark if a modded item allows for placing modded plants of any kind or size.Note, fluid tags should not be plural to match the vanilla standard.An enum value that can be be translated.Caches player's last known usernamesUsed for saving theGson
representation of the cache to disk