mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
Fix #1426 A way to change how much sand an tree multifarm gives when a tree grows
This commit is contained in:
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.";
|
||||
|
||||
|
||||
Reference in new issue
Block a user