Uses of Enum
privbot.mechanics.ConsumeTiming.Mode
Packages that use ConsumeTiming.Mode
Package
Description
Pure game-mechanic rules shared by plugins on every server: the same name and meaning on Impact, Elorin, Orion,
SpawnPK and Roat Pkz.
-
Uses of ConsumeTiming.Mode in privbot.mechanics
Subclasses with type arguments of type ConsumeTiming.Mode in privbot.mechanicsFields in privbot.mechanics declared as ConsumeTiming.ModeMethods in privbot.mechanics that return ConsumeTiming.ModeModifier and TypeMethodDescriptionstatic ConsumeTiming.ModeReturns the enum constant of this type with the specified name.static ConsumeTiming.Mode[]ConsumeTiming.Mode.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in privbot.mechanics with parameters of type ConsumeTiming.ModeModifier and TypeMethodDescriptionstatic EmergencyConsume.DecisionEmergencyConsume.decide(ConsumeTiming.Mode mode, int tick, Integer hpPercent, Integer worstHitPercent, int eatAtPercent, int emergencyPercent, Integer lastFood, Integer lastCombo, Integer lastPotion, ItemContainerSnapshot.Item food, ItemContainerSnapshot.Item combo, ItemContainerSnapshot.Item brew, ItemContainerSnapshot.Item restore, Boolean restoreDue) Applies the flagship emergency rule to one inventory snapshot.static BooleanConsumeTiming.ready(ConsumeTiming.Mode mode, ConsumeTiming.Kind kind, int tick, Integer lastFood, Integer lastCombo, Integer lastPotion) Whether an action is off its cooldown.Constructors in privbot.mechanics with parameters of type ConsumeTiming.Mode