Example usage for Java net.minecraftforge.event AttachCapabilitiesEvent.Entity 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. |