Interface PlaySoundEvent.AtEntity

    • Method Detail

      • player

        java.util.Optional<ServerPlayer> player()
        Gets the player that this sound was played at, if the sound was played at a player.
        Returns:
        The player, if applicable.