Example usage for Java net.minecraftforge.event AttachCapabilitiesEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addCapability(ResourceLocation key, ICapabilityProvider cap) Adds a capability to be attached to this object. |
T | getObject() Retrieves the object that is being created, Not much state is set. |