Ability for hoe to replant crops and nether warts

This commit is contained in:
BillyGalbreath
2025-01-12 13:59:28 -08:00
committed by granny
parent 6de1d9acfa
commit 7842d68581
5 changed files with 65 additions and 97 deletions

View File

@@ -508,6 +508,8 @@ public class PurpurWorldConfig {
public Map<Block, Weatherable> axeWeatherables = new HashMap<>();
public Map<Block, Tillable> hoeTillables = new HashMap<>();
public Map<Block, Flattenable> shovelFlattenables = new HashMap<>();
public boolean hoeReplantsCrops = false;
public boolean hoeReplantsNetherWarts = false;
private void toolSettings() {
axeStrippables.clear();
axeWaxables.clear();
@@ -782,6 +784,8 @@ public class PurpurWorldConfig {
});
shovelFlattenables.put(block, new Flattenable(into, drops));
});
hoeReplantsCrops = getBoolean("tools.hoe.replant-crops", hoeReplantsCrops);
hoeReplantsNetherWarts = getBoolean("tools.hoe.replant-nether-warts", hoeReplantsNetherWarts);
}
public boolean anvilAllowColors = false;