Class FlagConfig

java.lang.Object
de.z0rdak.yawp.config.server.FlagConfig

public class FlagConfig extends Object
  • Field Details

    • CONFIG_SPEC

      public static final net.neoforged.neoforge.common.ModConfigSpec CONFIG_SPEC
    • CONFIG_NAME

      public static final String CONFIG_NAME
      See Also:
    • FLAG_CONFIG_LOGGER

      public static final org.apache.logging.log4j.Logger FLAG_CONFIG_LOGGER
  • Constructor Details

    • FlagConfig

      public FlagConfig()
  • Method Details

    • getCoveredBlockEntities

      public static Set<String> getCoveredBlockEntities()
    • getCoveredBlockEntityTags

      public static Set<String> getCoveredBlockEntityTags()
    • getDisabledFrequencyFlags

      public static Set<String> getDisabledFrequencyFlags(FlagFrequency frequency)
      Parameters:
      frequency - this is currently only for VERY_HIGH, but can be expanded later when the config is more fine grained
    • isDisabledByConfig

      public static boolean isDisabledByConfig(String flag)
    • removeEntitiesEnabled

      public static boolean removeEntitiesEnabled()