Added removeErroringEntities config option (#8627)

Counterpart to removeErroringBlockEntities
This commit is contained in:
DaemonUmbra authored and GitHub committed 2022-05-23 20:03:03 +01:00
1 parent 5410f9b532
commit 727c7780b3
2 files changed
+13 -1

No files matched your search

@@ -21,6 +21,8 @@ public class ForgeConfig {
public static class Server {
public final BooleanValue removeErroringBlockEntities;
public final BooleanValue removeErroringEntities;
public final BooleanValue fullBoundingBoxLadders;
public final DoubleValue zombieBaseSummonChance;
@@ -43,6 +45,12 @@ public class ForgeConfig {
.worldRestart()
.define("removeErroringBlockEntities", false);
removeErroringEntities = builder
.comment("Set this to true to remove any Entity (Note: Does not include BlockEntities) that throws an error in its tick method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.")
.translation("forge.configgui.removeErroringEntities")
.worldRestart()
.define("removeErroringEntities", false);
fullBoundingBoxLadders = builder
.comment("Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticeable differences in mechanics so default is vanilla behavior. Default: false.")
.translation("forge.configgui.fullBoundingBoxLadders")