Search in sources :

Example 1 with TypeCrystalFootprints

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

the class ProviderCrystalFootprints method buildEffect.

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

Aggregations

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