Class HeavyBall
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.HeavyBall
- All Implemented Interfaces:
BallLogic
-
Field Summary
Fields inherited from interface com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.BallLogic
ULTRA_BEAST_RATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmodifyCaptureRate(PokeBall type, PokeBallEntity entity, Pokemon pokemon, int captureRate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.BallLogic
doAfterEffect, doFailEffect, getCatchBonus
-
Constructor Details
-
HeavyBall
public HeavyBall()
-
-
Method Details
-
modifyCaptureRate
public int modifyCaptureRate(PokeBall type, PokeBallEntity entity, Pokemon pokemon, int captureRate) Description copied from interface:BallLogic- Specified by:
modifyCaptureRatein interfaceBallLogic- Parameters:
type- ThePokeBallbeing used.entity- ThePokeBallEntitybeing thrown, if one is present.pokemon- ThePokemonbeing caught.captureRate- The base catch rate of thePokemonbeing caught.- Returns:
- The modified catch rate of the
Pokemonbeing caught.
-