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);
}
Aggregations