<commit_before>package info.loenwind.infinityblock.config;

import java.nio.charset.Charset;

import javax.annotation.Nonnull;

import info.loenwind.infinityblock.InfinityBlockMod;
import io.netty.buffer.ByteBuf;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;

public enum Config {

  // section, defaultValue, description, requiresWorldRestart, requiresGameRestart

  usePlayerColors(Section.CLIENT, true, "Should rotor be colored according by the player's UUID or the channel.", false, false),
  registerRecipe(Section.RECIPE, false, "Should the recipe be registered. If not, you need to add it to the game in an alternative way. (For modpack makers)",
      true, true),
  useIronBlocks(Section.RECIPE, false, "Should the recipe use iron blocks instead of iron ingot.", true, true),
  useBlueGlass(Section.RECIPE, false, "Should the recipe use blue glass instead of uncolored glass.", true, true),

  ;

  /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  // Nothing to see beyond this point. End of configuration values.
  /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

  @Nonnull
  private final Section section;
  @Nonnull
  private final Object defaultValue;
  @Nonnull
  private final String description;
  @Nonnull
  private Object currentValue;
  private final boolean requiresWorldRestart;
  private final boolean requiresGameRestart;

  private Config(@Nonnull final Section section, @Nonnull final Object defaultValue, @Nonnull final String description, final boolean requiresWorldRestart,
      final boolean requiresGameRestart) {
    this.section = section;
    this.description = description;
    this.currentValue = this.defaultValue = defaultValue;
    this.requiresWorldRestart = requiresWorldRestart;
    this.requiresGameRestart = requiresGameRestart;
  }

  private Config(@Nonnull final Section section, @Nonnull final Integer defaultValue, @Nonnull final String description, final boolean requiresWorldRestart,<commit_msg>Fixed wrong config default<commit_after>package info.loenwind.infinityblock.config;

import java.nio.charset.Charset;

import javax.annotation.Nonnull;

import info.loenwind.infinityblock.InfinityBlockMod;
import io.netty.buffer.ByteBuf;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;

public enum Config {

  // section, defaultValue, description, requiresWorldRestart, requiresGameRestart

  usePlayerColors(Section.CLIENT, true, "Should rotor be colored according by the player's UUID or the channel.", false, false),
  registerRecipe(Section.RECIPE, true, "Should the recipe be registered. If not, you need to add it to the game in an alternative way. (For modpack makers)",
      true, true),
  useIronBlocks(Section.RECIPE, false, "Should the recipe use iron blocks instead of iron ingot.", true, true),
  useBlueGlass(Section.RECIPE, false, "Should the recipe use blue glass instead of uncolored glass.", true, true),

  ;

  /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  // Nothing to see beyond this point. End of configuration values.
  /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

  @Nonnull
  private final Section section;
  @Nonnull
  private final Object defaultValue;
  @Nonnull
  private final String description;
  @Nonnull
  private Object currentValue;
  private final boolean requiresWorldRestart;
  private final boolean requiresGameRestart;

  private Config(@Nonnull final Section section, @Nonnull final Object defaultValue, @Nonnull final String description, final boolean requiresWorldRestart,
      final boolean requiresGameRestart) {
    this.section = section;
    this.description = description;
    this.currentValue = this.defaultValue = defaultValue;
    this.requiresWorldRestart = requiresWorldRestart;
    this.requiresGameRestart = requiresGameRestart;
  }

  private Config(@Nonnull final Section section, @Nonnull final Integer defaultValue, @Nonnull final String description, final boolean requiresWorldRestart,
{'fraction_non_alphanumeric': 0.1793453204241586, 'fraction_numerical': 0.0, 'mean_word_length': 2.806140350877193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5561873', 'n_tokens_mistral': 1034, 'n_tokens_neox': 999, 'n_words': 352}