Search in sources :

Example 1 with TypeCelestialWings

use of hellfirepvp.astralsorcery.common.base.patreon.types.TypeCelestialWings in project AstralSorcery by HellFirePvP.

the class ProviderCelestialWings method buildEffect.

@Override
public TypeCelestialWings buildEffect(UUID playerUUID, List<String> effectParameters) throws Exception {
    UUID effectUUID = UUID.fromString(effectParameters.get(0));
    FlareColor fc = null;
    if (!"null".equals(effectParameters.get(1))) {
        fc = FlareColor.valueOf(effectParameters.get(1));
    }
    return new TypeCelestialWings(effectUUID, fc, playerUUID);
}
Also used : TypeCelestialWings(hellfirepvp.astralsorcery.common.base.patreon.types.TypeCelestialWings) UUID(java.util.UUID) FlareColor(hellfirepvp.astralsorcery.common.base.patreon.FlareColor)

Aggregations

FlareColor (hellfirepvp.astralsorcery.common.base.patreon.FlareColor)1 TypeCelestialWings (hellfirepvp.astralsorcery.common.base.patreon.types.TypeCelestialWings)1 UUID (java.util.UUID)1