public class FMLFingerprintViolationEvent extends ModLifecycleEvent
Mod#certificateFingerprint()
doesn't match the certificate loaded from the JAR
file. You could use this to log a warning that the code that is running might not be yours, for example.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
expectedFingerprint |
private java.util.Set<java.lang.String> |
fingerprints |
private boolean |
isDirectory |
private java.io.File |
source |
Constructor and Description |
---|
FMLFingerprintViolationEvent(boolean isDirectory,
java.io.File source,
com.google.common.collect.ImmutableSet<java.lang.String> fingerprints,
java.lang.String expectedFingerprint) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpectedFingerprint() |
java.util.Set<java.lang.String> |
getFingerprints() |
java.io.File |
getSource() |
boolean |
isDirectory() |
description, getIMCStream, getIMCStream, toString
private final boolean isDirectory
private final java.util.Set<java.lang.String> fingerprints
private final java.io.File source
private final java.lang.String expectedFingerprint