mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-26 06:43:05 +00:00
Move HarvestLevels + their names into a separate class and add special behavior if vanilla harvest levels are required
This commit is contained in:
1 parent
812841245d
commit
b9ba483d6f
13 files changed
+98
-54
No files matched your search
@@ -2,7 +2,7 @@ package iguanaman.iguanatweakstconstruct.reference;
|
||||
|
||||
import static net.minecraft.util.EnumChatFormatting.*;
|
||||
|
||||
import static iguanaman.iguanatweakstconstruct.harvestlevels.IguanaHarvestLevelTweaks.HarvestLevels.*;
|
||||
import static iguanaman.iguanatweakstconstruct.util.HarvestLevels.*;
|
||||
|
||||
public class Reference {
|
||||
public static final String MOD_ID = "IguanaTweaksTConstruct";
|
||||
@@ -15,21 +15,4 @@ public class Reference {
|
||||
public static final String PROXY_CLIENT_CLASS = "iguanaman.iguanatweakstconstruct.proxy.ClientProxy";
|
||||
public static final String PROXY_SERVER_CLASS = "iguanaman.iguanatweakstconstruct.proxy.ServerProxy";
|
||||
|
||||
public static String getHarvestLevelName (int num)
|
||||
{
|
||||
//if (Config.pickaxeBoostRequired && num > 1) --num;
|
||||
switch (num)
|
||||
{
|
||||
case _0_stone: return GRAY + "Stone";
|
||||
case _1_flint: return GOLD + "Copper";
|
||||
case _2_copper: return DARK_RED + "Iron";
|
||||
case _3_iron: return WHITE + "Tin";
|
||||
case _4_bronze: return AQUA + "Diamond";
|
||||
case _5_diamond: return LIGHT_PURPLE + "Obsidian";
|
||||
case _6_obsidian: return RED + "Ardite";
|
||||
case _7_ardite: return BLUE + "Cobalt";
|
||||
case _8_cobalt: return DARK_PURPLE + "Manyullyn";
|
||||
default: return "\u00a7k\u00a7k\u00a7k\u00a7k\u00a7k\u00a7k";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user