MinecraftForge offers a capability API
- Move the
net.minecraftforge.common.utilpackage to another sub-project - Still need to implement special cases for
CapabilityInject on methods require a CapabilityRegisteredCallback to be registered. CapabilityInject for fields
requires a bridge callback method to be created, where the field is assigned from.