PowersConfigFields

public void PowersConfigFields(String fileName, boolean isEnabled, String material, Class<? extends ElitePower> elitePowerClass, PowersConfigFields.PowerType powerType)

Constructor for hardcoded powers

Parameters

fileName

Filename of the power

isEnabled

If the power is enabled

material

Material of the trail

elitePowerClass

Class of the hardcoded power


public void PowersConfigFields(String fileName, boolean isEnabled, String material, Map<String, Object> rawScripts, PowersConfigFields.PowerType powerType)

Constructor for script-based powers

Parameters

fileName

Filename of the power

isEnabled

If the power is enabled

material

Material of the power

rawScripts

Script of the power


public void PowersConfigFields(String fileName, boolean isEnabled, String material, int powerCooldown, int globalCooldown, Class<? extends ElitePower> elitePowerClass, PowersConfigFields.PowerType powerType)
public void PowersConfigFields(String fileName, boolean isEnabled)