Class CapabilityRegistry<C>

java.lang.Object
net.neoforged.neoforge.capabilities.CapabilityRegistry<C>

public class CapabilityRegistry<C> extends Object
Helper class to manage registering capabilities. You only need this if you are creating your own type (block, entity, item...) of capabilities!

Look at the source code of BlockCapability, EntityCapability, ... for an example.