- All Superinterfaces:
IPlantAction
- All Known Implementing Classes:
AbstractLobbingPlant, AbstractPeaHead, AbstractPeashooter, AbstractRangedPlant, AbstractRangedShroom, CabbagePult, Cactus, Cattail, DarkFlower, ElectroPea, FirePea, FrostPea, FumeShroom, GatlingPea, KernelPult, KnightPea, MelonPult, Peashooter, PuffShroom, Repeater, ScaredyShroom, ScatterTail, SeaShroom, ShadowPea, Snapdragon, SnowPea, SolarPea, SplitPea, SplitPeaHead, Threepeater, ThreepeaterHead, WinterMelon
-
Method Summary
int
int
default boolean
default boolean
void
void
Methods inherited from interface nokunami.floral_warfare.api.common.IPlantAction
actConfig, canUseActionGoal, getActTick, getDefaultDelay, getPostAnimDelay, getPreAnimDelay, getStartAnimDelay, isAct, performAction, postActionTick, preAction, repeatActionAnim, resetAction, setAct, setActTick, startAction, stopAction
-
Method Details
-
getAmmoAmount
int getAmmoAmount()
-
setAmmoAmount
void setAmmoAmount(int amount)
-
getDefaultAmmoAmount
int getDefaultAmmoAmount()
-
setDefaultAmmoAmount
void setDefaultAmmoAmount(int amount)
-
resetAmmo
default boolean resetAmmo()
-
randomDelay
default boolean randomDelay()