Search in sources :

Example 1 with TypeWraithWings

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

the class ProviderWraithWings method buildEffect.

@Override
public TypeWraithWings 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 TypeWraithWings(effectUUID, fc, playerUUID);
}
Also used : UUID(java.util.UUID) FlareColor(hellfirepvp.astralsorcery.common.base.patreon.FlareColor) TypeWraithWings(hellfirepvp.astralsorcery.common.base.patreon.types.TypeWraithWings)

Aggregations

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