blob: 040b6b985348c5ceb1b8d8f7b2033b8999a65654 [file] [log] [blame] [raw]
package com.legacy.aether.player.capability;
import com.legacy.aether.ServerProxy;
import com.legacy.aether.player.PlayerAether;
import com.legacy.aether.player.PlayerAetherEvents;
import com.legacy.aether.player.perks.AetherRankings;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.CapabilityInject;
import net.minecraftforge.common.capabilities.CapabilityManager;
public class PlayerAetherManager
{
@CapabilityInject(PlayerAether.class)
public static Capability<PlayerAether> AETHER_PLAYER = null;
public static void initialization()
{
CapabilityManager.INSTANCE.register(PlayerAether.class, new PlayerAetherStorage(), PlayerAether.class);
AetherRankings.initialization();
ServerProxy.registerEvent(new PlayerAetherEvents());
}
}