net.minestom.server.event.trait.PlayerInstanceEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minestom-snapshots Show documentation
Show all versions of minestom-snapshots Show documentation
1.20.4 Lightweight Minecraft server
package net.minestom.server.event.trait;
import net.minestom.server.entity.Player;
/**
* Represents an {@link PlayerEvent} which happen in {@link Player#getInstance()}.
* Useful if you need to listen to player events happening in its instance.
*
* Be aware that the player's instance must be non-null.
*/
public interface PlayerInstanceEvent extends PlayerEvent, EntityInstanceEvent {
}