Add config option for the colored heart renderer (#118)

* HeartRenderCFG

* Minor nits, bump deps

* don't register heart renderer at all if config is off

* avoid double negation in the setting name

---------

Co-authored-by: ah-OOG-ah <[email protected]>
Co-authored-by: Alexdoru <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-05-21 20:53:56 +02:00
1 parent c5d7770253
commit 63df442eb3
3 files changed
+11 -4

No files matched your search

@@ -274,6 +274,9 @@ public class PHConstruct {
.getBoolean(false);
// Experimental functionality
coloredHeartRender = config
.get("Experimental", "Renders one row of colored hearts instead of multiple rows of hearts", true)
.getBoolean(true);
throwableSmeltery = config.get("Experimental", "Items can be thrown into smelteries", true).getBoolean(true);
meltableHorses = config.get("Experimental", "Allow horses to be melted down for glue", true).getBoolean(true);
meltableVillagers = config.get("Experimental", "Allow villagers to be melted down for emeralds", true)
@@ -481,6 +484,7 @@ public class PHConstruct {
public static boolean genOresFlat;
// Experimental functionality
public static boolean coloredHeartRender;
public static boolean throwableSmeltery;
public static boolean meltableHorses;
public static boolean meltableVillagers;