Search in sources :

Example 1 with TypeStarHalo

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

the class ProviderStarHalo method buildEffect.

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

Aggregations

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