Class BattleConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.BattleConfig
- All Implemented Interfaces:
Config
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
base, config
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
double
int
int
int
double
int
float
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
BattleConfig
public BattleConfig()
-
-
Method Details
-
getBattleAIWild
- Returns:
- The battle AI mode for wild Pokémon.
-
getBattleAIBoss
- Returns:
- The battle AI mode for boss Pokémon.
-
getBattleAITrainer
- Returns:
- The battle AI mode for naturally spawning NPC Trainers.
-
isRelaxedBattleGimmickRules
public boolean isRelaxedBattleGimmickRules()- Returns:
- Whether which battle gimmick can be used is determined purely by band chosen.
-
getBattleMusicVolume
public float getBattleMusicVolume()- Returns:
- Volume of battle music. Lower = quieter.
-
isAllowPVPExperience
public boolean isAllowPVPExperience()- Returns:
- Whether Pokémon gain experience in PvP battles.
-
isAllowTrainerExperience
public boolean isAllowTrainerExperience()- Returns:
- Whether Pokémon gain experiences in battles against NPC Trainers.
-
isReturnHeldItems
public boolean isReturnHeldItems()- Returns:
- Whether held items will be replaced after PvP battles.
-
getForceEndBattleResult
- Returns:
- What to do when a battle is force-ended.
-
getExpModifier
public float getExpModifier()- Returns:
- Multiplier for experience gained in battle.
-
getSynchronizeChance
public float getSynchronizeChance()- Returns:
- Chance for Synchronize to sync nature.
-
isAllowHappyHour
public boolean isAllowHappyHour()- Returns:
- Whether Happy Hour will award double PokéDollars when used.
-
getHappyHourMultiplier
public int getHappyHourMultiplier()- Returns:
- Multiplier for how much Happy Hour will increase the awarded PokéDollars by.
-
isAllowPayDay
public boolean isAllowPayDay()- Returns:
- Whether Pay Day will award extra PokéDollars when used.
-
getPayDayMultiplier
public double getPayDayMultiplier()- Returns:
- Amount to multiply the pokemonLevel by when Pay Day is used.
-
isAllowGMaxGoldRush
public boolean isAllowGMaxGoldRush()- Returns:
- Whether G-Max Gold Rush will award extra PokéDollars when used.
-
getgMaxGoldRushMultiplier
public double getgMaxGoldRushMultiplier()- Returns:
- Amount to multiply the pokemonLevel by when G-Max Gold Rush is used.
-
getPickupRate
public int getPickupRate()- Returns:
- The rate at which Pickup finds items.
-
isAllowCatchCombo
public boolean isAllowCatchCombo()- Returns:
- Whether catch combos should be used
-
getCatchComboThresholds
- Returns:
- Catch combo count thresholds.
-
getCatchComboExpBonuses
- Returns:
- Catch combo exp bonuses per threshold.
-
getCatchComboShinyModifiers
- Returns:
- Catch combo shiny modifiers per threshold.
-
getCatchComboPerfectIVs
- Returns:
- Catch combo perfect IVs per threshold.
-
isScaleGrassBattles
public boolean isScaleGrassBattles()- Returns:
- Whether Pokémon in Pixelmon grass have levels scaled to the player's highest-leveled Pokémon.
-
isOverworldWeatherAffectsWildBattleWeather
public boolean isOverworldWeatherAffectsWildBattleWeather()- Returns:
- Whether Minecraft's weather in the Overworld should affect the type of weather a battle against Wild Pokémon starts with.
-
isOverworldWeatherAffectsTrainerBattleWeather
public boolean isOverworldWeatherAffectsTrainerBattleWeather()- Returns:
- Whether Minecraft's weather in the Overworld should affect the type of weather a Trainer battle starts with.
-
isOverworldWeatherAffectsPvPBattleWeather
public boolean isOverworldWeatherAffectsPvPBattleWeather()- Returns:
- Whether Minecraft's weather in the Overworld should affect the type of weather a PvP battle starts with.
-
isOverworldWeatherAffectsRaidBattleWeather
public boolean isOverworldWeatherAffectsRaidBattleWeather()- Returns:
- Whether Minecraft's weather in the Overworld should affect the type of weather a Raid battle starts with.
-
isOverworldWeatherCanChangeBattleWeatherDuringBattle
public boolean isOverworldWeatherCanChangeBattleWeatherDuringBattle()- Returns:
- Whether Minecraft's weather in the Overworld should change battle weather during the battle, not just at the beginning of the battle.
-
isPlayersCanMoveDuringPvPBattles
public boolean isPlayersCanMoveDuringPvPBattles()- Returns:
- Whether Player's can escape the battle menu during a PvP match to walk around and do other actions without having to forfeit or win their battle.
-
isPlayersCanMoveDuringWildBattles
public boolean isPlayersCanMoveDuringWildBattles()- Returns:
- Whether Player's can escape the battle menu during a wild Pokémon encounter to walk around and do other actions without having to forfeit or win their battle.
-
isPlayersCanMoveDuringTrainerBattles
public boolean isPlayersCanMoveDuringTrainerBattles()- Returns:
- Whether Player's can escape the battle menu during a battle with an NPC trainer to walk around and do other actions without having to forfeit or win their battle.
-
isPlayersCanMoveDuringRaidBattles
public boolean isPlayersCanMoveDuringRaidBattles()- Returns:
- Whether Player's can escape the battle menu during a Raid battle to walk around and do other actions without having to forfeit or win their battle.
-
getMaxDistancePlayersCanMoveAwayFromBattles
public int getMaxDistancePlayersCanMoveAwayFromBattles()- Returns:
- The maximum distance away from the (furthest) of the opponents' Pokémon a player may travel before the battle is ended.
-
getMinDistanceBeforeWarningVignette
public int getMinDistanceBeforeWarningVignette()
-