Search in sources :

Example 1 with ManaCapabilityStorage

use of com.teamwizardry.wizardry.api.capability.player.mana.ManaCapabilityStorage in project Wizardry by TeamWizardry.

the class ModCapabilities method preInit.

public static void preInit() {
    CapabilityManager.INSTANCE.register(IManaCapability.class, new ManaCapabilityStorage(), DefaultManaCapability::new);
    CapabilityManager.INSTANCE.register(IMiscCapability.class, new MiscCapabilityStorage(), DefaultMiscCapability::new);
}
Also used : ManaCapabilityStorage(com.teamwizardry.wizardry.api.capability.player.mana.ManaCapabilityStorage) DefaultManaCapability(com.teamwizardry.wizardry.api.capability.player.mana.DefaultManaCapability) MiscCapabilityStorage(com.teamwizardry.wizardry.api.capability.player.miscdata.MiscCapabilityStorage) DefaultMiscCapability(com.teamwizardry.wizardry.api.capability.player.miscdata.DefaultMiscCapability)

Aggregations

DefaultManaCapability (com.teamwizardry.wizardry.api.capability.player.mana.DefaultManaCapability)1 ManaCapabilityStorage (com.teamwizardry.wizardry.api.capability.player.mana.ManaCapabilityStorage)1 DefaultMiscCapability (com.teamwizardry.wizardry.api.capability.player.miscdata.DefaultMiscCapability)1 MiscCapabilityStorage (com.teamwizardry.wizardry.api.capability.player.miscdata.MiscCapabilityStorage)1