Add config option for left click chiseling. Fix chisel recipes.

This commit is contained in:
tterrag1098 committed 2015-01-09 03:03:37 -05:00
1 parent 712dc5bd95
commit 544abae077
5 files changed
+41 -15

No files matched your search

@@ -37,7 +37,8 @@ public class Configurations {
public static boolean allowChiselDamage;
public static int ironChiselMaxDamage;
public static int diamondChiselMaxDamage;
public static boolean ironChiselCanLeftClick;
public static boolean refreshConfig() {
String category;
@@ -76,7 +77,8 @@ public class Configurations {
allowChiselDamage = config.get(category, "allowChiselDamage", true, "Should the chisel be damageable and take damage when it chisels something.").getBoolean();
ironChiselMaxDamage = config.get(category, "ironChiselMaxDamage", 500, "The max damage of the standard iron chisel. Default: 500.").getInt();
diamondChiselMaxDamage = config.get(category, "diamondChiselMaxDamage", 5000, "The max damage of the diamond chisel. Default: 5000").getInt();
ironChiselCanLeftClick = config.get(category, "ironChiselCanLeftClick", false, "If this is true, the iron chisel can left click chisel blocks. If false, it cannot.").getBoolean();
if (config.hasChanged()) {
config.save();
}