Search in sources :

Example 1 with TypeNebulaCloud

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

the class ProviderNebulaCloud method buildEffect.

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

Aggregations

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