mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
Remove zombie chance config options (#9950)
This commit is contained in:
1 parent
115eb5e4c8
commit
0467d71466
2 files changed
-34
No files matched your search
@@ -12,7 +12,6 @@ import org.apache.commons.lang3.tuple.Pair;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
|
||||
import net.minecraftforge.common.ForgeConfigSpec.BooleanValue;
|
||||
import net.minecraftforge.common.ForgeConfigSpec.DoubleValue;
|
||||
import net.minecraftforge.common.ForgeConfigSpec.ConfigValue;
|
||||
|
||||
public class ForgeConfig {
|
||||
@@ -23,9 +22,6 @@ public class ForgeConfig {
|
||||
|
||||
public final BooleanValue fullBoundingBoxLadders;
|
||||
|
||||
public final DoubleValue zombieBaseSummonChance;
|
||||
public final DoubleValue zombieBabyChance;
|
||||
|
||||
public final ConfigValue<String> permissionHandler;
|
||||
|
||||
public final BooleanValue advertiseDedicatedServerToLan;
|
||||
@@ -52,18 +48,6 @@ public class ForgeConfig {
|
||||
.worldRestart()
|
||||
.define("fullBoundingBoxLadders", false);
|
||||
|
||||
zombieBaseSummonChance = builder
|
||||
.comment("Base zombie summoning spawn chance. Allows changing the bonus zombie summoning mechanic.")
|
||||
.translation("forge.configgui.zombieBaseSummonChance")
|
||||
.worldRestart()
|
||||
.defineInRange("zombieBaseSummonChance", 0.1D, 0.0D, 1.0D);
|
||||
|
||||
zombieBabyChance = builder
|
||||
.comment("Chance that a zombie (or subclass) is a baby. Allows changing the zombie spawning mechanic.")
|
||||
.translation("forge.configgui.zombieBabyChance")
|
||||
.worldRestart()
|
||||
.defineInRange("zombieBabyChance", 0.05D, 0.0D, 1.0D);
|
||||
|
||||
permissionHandler = builder
|
||||
.comment("The permission handler used by the server. Defaults to forge:default_handler if no such handler with that name is registered.")
|
||||
.translation("forge.configgui.permissionHandler")
|
||||
|
||||
Reference in new issue
Block a user