Added Waila Integration.
This commit is contained in:
+20
-20
@@ -65,26 +65,26 @@ public class AppEng
|
||||
/**
|
||||
* Side, Display Name, ModID ClassPostFix
|
||||
*/
|
||||
IntegrationSide.BOTH, "Industrial Craft 2", "IC2", "IC2", // IC2
|
||||
//IntegrationSide.BOTH, "Railcraft", "Railcraft", "RC", // RC
|
||||
//IntegrationSide.BOTH, "Thermal Expansion", "ThermalExpansion", "TE", // TE
|
||||
//IntegrationSide.BOTH, "Mystcraft", "Mystcraft", "Mystcraft", // MC
|
||||
IntegrationSide.BOTH, "BuildCraft", "BuildCraft|Silicon", "BC", // BC
|
||||
IntegrationSide.BOTH, "BuildCraft Power", null, "MJ", // BC
|
||||
//IntegrationSide.BOTH, "Greg Tech", "gregtech_addon", "GT", // GT
|
||||
//IntegrationSide.BOTH, "Universal Electricity", null, "UE", // UE
|
||||
//IntegrationSide.BOTH, "Logistics Pipes", "LogisticsPipes|Main", "LP", // LP
|
||||
// IntegrationSide.CLIENT, "Inventory Tweaks", "", "InvTweaks", // InvTweaks
|
||||
// IntegrationSide.BOTH, "Mine Factory Reloaded", "MineFactoryReloaded", "MFR", // MFR
|
||||
IntegrationSide.BOTH, "Deep Storage Unit", null, "DSU", // DSU
|
||||
//IntegrationSide.BOTH, "Better Storage", "betterstorage", "BS", // BS
|
||||
//IntegrationSide.BOTH, "Factorization", "factorization", "FZ", // FZ
|
||||
//IntegrationSide.BOTH, "Forestry", "Forestry", "Forestry", // Forestry
|
||||
//IntegrationSide.BOTH, "Mekanism", "Mekanism", "Mekanism", // MeK
|
||||
//IntegrationSide.CLIENT, "Waila", "Waila", "Waila", // Waila
|
||||
//IntegrationSide.CLIENT, "Not Enough Items", "NotEnoughItems", "NEI", // NEI
|
||||
//IntegrationSide.BOTH, "Forge MultiPart", "McMultipart", "FMP" // FMP
|
||||
});
|
||||
IntegrationSide.BOTH, "Industrial Craft 2", "IC2", "IC2", // IC2
|
||||
// IntegrationSide.BOTH, "Railcraft", "Railcraft", "RC", // RC
|
||||
// IntegrationSide.BOTH, "Thermal Expansion", "ThermalExpansion", "TE", // TE
|
||||
// IntegrationSide.BOTH, "Mystcraft", "Mystcraft", "Mystcraft", // MC
|
||||
IntegrationSide.BOTH, "BuildCraft", "BuildCraft|Silicon", "BC", // BC
|
||||
IntegrationSide.BOTH, "BuildCraft Power", null, "MJ", // BC
|
||||
// IntegrationSide.BOTH, "Greg Tech", "gregtech_addon", "GT", // GT
|
||||
// IntegrationSide.BOTH, "Universal Electricity", null, "UE", // UE
|
||||
// IntegrationSide.BOTH, "Logistics Pipes", "LogisticsPipes|Main", "LP", // LP
|
||||
// IntegrationSide.CLIENT, "Inventory Tweaks", "", "InvTweaks", // InvTweaks
|
||||
// IntegrationSide.BOTH, "Mine Factory Reloaded", "MineFactoryReloaded", "MFR", // MFR
|
||||
IntegrationSide.BOTH, "Deep Storage Unit", null, "DSU", // DSU
|
||||
// IntegrationSide.BOTH, "Better Storage", "betterstorage", "BS", // BS
|
||||
// IntegrationSide.BOTH, "Factorization", "factorization", "FZ", // FZ
|
||||
// IntegrationSide.BOTH, "Forestry", "Forestry", "Forestry", // Forestry
|
||||
// IntegrationSide.BOTH, "Mekanism", "Mekanism", "Mekanism", // MeK
|
||||
IntegrationSide.CLIENT, "Waila", "Waila", "Waila", // Waila
|
||||
// IntegrationSide.CLIENT, "Not Enough Items", "NotEnoughItems", "NEI", // NEI
|
||||
IntegrationSide.BOTH, "Forge MultiPart", "McMultipart", "FMP" // FMP
|
||||
} );
|
||||
|
||||
public boolean isIntegrationEnabled(String Name)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
package appeng.core.localization;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public enum WailaText
|
||||
{
|
||||
|
||||
DeviceOnline, DeviceOffline, DeviceMissingChannel,
|
||||
|
||||
Locked, Unlocked, Showing,
|
||||
|
||||
Contains;
|
||||
|
||||
String root;
|
||||
|
||||
WailaText() {
|
||||
root = "waila.appliedenergistics2";
|
||||
}
|
||||
|
||||
WailaText(String r) {
|
||||
root = r;
|
||||
}
|
||||
|
||||
public String getUnlocalized()
|
||||
{
|
||||
return root + "." + toString();
|
||||
}
|
||||
|
||||
public String getLocal()
|
||||
{
|
||||
return StatCollector.translateToLocal( getUnlocalized() );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user