Auto-format fix imports, tabs/spaces

This commit is contained in:
mezz committed 2017-02-12 00:09:28 -08:00
1 parent 5816af57bc
commit cce3b7b901
174 files changed
+1025 -1259

No files matched your search

@@ -66,7 +66,7 @@ public enum EnumETLog implements IWoodType {
public String getName() {
return name().toLowerCase();
}
@Override
public String toString() {
return getName();
@@ -76,20 +76,20 @@ public enum EnumETLog implements IWoodType {
return this.name;
}
public void addRecipe() {
if (this.plank == null) {
return;
}
ItemStack log = TreeManager.woodAccess.getStack(this, WoodBlockKind.LOG, false);
ItemStack result = plank.getStack(false);
result.setCount(4);
GameRegistry.addShapelessRecipe(result, log);
ItemStack logFireproof = TreeManager.woodAccess.getStack(this, WoodBlockKind.LOG, true);
ItemStack resultFireproof = plank.getStack(true);
resultFireproof.setCount(4);
GameRegistry.addShapelessRecipe(resultFireproof, logFireproof);
}
public void addRecipe() {
if (this.plank == null) {
return;
}
ItemStack log = TreeManager.woodAccess.getStack(this, WoodBlockKind.LOG, false);
ItemStack result = plank.getStack(false);
result.setCount(4);
GameRegistry.addShapelessRecipe(result, log);
ItemStack logFireproof = TreeManager.woodAccess.getStack(this, WoodBlockKind.LOG, true);
ItemStack resultFireproof = plank.getStack(true);
resultFireproof.setCount(4);
GameRegistry.addShapelessRecipe(resultFireproof, logFireproof);
}
@Override
public float getHardness() {
@@ -100,14 +100,14 @@ public enum EnumETLog implements IWoodType {
public int getCarbonization() {
return 4;
}
@Override
public float getCharcoalChance(int numberOfCharcoal) {
if(numberOfCharcoal == 3){
if (numberOfCharcoal == 3) {
return 0.75F;
}else if(numberOfCharcoal == 4){
} else if (numberOfCharcoal == 4) {
return 0.5F;
}else if(numberOfCharcoal == 5){
} else if (numberOfCharcoal == 5) {
return 0.25F;
}
return 0.15F;