Listener for Barrel breaking -> LWC Support

This commit is contained in:
Sn0wStorm
2014-04-08 16:11:20 +02:00
parent 3155bbab63
commit 1c6fe6cc33
19 changed files with 790 additions and 227 deletions
+3 -12
View File
@@ -113,24 +113,15 @@ public class BRecipe {
}
public boolean isCookingOnly() {
if (age == 0 && distillruns == 0) {
return true;
}
return false;
return age == 0 && distillruns == 0;
}
public boolean needsDistilling() {
if (distillruns == 0) {
return false;
}
return true;
return distillruns != 0;
}
public boolean needsToAge() {
if (age == 0) {
return false;
}
return true;
return age != 0;
}
// true if given map misses an ingredient