Class QuickBall
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.QuickBall
- All Implemented Interfaces:
BallLogic
-
Field Summary
Fields inherited from interface com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.BallLogic
ULTRA_BEAST_RATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getCatchBonus
(PokeBall type, PokeBallEntity entity, net.minecraft.world.entity.player.Player thrower, Pokemon pokemon, PokeBallMode mode) Get the ball bonus of this ball logic.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, modifyCaptureRate
-
Constructor Details
-
QuickBall
public QuickBall()
-
-
Method Details
-
getCatchBonus
public double getCatchBonus(PokeBall type, PokeBallEntity entity, net.minecraft.world.entity.player.Player thrower, Pokemon pokemon, PokeBallMode mode) Description copied from interface:BallLogic
Get the ball bonus of this ball logic. This may be different depending on whether the capture attempt is in a battle or not.- Specified by:
getCatchBonus
in interfaceBallLogic
- Parameters:
type
- ThePokeBall
being used.entity
- ThePokeBallEntity
being thrown, if one is present.thrower
- The player throwing the ball.pokemon
- ThePokemon
being caught.mode
- The mode this capture attempt is in.- Returns:
- The ball bonus of the Poké Ball given the provided parameters.
-