Interface Events.Source
- Enclosing class:
Events
public static interface Events.Source
Reads one
Events.Frame. Called on the client thread (inside GameThread.ensure(java.util.function.Supplier<T>, T)).-
Method Summary
-
Method Details
-
read
- Parameters:
needs- what to read- Returns:
- the frame; never null
-
pollsHitsplats
default boolean pollsHitsplats()- Returns:
- whether
Events.Frame.hitsare polled by this source (forwarded hitsplats are then ignored)
-