Class GeneralConfig

All Implemented Interfaces:
Config

@ConfigSerializable public class GeneralConfig extends AbstractYamlConfig
  • Constructor Details

    • GeneralConfig

      public GeneralConfig()
  • Method Details

    • getHammerDurabilityLossMultiplier

      public int getHammerDurabilityLossMultiplier()
    • setHammerDurabilityLossMultiplier

      public void setHammerDurabilityLossMultiplier(int hammerDurabilityLossMultiplier)
    • isAllowPokemonNicknames

      public boolean isAllowPokemonNicknames()
      Returns:
      Whether Pokémon are allowed to be nicknamed.
    • getGrowthScaleModifier

      public double getGrowthScaleModifier()
      Returns:
      Multiplier for growth scale modifier.
    • isAllowPlanting

      public boolean isAllowPlanting()
      Returns:
      Whether players can plant Apricorns and berries.
    • isCloningMachineEnabled

      public boolean isCloningMachineEnabled()
      Returns:
      If the cloning machine is enabled
    • getLakeTrioMaxEnchants

      public int getLakeTrioMaxEnchants()
      Returns:
      The maximum number of times a Lake trio will enchant a ruby.
    • isUseSystemTimeForWorldTime

      public boolean isUseSystemTimeForWorldTime()
      Returns:
      Whether to sync Minecraft time with system time.
    • getTimeUpdateInterval

      public int getTimeUpdateInterval()
      Returns:
      The frequency that Minecraft time will be synced with system time.
    • getMaxLevel

      public int getMaxLevel()
      Returns:
      The maximum pokemonLevel that a Pokémon can be.
    • isAlwaysHaveMegaRing

      public boolean isAlwaysHaveMegaRing()
      Returns:
      Whether or not all players should be automatically given a mega ring.
    • isAlwaysHaveDynamaxBand

      public boolean isAlwaysHaveDynamaxBand()
      Returns:
      Whether or not all players should be automatically given a dynamax band.
    • getChanceToGetSpecialBidoof

      public int getChanceToGetSpecialBidoof()
      Returns:
      The chance catching a Bidoof with a Luxury Ball will produce a Special Bidoof.
    • getOldGenDimensions

      public List<String> getOldGenDimensions()
      Returns:
      Which dimensions use Gen 7 features (eg. Mega Bosses). Any other dimension will use Gen 8 (eg. Max Raids).
    • getBothGenDimensions

      public List<String> getBothGenDimensions()
      Returns:
      Which dimensions use both Gen 7 and Gen 8 features. Overrides oldGenDimensions and relaxedBattleGimmickRules.
    • getDynamaxSize

      public float getDynamaxSize()
      Returns:
      How much Dynamax raises Pokémon heights to.
    • isBerryJuiceCrafting

      public boolean isBerryJuiceCrafting()
      Returns:
      Whether berry juices can be crafted in the infuser.
    • isPokeGiftReusable

      public boolean isPokeGiftReusable()
      Returns:
      Whether Poké Gifts are reusable.
    • getElevatorSearchRange

      public int getElevatorSearchRange()
      Returns:
      The maximum distance between elevators pairing with each other.
    • usesGen8Features

      public boolean usesGen8Features(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
    • isStarterOnJoin

      public boolean isStarterOnJoin()
      Returns:
      Whether a starter Pokémon is automatically given upon first joining a world.
    • getFallbackCaptureMethod

      public String getFallbackCaptureMethod()
      Returns:
      The fallback capture method to use if no specified in the ball used.
    • isUseDiscordRichPresence

      public boolean isUseDiscordRichPresence()
      Returns:
      Whether Discord Rich Presence should be used or not.