StatisticChangeEvent
StatisticChangeEvent is a public synchronous event type that carries a user and an integer value.
Technical Overview
Section titled “Technical Overview”- Package:
dev.despical.snake.api.event.player - Parent Class:
SnakeEvent - Cancellable: No
| Method | Return Type | Description |
|---|---|---|
getUser() | User | Player whose value is represented. |
getValue() | int | Integer value supplied to the event constructor. |
If you need current statistics, query them at GameEndEvent or through PlaceholderAPI until dispatch support is added.