mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-11 15:57:39 +00:00
31 lines
876 B
Java
31 lines
876 B
Java
package com.gtnewhorizon.structurelib.mixins;
|
|
|
|
import cpw.mods.fml.common.Mod;
|
|
|
|
public enum TargetedMod {
|
|
|
|
VANILLA("Minecraft", null);
|
|
|
|
/** The "name" in the {@link Mod @Mod} annotation */
|
|
public final String modName;
|
|
/** Class that implements the IFMLLoadingPlugin interface */
|
|
public final String coreModClass;
|
|
/** The "modid" in the {@link Mod @Mod} annotation */
|
|
public final String modId;
|
|
|
|
TargetedMod(String modName, String coreModClass) {
|
|
this(modName, coreModClass, null);
|
|
}
|
|
|
|
TargetedMod(String modName, String coreModClass, String modId) {
|
|
this.modName = modName;
|
|
this.coreModClass = coreModClass;
|
|
this.modId = modId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "TargetedMod{modName='" + modName + "', coreModClass='" + coreModClass + "', modId='" + modId + "'}";
|
|
}
|
|
}
|