Fix #1426 A way to change how much sand an tree multifarm gives when a tree grows

This commit is contained in:
Nedelosk committed 2017-04-07 21:44:20 +02:00
1 parent 4aa978023d
commit c4ecdde110
3 files changed
+8 -2

No files matched your search

@@ -7,6 +7,7 @@ import java.util.Random;
import forestry.api.core.IItemModelRegister;
import forestry.api.core.IModelManager;
import forestry.core.CreativeTabForestry;
import forestry.core.config.Config;
import forestry.core.config.Constants;
import net.minecraft.block.Block;
import net.minecraft.block.BlockLog;
@@ -32,7 +33,7 @@ import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class BlockHumus extends Block implements IItemModelRegister {
private static final int degradeDelimiter = 3;
private static final int degradeDelimiter = Config.humusDegradeDelimiter;
public static final PropertyInteger DEGRADE = PropertyInteger.create("degrade", 0, degradeDelimiter); // degradation level of humus
public BlockHumus() {
@@ -54,6 +54,9 @@ public class Config {
// Graphics
public static boolean enableParticleFX = true;
//Humus
public static int humusDegradeDelimiter = 3;
// Genetics
public static boolean pollinateVanillaTrees = true;
public static float researchMutationBoostMultiplier = 1.5f;
@@ -213,6 +216,8 @@ public class Config {
enableBackpackResupply = configCommon.getBooleanLocalized("performance", "backpacks.resupply", enableBackpackResupply);
humusDegradeDelimiter = configCommon.getIntLocalized("tweaks.humus", "degradeDelimiter", humusDegradeDelimiter, 1, 10);
//planterThrottle = configCommon.getIntLocalized("performance", "performance.planter", planterThrottle, 1, 2000);
//propThrottle.Comment = "higher numbers increase working speeds of planters but also increase cpu load.";