Logging overhaul
This commit is contained in:
parent
29c2ebe8c2
commit
b29ade63f0
12 changed files with 130 additions and 40 deletions
|
@ -11,6 +11,8 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
|||
@Mod.EventBusSubscriber(modid = BloodMagic.MODID)
|
||||
public class ConfigHandler {
|
||||
|
||||
@Config.Comment({"General settings"})
|
||||
public static ConfigGeneral general = new ConfigGeneral();
|
||||
@Config.Comment({"Blacklist options for various features"})
|
||||
public static ConfigBlacklist blacklist = new ConfigBlacklist();
|
||||
@Config.Comment({"Value modifiers for various features"})
|
||||
|
@ -30,6 +32,13 @@ public class ConfigHandler {
|
|||
}
|
||||
}
|
||||
|
||||
public static class ConfigGeneral {
|
||||
@Config.Comment({"Enables extra information to be printed to the log.", "Warning: May drastically increase log size."})
|
||||
public boolean enableDebugLogging = false;
|
||||
@Config.Comment({"Enables extra information to be printed to the log.", "Warning: May drastically increase log size."})
|
||||
public boolean enableAPILogging = false;
|
||||
}
|
||||
|
||||
public static class ConfigBlacklist {
|
||||
@Config.Comment({"Stops listed blocks and entities from being teleposed.", "Use the registry name of the block or entity. Vanilla objects do not require the modid.", "If a block is specified, you can list the variants to only blacklist a given state."})
|
||||
public String[] teleposer = {"bedrock", "mob_spawner"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue