Package net.neoforged.neoforge.capabilities
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.capabilities
-
ClassDescriptionBaseCapability<T,
C> Base class to reuse code common between most/all*Capability
implementation.BlockCapability<T,C> ABlockCapability
gives flexible access to objects of typeT
located in the world.BlockCapabilityCache<T,C> A cache for block capabilities, to be used to track capabilities at a specific position, with a specific context.Capabilities provided by NeoForge itself, for modders to directly reference.Holder for capability listeners associated to a level.Helper class to manage registering capabilities.EntityCapability<T,C> AnEntityCapability
gives flexible access to objects of typeT
from entities.A listener for block capability invalidation.ICapabilityProvider<O,C, T> ItemCapability<T,C> AnItemCapability
gives flexible access to objects of typeT
from item stacks.Fired to register capability providers at an appropriate time.