package com.yolp900.itsjustacharm.reference;
import com.yolp900.itsjustacharm.api.IJCConstants;
import com.yolp900.itsjustacharm.util.TextHelper;
import net.minecraft.util.ResourceLocation;
import java.util.List;
public class LibModIntegrations {
public static final class JEI {
public static final String MOD_ID = "JEI";
public enum Recipes {
ConstructionTable("ConstructionTable");
private String Uid;
private String title;
private ResourceLocation gui;
Recipes(String name) {
this(name, name, name);
}
Recipes(String Uid, String title, String gui) {
this.Uid = IJCConstants.MOD_PREFIX + Uid;
this.title = TextHelper.translateToLocal("jei.recipe." + IJCConstants.MOD_PREFIX + title);
this.gui = new ResourceLocation(IJCConstants.MOD_ID, "textures/guis/jei/" + gui + ".png");
}
public String getUid() {
return this.Uid;
}
public String getTitle() {
return this.title;
}
public ResourceLocation getGui() {
return this.gui;
}
}
public enum Tooltips {
ShapelessGrid("ShapelessGrid");
private String tooltip;
Tooltips(String name) {
this.tooltip = TextHelper.translateToLocal("jei.tooltip." + IJCConstants.MOD_PREFIX + name);
}
public String getTooltip() {
return this.tooltip;
}
}
}
public static final class Waila {
public static final String MOD_ID = "Waila";
public static final String INTERFACE_BODY = "IWailaBodyProvider";
public static final String INTERFACE_HEAD = "IWailaHeadProvider";
public static final String INTERFACE_STACK = "IWailaStackProvider";
public static final String INTERFACE_TAIL = "IWailaTailProvider";
public static final String REGISTER = "register";
public static final String REGISTER_METHOD_LOCATION = "com.yolp900.itsjustacharm.common.integration.waila.WailaIntegration.handleIntegration";
public enum Tooltips {
ConstructionTable("ConstructionTable"),
Active("Active"),
Inactive("Inactive");
private String text;
private Object[] params;
Tooltips(String text, Object... params) {
this.text = "wailaTooltip." + IJCConstants.MOD_PREFIX + text;
this.params = params;
}
public String getUnlocalizedText() {
return text;
}
public Object[] getParams() {
return params;
}
public String getLocalizedText() {
return TextHelper.translateToLocal(getUnlocalizedText(), getParams());
}
public List<String> getLinedFormattedText() {
return TextHelper.getLinedFormattedText(getLocalizedText());
}
}
}
public static final class Baubles {
public static final String MOD_ID = "Baubles|API";
}
}