adding the config options from the tinkered constructor fork (#73)

* config option for invulnerability of dropped tools and base EntityItem despawn time

* config option to drop life canisters on death

* Added config option for dagger damage multiplier when thrown, default = 3x

* emulate vanilla behavior by default

---------

Co-authored-by: Alex Ponebshek <[email protected]>
This commit is contained in:
unix-supremacistandAlex Ponebshek authored and GitHub committed 2023-02-12 08:37:14 +01:00
1 parent 531e33765e
commit 3e2ba6ac16
8 files changed
+66 -18

No files matched your search

@@ -71,6 +71,14 @@ public class PHConstruct {
"Difficulty Changes",
"Add alternative recipe for bolt parts: arrowhead + toolrod in a crafting grid",
false).getBoolean(false);
indestructible = config.get("Difficulty Changes", "Dropped tools are indestructible", true).getBoolean(true);
globalDespawn = config.get(
"Difficulty Changes",
"Global item despawn time",
0,
"Changes the despawn time of all items, 0 is vanilla behavior").getInt(0);
dropCanisters = config.get("Difficulty Changes", "Drop heart canisters on death", false).getBoolean(false);
daggerThrowMultiplier = config.get("Difficulty Changes", "Thrown dagger output multiplier", 1).getDouble(1);
naturalSlimeSpawn = config.get("Mobs", "Blue Slime spawn chance", 1, "Set to 0 to disable").getInt(1);
@@ -427,6 +435,10 @@ public class PHConstruct {
public static boolean miningLevelIncrease;
public static boolean denyMattock;
public static boolean alternativeBoltRecipe;
public static boolean indestructible;
public static int globalDespawn;
public static boolean dropCanisters;
public static double daggerThrowMultiplier;
// Smeltery Output Modification
public static double ingotsPerOre;