Class HeavyBall
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.HeavyBall
- All Implemented Interfaces:
BallLogic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
modifyCaptureRate
(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, wait
Methods 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:
modifyCaptureRate
in interfaceBallLogic
- Parameters:
type
- ThePokeBall
being used.entity
- ThePokeBallEntity
being thrown, if one is present.pokemon
- ThePokemon
being caught.captureRate
- The base catch rate of thePokemon
being caught.- Returns:
- The modified catch rate of the
Pokemon
being caught.
-