[+] #2: Add settings for search distances

This commit is contained in:
Hykilpikonna
2020-02-17 11:02:39 -05:00
parent d63f8d9f83
commit 12fa664052
+9
View File
@@ -830,6 +830,15 @@ public final class Settings {
*/
public final Setting<Boolean> mineScanDroppedItems = new Setting<>(true);
// Hyritone start - #2 Add settings for search distances.
public final Setting<Integer> searchDistUp = new Setting<>(10);
public final Setting<Integer> searchDistDown = new Setting<>(10);
public final Setting<Integer> searchDistXFront = new Setting<>(10);
public final Setting<Integer> searchDistXBack = new Setting<>(10);
public final Setting<Integer> searchDistZFront = new Setting<>(10);
public final Setting<Integer> searchDistZBack = new Setting<>(10);
// Hyritone end
/**
* While mining, wait this number of milliseconds after mining an ore to see if it will drop an item
* instead of immediately going onto the next one