listenInteract
Registers an interaction listener for newly created hitboxes.
This is a convenience wrapper over listenHitBox.
tracker.listenInteract(event -> {
// custom interaction handling
});
Content copied to clipboard
Since
2.0.2
Parameters
consumer
the interaction consumer