Class MedicinePotion
java.lang.Object
com.pixelmonmod.pixelmon.items.medicine.MedicinePotion
- All Implemented Interfaces:
- IMedicine
Causes medicine to heal a Pokémon's hp.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanuseMedicine(PokemonLink target, double multiplier) Heals the Pokémon with the item.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.items.IMedicineuseMedicine
- 
Constructor Details- 
MedicinePotionInitializes the medicine definition.- Parameters:
- healHP- The calculation for how much hp will be healed.
 
 
- 
- 
Method Details- 
useMedicineDescription copied from interface:IMedicineHeals the Pokémon with the item.- Specified by:
- useMedicinein interface- IMedicine
- Parameters:
- target- The Pokémon the item is being used on.
- multiplier- Multiplier value for the heal amount.
- Returns:
- Whether to remove an instance of the item from the player's inventory.
 
 
-