GameTick
The event for each game tick, every 0.6 seconds.
ClassRuneLiteRuneLite docs
public class GameTickMost plugins do their work in a Subscribe method for this event: read the state of the game, then act once or twice.
Type only. It carries no data. Use it as the parameter of a Subscribe method.
Example
@Subscribe
public void onGameTick(GameTick tick) {
if (GameAPI.isLoggedIn()) {
int free = InventoryAPI.getEmptySlots();
}
}Also allowed
These work as in the RuneLite docs.
canEqual, clone, equals, hashCode, new GameTick, toString